Features
Refunds
Tokenization
Recurring Payments
POST/v1/payments/{id}/adjust
Ajustes
Este endpoint permite hacer un ajuste decremantal o incremental de un pago. Se debe incluir un monto de forma obligatoria. El ajuste incremental solo es valido para pre-autorizaciones
URL Parameters
id
string
required
El id del pago sobre el que se quiere realizar la devolución
example
Request Body
2 parametersamount
objectMonto a devolver, incluyendo valor y moneda.
taxes
array[object]Impuestos opcionales asociados a la transacción
Request Preview
{
"amount": {},
"taxes": []
}Responses
200
200
{
"payment": {
"capture": {
"mode": "example_string"
},
"country": "example_string",
"currency": "example_string",
"current_amount": 123,
"entry_mode": "example_string",
"external_client_trace_id": "example_string",
"id": "example_string",
"initiator": "example_string",
"instrument": {
"bin": "example_string",
"id": "example_string",
"rail": {
"id": "example_string",
"product": "example_string"
},
"type": "example_string"
},
"intent": "example_string",
"merchant": {
"id": "example_string"
},
"order_type": "example_string",
"organization_id": "example_string",
"transaction": {
"amount": 123,
"detail": "example_string",
"id": "example_string",
"network_data": {
"approval_code": "example_string",
"banknet_reference_number": "example_string",
"financial_network_code": "example_string",
"response_code": "example_string",
"settlement_date": "example_string",
"system_trace_audit_number": "example_string",
"transmission_date_time": "example_string"
},
"status": "example_string",
"status_detail": "example_string",
"type": "example_string"
}
}
}