Make your first API request
To make your first request, send an authenticated request to the /charges endpoint. This will create a charge.
Create a charge.
POST
/charges
To create a charge, following information should be included in payload request
More details at Create a charge
Request Body
Name
Type
Description
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
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.
Last updated