Refund a Payment [v3]
POST/api/v3/refund
Refund a successful payment transaction, either in full or partially. The refund is credited back to the customer using their original payment method. Refund requests are irreversible once submitted, so verify the amount carefully before calling this endpoint.
Quick Reference
- Required:
transaction_idorinvoice_id(provide either one);refund_amountfor partial refunds - Conditional:
comment,refund_request_id(idempotency),order_line_items(SKU-level refunds) - Returns: Refund transaction details with
transaction_type(full_refund or partial_refund) - Data Security: Encryption supported
Request
Responses
- 200
- 4XX
- 5XX
When the refund request is accepted for processing, the response will be as below
When the refund cannot be processed, the response will be as below
When there is a problem on the server, the response will be as below