Authorization

Access Token

To make API calls, you will need an access token and a subscription key. 

The access key can be obtained by making an HTTPS POST call to the following URL:

https://fincb2cStage.b2clogin.com/fincb2cStage.onmicrosoft.com/oauth2/v2.0/token?p=B2C_1_sandboxROPC&username={username}&password={password}&grant_type=password&client_id=c84b828e-cd67-4115-a980-0584c98f1ac9&response_type=token id_token&scope=openid  c84b828e-cd67-4115-a980-0584c98f1ac9 offline_access

Pass your login ID [username] and password [password] in the query parameters.

This returns a JSON response with an access_token. Copy this token and paste it somewhere so that it is accessible when you're ready to begin making calls to the API.

Subscription Key

To obtain your subscription key, use the login ID and password from the email and sign into the FinClusive Development Portal.

Click your name on the top right and select Profile. This is where you'll find your subscription key.

Copy your Primary key and paste it with your access token. You'll need both of these handy when you begin making calls.

Making an API Call

An API is called by passing the subscription-key has a query parameter and Access token in a header.

Example:

To call an API visit

Query Parameter

Ocp-Apim-Subscription-Key=3107d05ca4e04a70873e15ddfeed3f0c

Header Parameter

Authorization:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ilg1ZVhrNHh5b2pORnVtMWtsMll0djhkbE5QNC1jNTdkTzZRR1RWQndhTmsifQ.eyJpc3MiOiJodHRwczovL2d1cnV0ZXN0b3JnLmIyY2xvZ2luLmNvbS82ZDYxZTQ0OC0zZTZiLTRmMTUtOTFkZS01ZWUxZjk5Y2NiMTQvdjIuMC8iLCJleHAiOjE1NjQ1MDE2OTUsIm5iZiI6MTU2NDQ5ODA5NSwiYXVkIjoiMzZjMjk1NWItMzZmOS00M2FlLTllMmEtN2MwZjE3ODg0MzE1IiwiaWRwIjoiTG9jYWxBY2NvdW50Iiwib2lkIjoiMzQ4OGE4MGQtNmYwZS00ZTYyLWEwMDMtMGEyMTQ3OTM3MjYyIiwic3ViIjoiMzQ4OGE4MGQtNmYwZS00ZTYyLWEwMDMtMGEyMTQ3OTM3MjYyIiwiZ2l2ZW5fbmFtZSI6Ikd1cnUiLCJuYW1lIjoiZ3VydWIx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