Add funds to your platform balance by charging a stored payment method.
Required permissions:
payment:chargeThe app API key from an app from the /dashboard/developer page
Parameters for CreateTopup
The amount to add to the balance.
6.9
The ID of the company to add funds to.
"biz_xxxxxxxxxxxxxx"
The currency of the top-up.
usd, sgd, inr, aud, brl, cad, dkk, eur, nok, gbp, sek, chf, hkd, huf, jpy, mxn, myr, pln, czk, nzd, aed, eth, ape, cop, ron, thb, bgn, idr, dop, php, try, krw, twd, vnd, pkr, clp, uyu, ars, zar, dzd, tnd, mad, kes, kwd, jod, all, xcd, amd, bsd, bhd, bob, bam, khr, crc, xof, egp, etb, gmd, ghs, gtq, gyd, ils, jmd, mop, mga, mur, mdl, mnt, nad, ngn, mkd, omr, pyg, pen, qar, rwf, sar, rsd, lkr, tzs, ttd, uzs, rub, btc, cny The ID of the payment method to charge for the top-up.
"pmt_xxxxxxxxxxxxxx"
A successful response
An object representing a receipt for a membership.
The payment ID
"pay_xxxxxxxxxxxxxx"
The current state of the payment.
draft, open, paid, pending, uncollectible, unresolved, void The datetime the payment was created
"2023-12-01T05:00:00.401Z"
The datetime the payment was paid
"2023-12-01T05:00:00.401Z"
The currency of the payment.
usd, sgd, inr, aud, brl, cad, dkk, eur, nok, gbp, sek, chf, hkd, huf, jpy, mxn, myr, pln, czk, nzd, aed, eth, ape, cop, ron, thb, bgn, idr, dop, php, try, krw, twd, vnd, pkr, clp, uyu, ars, zar, dzd, tnd, mad, kes, kwd, jod, all, xcd, amd, bsd, bhd, bob, bam, khr, crc, xof, egp, etb, gmd, ghs, gtq, gyd, ils, jmd, mop, mga, mur, mdl, mnt, nad, ngn, mkd, omr, pyg, pen, qar, rwf, sar, rsd, lkr, tzs, ttd, uzs, rub, btc, cny The total to show to the creator (excluding buyer fees).
6.9
The reason for the charge.
subscription_create, subscription_cycle, subscription_update, one_time, manual, subscription If the payment failed, the reason for the failure.