Create topup
Add funds to a company's platform balance by charging a stored payment method. Top-ups have no fees or taxes and do not count as revenue.
Required permissions:
- payment:charge
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"amount": 6.9,
"currency": "usd",
"payment_method_id": "pmt_xxxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"created_at": "2023-12-01T05:00:00.401Z",
"currency": "usd",
"id": "pay_xxxxxxxxxxxxxx",
"paid_at": "2023-12-01T05:00:00.401Z",
"status": "draft",
"total": 6.9
}Changes
Changed in 2 of the 74 revisions of this API.12
- ▲
added the new required request property
new-required-request-property
- ●
removed the request property
request-property-removed
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
authorizedenum value to the////response property for the response statusresponse-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
Of the 74 revisions, 1 has no diff computed.