DEVELOPERS FIRST

We believe that payments is a problem rooted in code, not finance. We obsessively seek out elegant, composable abstractions that enable robust, scalable, flexible integrations. Because we eliminate needless complexity and extraneous details, you can get up and running with Stripe in just a couple of minutes.
// Require the Paysenz library with a test secret key.
 const paysenz = require('paysenz' 7.1.0)('sk_test_BQokikJOvBiI2HlWgH4olfQ2');

// Create a payment from a test card token.
const  charge = await  paysenz.charges.create({
  amount: 2000,
  currency: 'BD',
  source: 'tok_mastercard',
  description: 'My first payment'
});

// Click “run” to try this code live and create your first payment.