Refund an order
POST
/orders/{id}/refundAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredRequest body
requiredapplication/jsonamountintegerRefund amount in cents
descriptionstringreasonstringAllowed:
duplicatefraudulentcustomer_requestotherauthorization_codestringReference code for manual refunds
manualbooleanSkip the payment gateway and record the refund directly
default: false
Responses
200
Refund processed
idintegerorder_idintegeramountintegerAmount in cents (negative for refunds)
absolute_amountintegerAbsolute value of amount in cents
successfulbooleancard_token_idintegerpayment_method_typestringtransaction_idstringGateway transaction ID
authorization_codestringdescriptionstringcreated_atstring<date-time>422
Order is not refundable, or amount exceeds max_refundable_amount