Node.js Library
The SimulatePay Node.js library provides convenient access to the SimulatePay Sandbox API from applications written in server-side JavaScript.
Installation
npm install simulatepay-node
Usage
const simulatepay = require('simulatepay')('sk_test_...');
const payment = await simulatepay.collections.create({
amount: 2000,
currency: 'USD',
customer_email: 'dev@example.com'
});