Consultar Orden de Pago

Changed on

Método obtener información de una orden de pago en particular en Kashio

get/invoices/{invoice_id}

Request

  • Base URL
    https://cert-api.kashio.net/v1/payments
  • URL
    https://cert-api.kashio.net/v1/payments/invoices/{invoice_id}
  • Auth
    HTTP basic

Path parameters

invoice_idstring required

ID de la orden de pago existente

Response

200

amountnumber
createdstring
currencystring
due_datetimestring
expiration_datetimestring
feesinteger
gateway_urlstring
idstring
invoice_idstring
ktinstring
late_feeinteger
livemodeboolean
objectstring
psp_tinstring
statusstring
sub_totalnumber
tokenstring

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 response's property type changed from object to integer for status

    • breaking

      the response's property type changed from object to number for status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id consultar-orden-de-transferencia-1 removed and replaced with consultar-deuda

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the response's property default value 0 was added for the status

    • info

      the response's property default value 0 was added for the status