external-payments
Refund a successful payment, fully or partially
post/v1/payments/{refNo}/refund
Path parameters
refNostring required
Example:RP1757150000000A1B2
Request body
Example request
{
"amount": "10.00",
"reason": "Customer request"
}Response
Example response
{
"refNo": "RP1757150000000A1B2",
"clientReference": "INV-1001",
"gateway": "revpay",
"amount": "52.40",
"currency": "MYR",
"description": "Order #1001",
"refundedAmount": "0.00"
}Changes
Changed in 1 of the 4 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○