Anular Orden de Pago
Changed onMétodo para anular una orden de pago en Kashio
delete/invoices/{invoice_id}
Request
- Base URLhttps://cert-api.kashio.net/v1/payments
- URLhttps://cert-api.kashio.net/v1/payments/invoices/{invoice_id}
- AuthHTTP basic
Path parameters
invoice_idstring required
ID de la orden de pago existente
Response
200
Example response
{
"amount": 2.01,
"created": "2022-12-30 20:01:13",
"currency": "PEN",
"id": "inv_cert_XXXXXXXXXXXXXX",
"invoice_id": "1672430473",
"ktin": "223645288917",
"metadata": {
"order_description": "Orden 1672430473",
"order_id": "1672430473",
"order_name": "Orden 1672430473"
},
"object": "invoice",
"request_datetime": "2022-12-30 20:01:13",
"status": "VOIDED",
"sub_total": 2.01,
"token": "YJHPyApWxUgLu5ozS3tRLA"
}Changes
- breaking
the
response's property format changed fromdate-timeto no format for status - breaking
the
response's property type changed fromstringtointegerfor status - breaking
the
response's property type changed fromstringtobooleanfor status - breaking
the
response's property type changed fromstringtonumberfor status - info
api operation id
delete_invoices{invoice_id}removed and replaced withanular-deuda - info
the
response's property default value0was added for the status - info
the
response's property default value0was added for the status - info
the
response's property default valuetruewas added for the status - info
the
response's property default value0was added for the status
- breaking