midtrans-sandbox

1.0.4 • Public • Published

Midtrans Sandbox

this package will help you simulate payment in midtrans sandbox api.

How to install

npm install midtrans-sandbox

How to use

const sandbox = require('midtrans-sandbox');

const inquiry = await sandbox.bni.inquiry('va_number') // replace with your va number

const result = await sandbox.bni.payment('va_number', 1000) // replace with your va number and total amount

Readme

Keywords

none

Package Sidebar

Install

npm i midtrans-sandbox

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

7.43 kB

Total Files

9

Last publish

Collaborators

  • subekti13