{"id":21565849,"url":"https://github.com/prevailexcel/monnify-vue","last_synced_at":"2026-02-06T03:31:18.959Z","repository":{"id":244206595,"uuid":"814639401","full_name":"PrevailExcel/monnify-vue","owner":"PrevailExcel","description":"A Vue.js 3 plugin for easily collecting payments with Monnify","archived":false,"fork":false,"pushed_at":"2024-06-13T12:03:42.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-28T02:23:19.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrevailExcel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-13T12:01:38.000Z","updated_at":"2024-06-13T12:03:10.000Z","dependencies_parsed_at":"2024-06-13T12:27:27.292Z","dependency_job_id":"bca3be8e-86aa-40fe-9e9b-108183dfdfe0","html_url":"https://github.com/PrevailExcel/monnify-vue","commit_stats":null,"previous_names":["prevailexcel/monnify-vue"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PrevailExcel/monnify-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrevailExcel%2Fmonnify-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrevailExcel%2Fmonnify-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrevailExcel%2Fmonnify-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrevailExcel%2Fmonnify-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrevailExcel","download_url":"https://codeload.github.com/PrevailExcel/monnify-vue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrevailExcel%2Fmonnify-vue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29148115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T10:22:06.478Z","updated_at":"2026-02-06T03:31:18.942Z","avatar_url":"https://github.com/PrevailExcel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monnify VueJS SDK\n\u003e monnify-vue\n\n[![NPM](https://img.shields.io/npm/v/monnify-vue.svg)](https://www.npmjs.com/package/monnify-vue) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nThe Monnify VueJS SDK is a library that allows you to integrate a checkout functionality into your websites to enable your customers make payments on your platform. The Monnify Checkout widget provides customers with various payment method options such as;  Pay with Bank Transfer, USSD, Card and Phone Number.\n\n#### It has full TypeScript Support.\n\n## Install\n\n```bash\nnpm install --save monnify-vue\n```\n\n## Usage\n\n```vue\n\u003cscript setup\u003e\nimport useMonnify from 'monnify-vue';\n\n\nconst options = {\n  amount: 1000,\n  name: \"Prevail Ejimadu\",\n  email: \"prevailexcellent@gmail.com\",\n  apiKey: \"MK_TEST_**********\",\n  contractCode: \"4********2\", \n  description: \"Monify Vue\",\n  ref: new String((new Date()).getTime()) // optional - Generated by plugin if omitted\n  currency: \"NGN\"                         // optional - Generated by plugin if omitted\n  metadata: {                             // optional\n    \"name\": \"Prevail\",\n    \"type\": 30\n  },\n  incomeSplitConfig: [{                   // optional\n    \"subAccountCode\": \"MFY_SUB_342113621921\",\n    \"feePercentage\": 50,\n    \"splitAmount\": 1900,\n    \"feeBearer\": true\n  }, {\n    \"subAccountCode\": \"MFY_SUB_342113621922\",\n    \"feePercentage\": 50,\n    \"splitAmount\": 2100,\n    \"feeBearer\": true\n  }],\n  onLoadStart: () =\u003e {\n    console.log(\"loading has started\");\n  },\n  onLoadComplete: () =\u003e {\n    console.log(\"SDK is UP\");\n  },\n  onComplete: function (response) {\n    //Implement what happens when the transaction is completed.\n    console.log(response);\n  },\n  onClose: function (data) {\n    //Implement what should happen when the modal is closed here\n    console.log(data);\n  }\n}\n\nconst payWithMonnify = useMonnify(options)\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n\n    \u003cbutton @click=\"payWithMonnify\"\u003eMake Payment\u003c/button\u003e\n\n\u003c/template\u003e\n```\n\n## SAMPLE RESPONSE\n```js\n{\n    \"amount\": 100,\n    \"amountPaid\": 100,\n    \"completed\": true,\n    \"completedOn\": \"2022-03-31T10:53:50.000+0000\",\n    \"createdOn\": \"2022-03-31T10:52:09.000+0000\",\n    \"currencyCode\": \"NGN\",\n    \"customerEmail\": \"ogunnaike.damilare@gmail.com\",\n    \"customerName\": \"Damilare Ogunnaike\",\n    \"fee\": 10.75,\n    \"metaData\": {\n        \"deviceType\": \"mobile\",\n        \"ipAddress\": \"127.0.0.1\"\n    },\n    \"payableAmount\": 100,\n    \"paymentMethod\": \"CARD\",\n    \"paymentReference\": \"MNFY|PAYREF|GENERATED|1648723909057299503\",\n    \"paymentStatus\": \"PAID\",\n    \"transactionReference\": \"MNFY|67|20220331115209|000063\"\n}\n ```      \n## Contributing\n\nPlease feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.\n\n## Thank You\n\nWhy not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!\n\nDon't forget to [follow me on twitter](https://twitter.com/EjimaduPrevail)!\nAlso check out my page on medium to catch articles and tutorials on Laravel [follow me on medium](https://medium.com/@prevailexcellent)!\n\nThanks!\nChimeremeze Prevail Ejimadu.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprevailexcel%2Fmonnify-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprevailexcel%2Fmonnify-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprevailexcel%2Fmonnify-vue/lists"}