node-beamcheckout
v1.0.3
Published
Package for Beam Checkout
Downloads
75
Maintainers
Readme
node-beamcheckout
Package for Beam Checkout
Installation
pnpm add node-beamcheckout
Example
import BeamCheckout from 'node-beamcheckout'
const beam = new BeamCheckout("[YOUR_MERCHANT_ID]", "[YOUR_API_KEY]")
const paymentInfo = await beam.createPayment({
order: {
netAmount: 100,
totalAmount: 100,
merchantReferenceId: 'ORDER-001'
},
redirectUrl: 'https://github.com/gusb3ll'
})
console.log(paymentInfo)