Skip to main content
Skip table of contents

Consulta de Saldo

Este servicio tiene como función permitir realizar una consulta de saldo con el Token de Seguridad obtenido anteriormente.

Ambiente

EndPoint

Método

Desarrollo

https://api.dev.alignet.io/onboarding/payfac/{id}/account/balance/monnet

GET

Producción

https://api.alignet.io/onboarding/payfac/{id}/account/balance/monnet

GET

Request Headers

Cabecera

Valor

Requerido

Content-Type

application/json

SI

Authorization

Bearer <Access_Token>

SI

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

Response

Esta solicitud responderá con una carga útil de respuesta similar, en la que el saldo vendrá dado por el elemento "total_balance".

JSON
{
  "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.