Get Access Token
OAuth 2.0 Implementation
Most modern programming languages and frameworks have native libraries for implementing an OAuth 2.0 API service.
Authorization Credentials
Authorization credentials can be created and downloaded from the Payer Portal. The credentials consist of a Client ID and Secret.
Parameters
| Parameter | Type | Description |
|---|---|---|
| grant_type | string | Defaults to client_credentials |
Example Request
curl -X POST -u "clientId:secret" \
-d "grant_type=client_credentials" \
--url https://test.api.interchecks.io/oauth2/token
Responses
| Status Code | Description |
|---|---|
| 200 | Result |
| 400 | Invalid Client ID or Secret |