Authentication data_types

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:

FieldDescriptionExample ValueState
client_idThe client identifierrahabMandatory
client_secretThe client secret keyrahabMandatory
grant_typeThe type of grant being requestedclient_credentialsMandatory
scopeThe scope of the access request<your_scope>Optional