Node.js
Node 18+ · ESM & CJS · TypeScript types bundled
npm i @rubixpe/nodeimport { RubixPe } from '@rubixpe/node'
const rubix = new RubixPe(process.env.RUBIXPE_SECRET_KEY)
const payout = await rubix.payouts.create({
beneficiary: 'acc_9f2c41',
amount: 124500,
rail: 'IMPS',
}, { idempotencyKey: 'po_8812' })