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

{
    "statusCode": 201,
    "time": "2022-03-09T09:27:14.456Z",
    "data": {
    // Charge data come here
    },
    "total": 0
}

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