production
development
https://sandboxapi.rakbank.ae/sb/api
Paths
/int_client_auth/token
post /int_client_auth/token
Request Access Tokens
This endpoint allows requesting an access token following the Client Credentials (there isnt resource owner information) flow below:
- Confidential clients should authenticate using HTTP Basic Authentication.
grant_type
Required in formData
string
Type of grant
{
"enum": [
"authorization_code",
"password",
"client_credentials",
"refresh_token"
]
}
client_id
Optional in formData
string
Application client ID, can be provided in formData or using HTTP Basic Authentication
client_secret
Optional in formData
string
Application secret, must be provided in formData or using HTTP Basic Authentication
scope
Required in formData
string
Scope being requested
Content-Type
Optional in header
string
application/x-www-form-urlencoded
Accept
Optional in header
string
application/json
200
json document containing token, etc.
400
json document that may contain additional details about the failure
Example Request
Example Response
POST https://sandboxapi.rakbank.ae/sb/api/v1/int_client_auth/token
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"type": "object",
"additionalProperties": false,
"required": [
"token_type",
"access_token",
"expires_in"
],
"properties": {
"token_type": {
"enum": [
"bearer"
]
},
"access_token": {
"type": "string"
},
"expires_in": {
"type": "integer"
},
"scope": {
"type": "string"
},
"refresh_token": {
"type": "string"
}
}
}