An API endpoint for issuing refunds on transactions.
Fields | Type | Is Required | Description |
---|---|---|---|
amount | int | Yes | Refund amount. |
client_reference_id | string | No |
Note: Amounts and fees are expressed in cents.
Code | Message |
---|---|
401 | |
403 | |
422 |
Status | Description |
---|---|
REFUND_PENDING | The initial status, indicating that the refund request has not yet been processed. |
REFUND_CAPTURE_ACH_PENDING | The refund has been processed and a debit ACH transaction has been initiated from the payee or processor (reverse of payout). |
REFUND_ACH_PENDING | The debit ACH transaction is complete and a credit ACH transaction has been initiated to the payer (reverse of the transaction). |
REFUND_COMPLETE | The refund process is complete and the payer has received the money. |
REFUND_FAILED | The refund has failed due to some reason. |