post https://api-approval.tingg.africa/v1/oauth/token/request
This function is used to retrieve an authentication token for all the requests done via the checkout API
Live Endpoint
Request Parameters
Key | Value Type | Required | Description |
---|---|---|---|
client_id | String | Yes | API client ID |
client_secret | String | Yes | API client secret. |
grant_type | String | Yes | The grant expected by the OAuth server. |
{
"client_id": "TINGGTEST1710234558655",
"client_secret": "FegTKoV66FfQFVmbM0k0TODFYS7eLYB4RhVdLoKbI",
"grant_type": "client_credentials"
}