The WapiPay API uses OAuth2.0 authentication, which requires the following details to obtain a bearer token. This token is necessary for all subsequent API requests.
Token Request
To request a token, you need to make a POST request with the following parameters:
Field | Description | Example Value | State |
---|---|---|---|
client_id | The client identifier | rahab | Mandatory |
client_secret | The client secret key | rahab | Mandatory |
grant_type | The type of grant being requested | client_credentials | Mandatory |
scope | The scope of the access request | <your_scope> | Optional |