Fluxo CIBA

Recebe a solicitação de autenticação CIBA

API de responsabilidade da Transmissora de Dados (cliente), que deve implementá-la e disponibilizá-la para integração na plataforma.

A Celcoin utiliza este endpoint ao receber a solicitação de autenticação CIBA da Receptora de Dados (POST /bc-authorize), encaminhando o auth_req_id e os dados do consentimento para que a Transmissora notifique o usuário e prossiga com a jornada de aprovação.

post/internal-bc-authorize

Request

  • Base URL
    https://<TRANSMISSORA_HOST>
  • URL
    https://<TRANSMISSORA_HOST>/internal-bc-authorize
  • Auth
    HTTP bearer

Request body

auth_req_idstring required

Identificador da autenticação CIBA gerado no fluxo CIBA (auth_req_id).

Example request

{
  "auth_req_id": "<AUTH_REQ_ID>",
  "consent": {
    "consentId": "urn:bancoex:C1DD33123",
    "status": "AWAITING_AUTHORISATION",
    "creationDateTime": "2021-05-21T08:30:00.000Z",
    "statusUpdateDateTime": "2021-05-21T08:30:00.000Z",
    "expirationDateTime": "2021-05-21T08:30:00.000Z",
    "permissions": [
      "ACCOUNTS_READ",
      "ACCOUNTS_BALANCES_READ",
      "RESOURCES_READ"
    ],
    "loggedUser": {
      "name": "Joaquim Silva",
      "document": {
        "identification": "11111111111",
        "rel": "CPF"
      }
    },
    "businessEntity": {
      "document": {
        "identification": "11111111111111",
        "rel": "CNPJ"
      }
    },
    "kind": "DATA",
    "fapiInteractionId": "d78fc4e5-37ca-4da3-adf2-9b082bf92280",
    "dataHash": "<DATA_HASH>",
    "version": 3,
    "consentTermUnit": "M",
    "renewalHistory": [],
    "events": [
      {
        "date": "2021-05-21T08:30:00.000Z",
        "event": "AWAITING_AUTHORISATION"
      }
    ],
    "journey": [],
    "organizationName": "<ORGANIZATION_NAME>",
    "organizationLogo": "https://example.com/logo.svg"
  }
}

Response

Solicitação recebida com sucesso. Sem corpo na resposta.

Changes

No recorded changes to this operation across all 1 revision of this API.