Generate Access Token

This page will help you get started with Arbiter 2.0 Integration

Request Message description

Field #Field NameData typeMax LengthRequiredDescription
1grantTypestringyesThis is the type of grant available to the customer
2scopestringyesThe is the scope available to the customer

📘

End Point

POST [<https://sandbox.interswitchng.com/passport/oauth/token](https://sandbox.interswitchng.com/passport/oauth/token)

📘

Headers

Authorization: Basic aXN3LXBvcnRhbDpzZWNyZXQ=
Content-type: x-www-form-urlencoded

The "aXN3LXBvcnRhbDpzZWNyZXQ=" value is the base64encoded value of the customer's clientId and clientSecret.

Sample: base64encode of below:

IKIA72C65D005F93F30E573EFEAC04FA6DD9E4D344B1:YZMqZezsltpSPNb4+49PGeP7lYkzKn1a5SaVSyzKOiI=

Sample Request Body

📘

x-www-form-urlencoded

grant_type : client_credentials
scope : profile

Sample Response (success)

{
    "access_token": "eyJhbGciOiJSUzI1NiJ9.eyJkb21haW5fY29kZSI6IkFCUCIsImVudiI6IlRFU1QiLCJjbGllbnRfZGVzY3JpcHRpb24iOm51bGwsImNsaWVudF9pZCI6IklLSUFBN0M3QkE3M0Q0NkM0QjZEQTBFRTQxRjQyREQ3NkQxRDAwRkE5QTkxIiwiaW5zdGl0dXRpb25faWQiOiIyNCIsImF1ZCI6WyJhcGktZ2F0ZXdheSIsImFyYml0ZXIiLCJjYXJkbGVzcyIsImNhcmRsZXNzLXNlcnZpY2UiLCJpc3ctY29sbGVjdGlvbnMiLCJpc3ctY29yZSIsImlzdy1wYXltZW50Z2F0ZXdheSIsImlzdy10cmFuc2Zlci1zZXJ2aWNlLWNvcmUtbWljcm9zZXJ2aWNlIiwicGFzc3BvcnQiLCJwb3N0Y2FyZC1hcGkiLCJxdWlja3RlbGxlciIsInRyYW5zZmVyLXNlcnZpY2UtY29yZSIsInRyYW5zZmVyLXNlcnZpY2UtY29yZS1hZG1pbiIsInZhdWx0Iiwidm91Y2hlci1hcGkiXSwiY29yZV9pZCI6IjEwNyIsImNsaWVudF9hdXRob3JpemF0aW9uX2RvbWFpbiI6IkFCUCIsIn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J_TwupRJo6Ze9sLUT0qW1gNAgxMgrt0DhMk2qPGAKIZr61eB8fFAiodgoTlk5csQsHMxyYDbv32jSd7fL1Yetd_-gIu9tJ2CcT2NlM7XmAVOiJPAH32khNi1BVIJC2hVHoSHPpZBgNdn-7Cl9GDmADnAhZ7yrXh-Q-lfN8d_11DswzobpfgC-__IoFD8yuV7gIBkbWcVkFo7aMfXLDlkifPRr9yGauinnYDZlKhq3OAxT7Pq85BVmowWYnstecfzEUQWEiVRDjPQ3MOhUk_0wDarulv8d-KKdsXlknzVVP7yQXZJ596-p6OWNlOhMVWe6xmjPnw",
    "token_type": "bearer",
    "expires_in": 3599,
    "scope": "profile",
    "core_id": "107",
    "client_authorization_domain": "ABP",
    "domain_code": "ABP",
    "api_resources": [
        "rid-GET/api/v2/quickteller/billers/**",
        "rid-GET/api/v2/quickteller/billers",
        "rid-POST/cms/**",
        "rid-POST/transfers/inquiries/**",
        "rid-POST/transfers/accounts/**",
        "rid-POST/api/v1/transfers/security/**",
        "rid-POST/api/v1/transfers/institutions/fx/**",
        "rid-PUT/transfers/inquiries/update",
        "rid-PUT/api/v1/transfers/security/**",
        "rid-PUT/api/v1/transfers/institutions/fx/**",
        "rid-GET/transfers/credits/**",
        "rid-GET/transfers/settlements/**",
        "rid-GET/transfers/transaction/**",
        "rid-GET/api/v1/transfers/security/**",
        "rid-GET/api/v1/transfers/institutions/fx/**",
        "rid-DELETE/api/v1/transfers/security/**",
        "rid-POST/cardless-service/api/v3/**"
    ],
    "env": "TEST",
    "client_name": "MattTestingApp",
    "client_logo": null,
    "client_description": null,
    "institution_id": "24",
    "jti": "1395e761-7f5e-4078-94fc-95674698aaa1"
}