{"repo":"stitchng/paystack","free":true,"listed":false,"github":"https://github.com/stitchng/paystack","clone":"git clone https://github.com/stitchng/paystack.git","description":"A NodeJS Wrapper for Paystack","language":"JavaScript","stars":26,"topics":["paystack","rest-api","api-endpoints","payments","nodejs"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Paystack [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] A NodeJS Wrapper for Paystack Overview This project provides an easy-to-use object-oriented API to access endpoints delineated at https://developers.paystack.co/reference Getting Started Install from the NPM Registry Usage Mocking the Instance (for Unit/Integration Tests) Setting up mocks for testing with the paystack instance is now as easy as fliping a switch like so: API Resources Each method expects an object literal with both route parameters and request parameters (query / body) . Please, go through the src/endpoints folder to see the specific items that should make up the object literal for each method - customers - paystack.createCustomer() - paystack.getCustomer() - paystack.listCustomer() - paystack.updateCustomer() - paystack.deactivateAuthOnCustomer() - paystack.setRiskActionOnCustomer() - disputes - paystack.listDisputes() - dedicated nuban - paystack.createDedicatedNuban() - paystack.listDedicatedNubans() - paystack.fetchDedicatedNuban() - paystack.deactivateDedicatedNuban() - invoices - paystack.createInvoice() - paystack.getMetricsForInvoices() - paystack.sendInvoiceNotification() - paystack.listInvoice() - paystack.updateInvoice() - paystack.verifyInvoice() - paystack.finalizeInvoiceDraft() - paystack.archiveInvoice() - paystack.markInvoiceAsPaid() - settlements - paystack.getSettlements() - payment sessions {control panel} - paystack.getPaymentSessionTimeout() - paystac","default_branch":null,"files":null,"tree":[],"storefront":"/r/stitchng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stitchng/paystack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}