Banq Open API

TBD
Operations
auth

authentication

Getting an access token for your API
POST /oauth/token

You can execute a client credentials exchange to get an access token for Banq Open API.

Request body

application/json
Object
client_id
string required

Integrator Client ID

Min length: 1
client_secret
string required

Integrator Client Secret

Min length: 1
audience
string required

Provider API audience

Enumeration:
https://banq.com/open/api/
Min length: 1
grant_type
string required

Authentication type

Enumeration:
client_credentials
Example:
client_credentials
Examples

Banq open API Audience

{
  "client_id" : "cBb0bhWfeNjxBppXiQ5guVStV4aaOfDk",
  "client_secret" : "BNt13OFJTi_DM3lZrnUoXjtmQBtXSA5MwmazLhi0X99UOnagTcCOF0kaYzXqCepV",
  "audience" : "https://banq.com/open/api/",
  "grant_type" : "client_credentials"
}

Responses

200 200

OK

Body
application/json
Object
access_token
string required
Min length: 1
token_type
string required
Min length: 1
Examples

Access token generated

{
  "access_token" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik5URXhSRUZETmpkRFF6UkZRelZEUmtFM1JqUXlPVFl4TlRneE1VUXdNVGM0TlRjeE1UTTBPUSJ9.eyJpc3MiOiJodHRwczovL2Rldi03N3V0a2hicC5hdXRoMC5jb20vIiwic3ViIjoiY0JiMGJoV2ZlTmp4QnBwWGlRNWd1VlN0VjRhYU9mRGtAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vYmFucS5jb20vb3Blbi9hcGkvIiwiaWF0IjoxNjA3OTcwNjU0LCJleHAiOjE2MDgwNTcwNTQsImF6cCI6ImNCYjBiaFdmZU5qeEJwcFhpUTVndVZTdFY0YWFPZkRrIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.m4huWTyJFJFrYItxWD29HEiWpoBVK5kJGqspDIdX5Zl1Mkt8vixha55ANLK7F2od-K6z5y_bzM4A-y0XIb1cCaxnTI3BHly16e9b67wqoDHTRREloHeqeypS0Co7tyNusZuvsy5zn2tJVmqYOP-jMPb7IMvotvRQ2qD1f4BG1_g9ytI06K0belqirF5mXB3tmeoVV959Karll861gCaagJ5Hc5cN-n4GamkG-xkHtSP-D6TiH6nV2s_E_bsNNY9NW494Q-nAX5lMwKYkdeFa0k0VGjdp72Aj2v5kzBFXF3GGl7ovdSZ4dpA5h51Knzz0BauQsHbSoE58L0A1OMsqxQ",
  "token_type" : "Bearer"
}