Skip to main content
GET
https://staging-api.propaga.io/v1
/
customer-transaction
/
amount-to-pay
/
{referenceNumber}
curl 
--location 
--request GET 'https://staging-api.propaga.io/v1/customer-transaction/amount-to-pay/{referenceNumber}' \
--header 'Authorization: <your_awesome_token>'
--header 'Content-Type: application/json'
{
    "Referencia": "1234567890",
    "NombresCliente": "Jon Snow",
    "Direccion": "Dirección del negocio",
    "Deudas": [
        {
            "IDFactura": "a1933e65-1b36-4616-97a5-55041016f391",
            "Detalle": "Adeudo Propaga",
            "Valor": 120
        }
    ],
    "CodigoResultado": "00",
    "MensajeResultado": "Peticion exitosa"
}
curl 
--location 
--request GET 'https://staging-api.propaga.io/v1/customer-transaction/amount-to-pay/{referenceNumber}' \
--header 'Authorization: <your_awesome_token>'
--header 'Content-Type: application/json'
{
    "Referencia": "1234567890",
    "NombresCliente": "Jon Snow",
    "Direccion": "Dirección del negocio",
    "Deudas": [
        {
            "IDFactura": "a1933e65-1b36-4616-97a5-55041016f391",
            "Detalle": "Adeudo Propaga",
            "Valor": 120
        }
    ],
    "CodigoResultado": "00",
    "MensajeResultado": "Peticion exitosa"
}

Path parameters

referenceNumber
string
required

Error codes

Reference number not found (200)
{
    "CodigoResultado": "02",
    "MensajeResultado": "Referencia no existe"
}
User's has no debts (200)
{
    "CodigoResultado": "01",
    "MensajeResultado": "Cliente no tiene deuda"
}