POST
/
oauth2
/
token
/
Acquire Access Token
curl --request POST \
  --url https://skala-sandbox.ripio.com/oauth2/token/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials
{
  "accessToken": "UfpqHJaQEjV27rR6itJyhUz5x6eOxz",
  "expiresIn": 36000,
  "tokenType": "Bearer",
  "scope": "read write"
}
Credentials must be requested in order to generate an Authentication token needed to use the Ramp API. Contact Ripio support to request the partner’s registration and obtain client_id and client_secret, which univocally identify you as a Ripio customer. It is the partner’s responsibility to secure these credentials.

Authorizations

Authorization
string
header
required

Use Basic Auth with base64 encoded client_id:client_secret.

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required

Must be 'client_credentials'

Available options:
client_credentials

Response

Access token granted successfully.

accessToken
string
required

The access token to be used for subsequent API calls.

Example:

"UfpqHJaQEjV27rR6itJyhUz5x6eOxz"

expiresIn
integer
required

The expiration time for the access token in seconds.

Example:

36000

tokenType
string
required

The type of token issued (always "Bearer" for this flow).

Example:

"Bearer"

scope
string

The scope of access granted by the token.

Example:

"read write"