POST /orders/{reference}/refunds
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderReferencestringRequiredExample:
The unique order reference that was provided when creating the order. This is your merchant-specific identifier for the order. Use this reference to identify which order to perform operations on (e.g., capture, void, refund, get status).
ORD-2024-001234Body
refundReferencestringRequiredExample:
A unique reference identifier for this refund request. This must be unique per merchant.
12345001223refundDescriptionstringRequiredExample:
A brief description or reason for the refund. This can be used to record why the refund was issued. This may be visible to the payment provider.
Customer requested return due to defective productResponses
200Success
application/json
400Error
application/json
401Error
application/json
404Error
application/json
post
/orders/{orderReference}/refundExample Request/Response
{
"refundReference": "TgEHcPtpN2HSrTMK-0",
"refundAmount": {
"amount": 100,
"currency": "AUD"
},
"refundDescription": "Please refund this order"
}Last updated