Refund a Payment
The Authorization needs to be in the following format:
Authorization: Token <YOUR_API_KEY>
Use this endpoint to refund a payment, either partially or in full.
Path Parameters
The unique identifier of the business.
The unique reference of the transaction to be refunded.
Body
The monetary value to be refunded.
10.5
Response
The unique identifier of the refund transaction.
17
The payment service provider for the transaction.
"tonder"
The country associated with the refund.
"N/A"
The currency code used for the transaction.
"MXN"
The timestamp when the refund was created.
"2024-06-28T08:15:24.600617-05:00"
The timestamp when the refund was last modified.
"2024-06-28T08:15:24.600654-05:00"
The date and time when the refund operation was performed.
"2024-06-28T13:15:23-05:00"
The reference identifier of the original transaction.
"16566015"
The response details of the refund operation.
The type of transaction (e.g., REFUND).
"REFUND"
The status of the transaction.
"Success"
The amount refunded.
"5.0000"
The reference identifier of the related transaction.
"16563893"
The reason for the refund, if provided.
null
Indicates if the transaction has been refunded.
null
Indicates if the transaction is disputed.
null
The number of payment attempts made for the transaction.
null
The previous payment method, if applicable.
null
Indicates if the card used is international.
false
The brand of the card used.
null
The number of installments for the transaction.
1
Details of the incoming request, if any.
null
Additional metadata associated with the transaction.
null
The intra-transaction rate for Tonder.
null
The inter-transaction rate for Tonder.
null
The transaction fee charged by Tonder.
null
Indicates if the fees have been computed.
false
The fee amount charged.
null
The net amount after fees.
null
The rolling reserve amount, if any.
null
Indicates if there is a balance transaction.
false
Details about the business associated with the transaction.
Details about the payment.
Details about the currency used.
The payment method used.
null
The issuing country of the payment method.
null