post https://api.payline.co/api/token/exchange
Exchanges client credentials for an authentication token used in subsequent API requests.
The Token Exchange endpoint is crucial for securing and initiating your interaction with our API. This process involves exchanging your api-key for a short-lived authentication token.
Response
| key | type | description | 
|---|---|---|
| access_token | string | The authentication token you will use for subsequent API requests | 
| expires_in | string | The duration (in seconds) for which the token is valid. | 
| scope | string | The scope of the token | 
| token_type | number | The token type |