Banco API

Crea un banco pagador para un cliente. Los campos a validar se obtienen dinamicamente desde el config_form.

Crear un banco pagador

POST /hooks/clients/:client_id/banks

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Authorization-Client: Bearer <jwt-token>
Host: example.org
Cookie: 

Route

POST /hooks/clients/100/banks

Body

{"account_number":"0099090900990","account_type":"Ahorro","alias":"test","cbu_cvu":"test","country":"ARG","currency":"ars","mail":"test@gmail.com","name":"Santander","number_of_document":"99999999","type_of_document":"DNI"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"4aa1888143354f92e36df920dbe2fda2"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7f576a60-8a57-4658-a273-6e347eee4174
X-Runtime: 0.068465
Vary: Origin
Content-Length: 687

Status

200 OK

Body

{
  "data": {
    "id": 5,
    "json_data": [
      {
        "name_of_param": "country",
        "value": "Argentina",
        "label": "Pais"
      },
      {
        "name_of_param": "currency",
        "value": "ars",
        "label": "Moneda"
      },
      {
        "name_of_param": "name",
        "value": "Santander",
        "label": "Nombre entidad bancaria"
      },
      {
        "name_of_param": "account_type",
        "value": "Ahorro",
        "label": "Tipo de cuenta"
      },
      {
        "name_of_param": "type_of_document",
        "value": "DNI",
        "label": "Tipo de documento"
      },
      {
        "name_of_param": "number_of_document",
        "value": "99999999",
        "label": "Identificacion"
      },
      {
        "name_of_param": "account_number",
        "value": "0099090900990",
        "label": "Numero de cuenta"
      },
      {
        "name_of_param": "mail",
        "value": "test@gmail.com",
        "label": "Mail asociado"
      },
      {
        "name_of_param": "alias",
        "value": "test",
        "label": "Alias"
      }
    ]
  }
}