Refunds
Create refund
Create Refund
Sometimes, things don’t go right, and a payment is in error. If the conditions are met, you can request a refund.
Endpoint
{{baseurl}}/refund
This is a POST request and takes a number of parameters:
Field | Data Type | Description |
---|---|---|
reference | String | Required. Unique identifier associated with the transaction in question. |
amount | Number | The total amount of money involved in the transaction. |
note | String | Optional note you can add. |
This is what your request should look like:
{
"reference": "string",
"amount": 0,
"note": "string"
}