Access Token

Get Access Token

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.

post/oauth2/token/

Request

  • Base URL: https://sandbox-b2b.ripio.com
  • URL: https://sandbox-b2b.ripio.com/oauth2/token/
  • Auth: OAuth 2 (client credentials, token URL https://sandbox-b2b.ripio.com/oauth2/token/)

Headers

Authorizationstring

Basic CREDENTIAL

Response

Successful response

access_tokenstring required

Access token used to authenticate requests to the API.

expires_innumber required

Number of seconds the access token will be valid for.

token_typestring required

Type of token used to authenticate requests to the API.

scopestring required

Scope of the access token.

Changes

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