Skip to main content
Skip table of contents

Balance Inquiry

The function of this service is to allow a balance inquiry with the previously obtained Security Token.

Request Headers

Cabecera

Valor

Requerido

Content-Type

application/json

SI

Authorization

Bearer <Access_Token>

SI

CODE
"Content-Type":"application/json",
"Authorization":"Bearer yJhbGciOiJSUzI1NsInR5cCI6IkpXVCIsImt………",

Response

This request will respond with a similar response payload, where the balance will be given by the "total_balance" element.

CODE
{
  "action": "pay_out_balance",
  "balance": [
    {
      "bank_name": "Banco Continental",
      "commerce_id": "12",
      "commerce_name": "Comercio de Prueba",
      "country": "PE",
      "currency": "PEN",
      "total_balance": 1000000000,
      "total_expenditure_amount": 500000000,
      "total_income_amount": 500000000
    }
  ],
  "meta": {
    "metrics": {
      "aggregate": {
        "start": "1614875661264",
        "end": "1614875672681",
        "duration": {
          "milliseconds": "1000",
          "seconds": "1"
        }
      }
    },
    "status": {
      "code": "00",
      "message": "OK",
      "message_ilgn": [
        {
          "locale": "es_PE",
          "value": "Se encontro balance"
        }
      ]
    }
  }
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.