Request an Access Token

Retrieve an access token to authenticate your requests to PayOS services. The access token will be valid for a limited duration indicated by the expiresIn field in the response. Store the token until it expires, then request a new one.

Request

This endpoint expects an object.
clientIdstringRequired
clientSecretstringRequired

Response

OK - A successful access token response.

accessTokenstring or null
The access token to be used for authentication.
tokenTypestring or null
The type of the token issued.
expiresIninteger or null
The duration in seconds for which the token is valid.

Errors