Request an access token

Retrieve an access token to authenticate your requests to Payrails' services.

The access token will be valid for a limited duration indicated by the expires_in field in the response.

You should store the token on your side until it expires, at which point you will need to obtain a new one by making a new request.