Make your first API request
To make your first request, send an authenticated request to the /charges endpoint. This will create a charge.
Last updated
To make your first request, send an authenticated request to the /charges endpoint. This will create a charge.
Last updated
POST
/charges
To create a charge, following information should be included in payload request
More details at Create a charge
Name | Type | Description |
---|---|---|
For testing purpose, after create a charge, you can still cancel the charge by using Cancel a charge API. Prefer full API documents in the next sections.
name*
string
Name of the charge
description
string
Description of the charge
logoUrl
string
Charge image URL
metadata
string
Metadata associated with the charge
localPrice*
object
amount: Charge amount, currency: Charge local currency
redirectUrl*
string
Redirect URL when charge payment is completed
cancelUrl*
string
Cancel URL