CreateRefundRequest
orderIdstringrequired
Order ID to refund. By default treated as externalOrderId.
Use /refunds/internal endpoint to use internal orderId.
Example:
MY-ORDER-123amountnumber
Refund amount in dollars (optional, defaults to full amount)
Possible values: >= 0.01
Example:
50reasonstringrequired
Reason for the refund (required)
Possible values: non-empty
Example:
Customer requested refundnotesstring
Additional notes for the refund
CreateRefundRequest
{
"orderId": "MY-ORDER-123",
"amount": 50,
"reason": "Customer requested refund",
"notes": "string"
}