{"repo":"aalfiann/midtrans-payment","free":true,"listed":false,"github":"https://github.com/aalfiann/midtrans-payment","clone":"git clone https://github.com/aalfiann/midtrans-payment.git","description":"Midtrans Payment Gateway library for NodeJS","language":"JavaScript","stars":11,"topics":["midtrans","payment","payment-gateway","midtrans-nodejs"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"midtrans-payment Midtrans Payment Gateway library for NodeJS Features - Async/Await and Promise Support - Typescript Support - Built-in method - Easy to Customize Install using NPM Usage This library was created refer to MidTrans technical documentation version 3.48.0. Please see: - SNAP Docs - API Docs Set Config SNAP Example to create Transactions API Example to create API Charge Bank Transfer with Bank Permata Promise Async Await Example Get Credit Card Token Example to create API Charge Credit Card Example to get Transaction Status Example to get Transaction Status B2B Example to get Transaction Status B2B with pagination Example to APPROVE Transaction Example to DENY Transaction Example to CANCEL Transaction Example to EXPIRE Transaction Example to REFUND Transaction Example to REFUND DIRECT Transaction Example to Capture Transactions Example to Card Register Example to Point Inquiry Example to BIN API Example create body request manually If our methods doesn't fit in your situation. You're able to build your custom body request. RECURRING API Example to Create Subscriptions Example to Find Subscriptions Example to Enable Subscriptions Example to Disable Subscriptions Example to Update Subscriptions Example create body request for subscriptions manually Response We use unirest library for handling call API to MidTrans. Available methods If you want to know all available methods in this MidTrans Payment library Main methods - type(name) this is to set SNAP or API - do(nam","default_branch":null,"files":null,"tree":[],"storefront":"/r/aalfiann","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aalfiann/midtrans-payment/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."}