Skip to main content
POST
Get an access token

API conventions

Authentication, amounts, pagination, errors and webhook signatures.

Body

application/json
clientId
string
required
Example:

"ck_7hq2m4"

clientSecret
string
required
Example:

"s3cr3t"

Response

Token emitido

accessToken
string
required

JWT a enviar em Authorization: Bearer.

tokenType
enum<string>
required
Available options:
Bearer
expiresIn
integer
required

Validade do token, em segundos.

Example:

3600