Crear Orden de Pago
Changed onMétodo para crear una orden de pago en Kashio
Request
- Base URLhttps://cert-api.kashio.net/v1/payments
- URLhttps://cert-api.kashio.net/v1/payments/invoices
- AuthHTTP basic
Request body
Response
Created
Example response
{
"amount": 2.01,
"created": "2022-12-29T19:50:42",
"currency": "PEN",
"customer": {
"document_id": "1672343443",
"document_type": "DNI",
"email": "carlosvw@homatil.com",
"external_id": "1672343443",
"name": "Carlos VW",
"phone": "+517776666"
},
"due_datetime": "2023-01-13T19:50:42",
"expiration_datetime": "2023-01-28T19:50:42",
"gateway_url": "https://cert-gateway.kashio.net/e/index.html?token=5vax5Bbxnia7P7AbucbQ5L",
"id": "inv_cert_XXXXXXXXXXXXXX",
"invoice_id": "1672343443",
"ktin": "223635282267",
"metadata": {
"order_description": "Orden 1672343443",
"order_id": "1672343443",
"order_name": "Orden 1672343443"
},
"object": "invoice",
"psp_tin": "223635282267",
"status": "NEW",
"sub_total": 2.01,
"token": "5vax5Bbxnia7P7AbucbQ5L"
}Changes
- breaking
the
/request property type changed fromstringtoobject - 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 fromstringtobooleanfor status - breaking
the
response's property type changed fromstringtonumberfor status - info
api operation id
post_invoicesremoved and replaced withcrear-deuda1 - info
the endpoint scheme security
BasicAuthwas removed from the API - 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