Get AccessToken to gain access to the Islamic Pay resources
Request
Body Params application/json
{
"grant_type": "client_credentials",
"client_id": "95f3cc16-8f8b-4141-b52f-7502bdde05bb",
"client_secret": "PhI5Ud84ITNlZxMSVyyqUaMSbEyjGWss4mYuUi9y",
"scope": "*"
}
Request Code Samples
curl --location --request POST '/oauth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"grant_type": "client_credentials",
"client_id": "95f3cc16-8f8b-4141-b52f-7502bdde05bb",
"client_secret": "PhI5Ud84ITNlZxMSVyyqUaMSbEyjGWss4mYuUi9y",
"scope": "*"
}'
Responses
application/json {
"token_type": "Bearer",
"expires_in": "49740",
"access_token": "eyJ0eXAiOiJKV1QiLCJhbG"
}
Modified at 2023-10-06 13:19:07