{"id":39745044,"url":"https://github.com/sailscastshq/machinepack-paystack","last_synced_at":"2026-01-18T11:19:34.331Z","repository":{"id":51105294,"uuid":"333593115","full_name":"sailscastshq/machinepack-paystack","owner":"sailscastshq","description":"Communicate with the Paystack API to initialize transactions, create plans, etc.","archived":false,"fork":false,"pushed_at":"2022-01-18T15:23:51.000Z","size":514,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-24T14:51:48.953Z","etag":null,"topics":["credit-card","machinepack","machines","payment-integration","payment-processing","paystack","paystack-api","paystack-library"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/machinepack-paystack","language":"JavaScript","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/sailscastshq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-27T23:54:46.000Z","updated_at":"2023-06-16T17:52:15.000Z","dependencies_parsed_at":"2022-08-30T09:30:22.402Z","dependency_job_id":null,"html_url":"https://github.com/sailscastshq/machinepack-paystack","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/sailscastshq/machinepack-paystack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sailscastshq%2Fmachinepack-paystack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sailscastshq%2Fmachinepack-paystack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sailscastshq%2Fmachinepack-paystack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sailscastshq%2Fmachinepack-paystack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sailscastshq","download_url":"https://codeload.github.com/sailscastshq/machinepack-paystack/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sailscastshq%2Fmachinepack-paystack/sbom","scorecard":{"id":795663,"data":{"date":"2025-08-11","repo":{"name":"github.com/sailscastshq/machinepack-paystack","commit":"3bc67e77072046e39a83ae38d0585aeb641c5d9c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sailscastshq/machinepack-paystack/node.js.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/sailscastshq/machinepack-paystack/node.js.yml/develop?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"28 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T08:52:51.498Z","repository_id":51105294,"created_at":"2025-08-23T08:52:51.498Z","updated_at":"2025-08-23T08:52:51.498Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["credit-card","machinepack","machines","payment-integration","payment-processing","paystack","paystack-api","paystack-library"],"created_at":"2026-01-18T11:19:30.154Z","updated_at":"2026-01-18T11:19:34.324Z","avatar_url":"https://github.com/sailscastshq.png","language":"JavaScript","readme":"\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\u003ch1\u003e\n  \u003ca href=\"http://node-machine.org\" title=\"Node-Machine public registry\"\u003e\u003cimg alt=\"node-machine logo\" title=\"Node-Machine Project\" src=\"http://node-machine.org/images/machine-anthropomorph-for-white-bg.png\" width=\"50\" /\u003e\u003c/a\u003e\n  machinepack-paystack\n\u003c/h1\u003e\n\nThis machinepack contains 113 machines. What this means is that with this machine you can communicate with `113` Paystack endpoints\n\nCommunicate with the Paystack API to initialize transaction, create plans, etc.\n## Installation\n```sh\n$ npm install machinepack-paystack --save\n```\n\n## Usage\n\n```js\n// Initialize a transaction on your Paystack integration\nconst Paystack = require('machinepack-paystack')\n Paystack.initializeTransaction({\n      apiKey: process.env.PAYSTACK_API_KEY,\n      email: 'customer@email.com',\n      amount: '20000'\n    }).exec(function (error, intializedTransaction) {\n     console.log(initializedTransaction)\n    })\n```\n`machinepack-paystack` expects your Paystack secret for convenience to be in your environment as `PAYSTACK_API_KEY` so the above can be written as:\n\n```js\n// Initialize a transaction on your Paystack integration\nconst Paystack = require('machinepack-paystack')\n Paystack.initializeTransaction({\n      email: 'customer@email.com',\n      amount: '20000'\n    }).exec(function (error, intializedTransaction) {\n     console.log(initializedTransaction)\n    })\n```\n## Test\n\nTo run the test in this machine, rename `env.example` to `.env` then replace the content with your Paystack test API Key\nNow run test simpley with:\n\n```sh\nnpm test\n```\n\nAlternatively you can run tests by\n\n```sh\nPAYSTACK_API_KEY_FOR_TESTS=YOUR_PAYSTACK_TEST_API_KEY npm test\n```\n\n## Machines\n\n * add-evidence\n * add-products\n * add-split-subaccount\n * archive-invoice\n * bulk-create-transfer-recipient\n * charge\n * charge-authorization\n * check-authorization\n * check-balance\n * check-pending-charge\n * check-slug-availability\n * create-customer\n * create-dedicated-accounts\n * create-invoice\n * create-page\n * create-plan\n * create-product\n * create-refund\n * create-split\n * create-subaccount\n * create-subscription\n * create-transfer-recipient\n * deactivate-authorization\n * deactivate-dedicated-account\n * delete-transfer-recipient\n * disable-subscription\n * disable-transfers-otp\n * enable-subscription\n * enable-transfers-otp\n * export-disputes\n * export-transactions\n * fetch-balance-ledger\n * fetch-bulk-charge-batch\n * fetch-charges-in-a-batch\n * fetch-customer\n * fetch-dedicated-account\n * fetch-dispute\n * fetch-page\n * fetch-payment-session-timeout\n * fetch-plan\n * fetch-product\n * fetch-refund\n * fetch-settlement-transactions\n * fetch-settlements\n * fetch-split\n * fetch-subaccount\n * fetch-subscription\n * fetch-transaction\n * fetch-transfer-recipient\n * finalize-disable-otp\n * finalize-invoice\n * finalize-transfer\n * get-upload-url\n * initialize-transaction\n * initiate-bulk-charge\n * initiate-bulk-transfer\n * initiate-transfer\n * invoice-total\n * list-banks\n * list-bulk-charge-batches\n * list-countries\n * list-customers\n * list-dedicated-accounts\n * list-disputes\n * list-invoices\n * list-pages\n * list-plans\n * list-products\n * list-providers\n * list-refunds\n * list-splits\n * list-states\n * list-subaccounts\n * list-subscriptions\n * list-transaction-disputes\n * list-transactions\n * list-transfer-recipients\n * list-transfers\n * partial-debit\n * pause-bulk-charge-batch\n * remove-subaccount-from-split\n * resend-transfers-otp\n * resolve-a-dispute\n * resolve-account-number\n * resolve-bvn-premium\n * resolve-bvn-standard\n * resolve-card-bin\n * resume-bulk-charge-batch\n * send-notification\n * submit-address\n * submit-birthday\n * submit-otp\n * submit-phone\n * submit-pin\n * transaction-totals\n * update-customer\n * update-dispute\n * update-invoice\n * update-page\n * update-payment-session-timeout\n * update-plan\n * update-product\n * update-split\n * update-subaccount\n * update-transfer-recipient\n * validate-customer\n * verify-bvn-match\n * verify-invoice\n * verify-transaction\n * verify-transfer\n * view-invoice\n * view-transaction-timeline\n * whitelist-or-blacklist-customer\n\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://dominuskelvin.dev\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/24433274?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eOmereshone Kelvin\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-DominusKelvin\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/sailscastshq/machinepack-paystack/commits?author=DominusKelvin\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/sailscastshq/machinepack-paystack/commits?author=DominusKelvin\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://haastrupea.me\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/41439020?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ehaastrup elijah\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/sailscastshq/machinepack-paystack/commits?author=haastrupea\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/sailscastshq/machinepack-paystack/commits?author=haastrupea\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsailscastshq%2Fmachinepack-paystack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsailscastshq%2Fmachinepack-paystack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsailscastshq%2Fmachinepack-paystack/lists"}