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.

accessTokenstringOptional

The access token to be used for authentication.

tokenTypestringOptional

The type of the token issued.

expiresInintegerOptional

The duration in seconds for which the token is valid.

Errors