Refunds
Create refund
Create a full refund for a payment. Partial refunds are not supported.
post/refunds
Request
- Base URLhttps://public-api.alternativepayments.io
- URLhttps://public-api.alternativepayments.io/refunds
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: refunds:write
Request body
Example request
{
"amount": "50.00",
"idempotency_key": "00000000-0000-0000-0000-000000000000",
"payment_id": "00000000-0000-0000-0000-000000000000",
"reason": {
"description": "Please specify the reason in more detail. Min 40 characters."
}
}Response
Refund is being processed!
string required
Changes
No recorded changes to this operation across all 7 revisions of this API.