Skip to main content

Create a new Refund

POST - https://url.base/api/reverse/new
Endpoint for requesting a payment refund, the request must be constructed with the following parameters.

*Required fields


FieldTypeDescription
*referenceStringTransaction reference number​
*clientDocumentStringClient DNI​​
*amountnumberTransaction amount​​
*signStringThe signature of the parameters is unique for each transaction​​
*urlCallbackRefundstringIt is the URL where we will notify via webhook the final status of the refund
info

Only successful payments can be refunded.

Example Response Success

{
"status"= [string] // 'success'
}

Example Response failed

{
"error"= [string] // 'incorrect amount to refund'
"error"= [string] // 'incorrect document'
"error"= [string] // 'payment not found'
}