Refund
POST /api/v1/refundsHeaders
Section titled “Headers”Authorization: Bearer <merchant_private_key>Content-Type: application/jsonRequest body
Section titled “Request body”| Parameter | Type | Required | Description |
|---|---|---|---|
token |
string | Yes | Original payment token |
amount |
integer | No | Refund amount in minor currency units |
When amount is absent, the refund uses the available amount of the original payment.
Related operation
Section titled “Related operation”The related payment is retrieved by token:
GET /api/v1/payments/{token}