Preâmbulo Bank Conta Digital
  1. Auth
Preâmbulo Bank Conta Digital
  • Ativação
    • /gateway/integrations
      POST
    • /gateway/integrations/settings
      POST
    • /gateway/integrations/secure-key
      POST
  • Auth
    • /gateway/auth
      POST
  • Conta
    • /gateway/accounts/balance
      GET
    • /gateway/accounts/balance-withdrawal
      POST
  • Subconta
    • /gateway/sub-accounts
      POST
    • /gateway/sub-accounts/{id}
      PUT
  • Cobrança
    • Webhook
    • /gateway/bolepix
      POST
    • /gateway/bolepix
      GET
    • /gateway/bolepix/{id}
      GET
    • /gateway/bolepix/{id}/cancel
      POST
  • Pix
    • Webhook
    • /gateway/pix/transfers
      POST
    • /gateway/pix/qr-codes/dynamic
      POST
  • Transações
    • /gateway/transactions/export
      GET
  1. Auth

/gateway/auth

Prod Env
https://api.contadigital.preambulobank.com.br
Prod Env
https://api.contadigital.preambulobank.com.br
POST
https://api.contadigital.preambulobank.com.br
/gateway/auth
Gateway

Requisição

Parâmetros Bodyapplication/json
client_id
string 
requerido
client_secret
string 
requerido
grant_type
string 
requerido
Exemplo
{
    "client_id": "string",
    "client_secret": "string",
    "grant_type": "client_credentials"
}

Exemplos de Requisição

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.contadigital.preambulobank.com.br/gateway/auth' \
--header 'Content-Type: application/json' \
--data-raw '{
    "client_id": "string",
    "client_secret": "string",
    "grant_type": "client_credentials"
}'

Respostas

🟢200OK
application/json
Body
retorno
object  | null 
opcional
accessToken
string 
opcional
Token de autorização.
expiresAt
string <date-time>
opcional
Data e hora de expiração do token de autorização.
alertas
array [object {2}] 
opcional
mensagem
string  | null 
opcional
tipo
enum<integer> <int32>
opcional
Valores permitidos:
123456789
erros
array [object {4}] 
opcional
mensagem
string  | null 
opcional
tipo
enum<integer> <int32>
opcional
Valores permitidos:
123456789
campoNome
string  | null 
opcional
elemento
string  | null 
opcional
Exemplo
{
    "retorno": {
        "accessToken": "serg4ciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IwMDkwIiwianRpIjoiYjhiMTQ5NGItZTE4OC00YzE3LTk5NWMtYjc4YmExZDNiZjg4IiwiYWNjZXNzX3Rva2VuIjoiOUJZTWhLQTZoVXhTUDE5QXU4T0Yza1JjZW9BTHM1YWhqYkdEOWJnUVp1RmlWQ1ZheVZqdmJSYlFGVUFrR0M2OE4xWVpMV3dpSGFIeXVuMHoiLCJwZXJmaWxfaWQiOiJlYzAzNWRjMy1lZjdmLTQ1NTQtYmE3ZS03NYiLCJlc2NvcG8iOiJHQVRFV0FZIiwibmJmIjoxNzE3OTc4OTU0LCJleHAiOjE3MTc5ODI1NTQsImlhdCI6MTcxNzk3ODk1NH0.HuUi_zd4hydcw75zfxV1pb8EFRuVvcfhjUwEO234j3U",
        "expiresAt": "2024-06-05T18:00:00.00000-03:00"
    },
    "alertas": [],
    "erros": []
}
🟠401Unauthorized
Página anterior
/gateway/integrations/secure-key
Próxima página
/gateway/accounts/balance
Built with