Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client_id
and client_secret
) that will allow to negotiate an ephemeral access token.
To generate the access token, you should call this endpoint providing the header Authorization
with the following schema: Basic CREDENTIAL
where CREDENTIAL
should be specified as a string with the formatclient_id:client_secret
encoded in Base64.
B2B’s White Label API uses OAuth2. Currently there is only one supported authentication flow:
Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client id and client secret) that will be needed to generate a credential in order to negotiate an ephemeral access token.
Every request must be accompianed by an Authorization
header with a value that follows the following schema: Bearer ACCESS_TOKEN
Basic CREDENTIAL
Successful response