Actualizar Orden de Pago
Changed onMétodo para actualizar una orden de pago en Kashio
Request
- Base URLhttps://cert-api.kashio.net/v1/payments
- URLhttps://cert-api.kashio.net/v1/payments/invoices/{invoice_id}
- AuthHTTP basic
Path parameters
ID Kashio de la orden de pago existente
Request body
Response
200
Example response
{
"amount": 2.03,
"created": "2022-12-30T16:58:35",
"currency": "PEN",
"customer": {
"document_id": "1672419515",
"document_type": "DNI",
"email": "carlosvw03@homatil.com",
"name": "Carlos VW 03",
"phone": "+517776666"
},
"due_datetime": "2023-01-14T16:58:35",
"expiration_datetime": "2023-01-29T16:58:35",
"gateway_url": "https://cert-gateway.kashio.net/e/index.html?token=Dzk8mU4X9JxWjAAH6g4jHf",
"id": "inv_cert_XXXXXXXXXXXXXX",
"invoice_id": "1634681942",
"ktin": "223645286988",
"metadata": {
"order_description": "Orden 1672419515",
"order_id": "1672419515",
"order_name": "Orden 1672419515"
},
"object": "invoice",
"psp_tin": "223645286988",
"status": "NEW",
"sub_total": 2.03,
"token": "Dzk8mU4X9JxWjAAH6g4jHf"
}Changes
- breaking
the
request property type changed fromstringtonumber, and format from no format todouble - breaking
the
/request property type changed fromstringtoobject - breaking
the
request property format changed from no format todate-time - breaking
the
request property format changed from no format todate-time - breaking
the
request property type changed fromstringtonumber, and format from no format todouble - breaking
the
request property type changed fromstringtonumber, and format from no format todouble - breaking
the
response's property type changed fromstringtonumberfor status - breaking
the
response's property type changed fromstringtointegerfor 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 fromstringtointegerfor status - breaking
the
response's property type changed fromstringtonumberfor status - warning
removed the request property
- info
api operation id
get_invoices{invoice_id}removed and replaced withactualizar-deuda - info
added the new optional request property
- info
added the new
enum value to the request property/ - 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 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 - info
the
response's property default value0was added for the status
- breaking