Token

POST

Token


Returns the access token that needs be presented for Account Access and Payment Submission API calls. This call is the first request for client_credentials AT. It is also used to obtain an Auth Code AT following a call to GET /authorize which returns an Authorization Code after successful two-factor authentication.


https://tapi.arabbank.com/sandbox/oauth/v1 /token

  • Name
    Value
    Description
  • Authorization
    Base 64 encoded string with client_id:client_secret.

Body Parameters


Name Values Description
client_id

Client ID of the registered App - for non-authenticated requests and Optional for client-assertion requests

redirect_uri
(required)

Redirect URI defined with your registered App. This is verified against the callback URL that is registered when the App is created. If found to be different this call fails to return the access token.

grant_type
(required)

'authorization_code' or 'client_credentials'.

code

Code returned from the authorize call. Applicable only on grant_type = authorization_code and the value is fetched from /authorize API after authorization and consent

scope

The scope is used for grant_type 'client_credentials'

client_assertion_type

Required for client_assertion based authentication. The value MUST be 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer'

client_assertion

Authentication JWT token containing clientId as iss and signed using the private key of the TPP.

Request Body

Generates Access Token to initiate payments and account access methods.

Basic Auth

OAuth 2.0

Custom Token

Reset

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security


 
 
This is the place where EventTypes description lies.

Sample Error Messages & Error Codes.

This is where error messages sample and description lies.
This is the place where HTTP Status Codes.

Working...