Authorization

Authorizing access to accounts with financial institutions

The Client application needs to request an access token to launch the EDGE Connect Widget

Note: EDGE Connect will issue separate API keys for each environment during onboarding.

To request an access token using a POST to: https//api.edgescore.com/api/v1/auth/tokens

Request

Header

NameDescriptionExampleRequired
x-api-keyA unique key issued during onboarding6rprzP8q6b7ulYcLsKz2Yes
Content-TypeThe type of the content. By default, application/json_application/jsonYes

Example

curl -X POST ' https://api.edgescore.com/api/v1/auth/tokens' \
-H 'x-api-key: 6rprzP8q6b7ulYcLsKz2...'
-H 'Content-Type: application/json' \

Response

  1. Access Token Issued - HTTP 200
  2. Access Denied - HTTP 401

Name

Description

Example

Type

access_token

A valid access token

eyJhbGciOiJIUzI1NiJ9

String

expires_in

The length of time in seconds that the access token is valid for. Default is one hour (3600).

3600

String

message

The details of failure

Invalid credentials

String

Example

{  
"access_token":  
"eyJhbGciOiJIUzI1NiJ9.eyJjbGllbnRfaWQiOiI1NWUwNmNjMmFhMzVjZWI1ZmE1OSIsImNvbnN1bWVyX2lk  
IjoiZGVtbzEyMzQifQ.lnICYcqNx3Ia5WqfifX_orvnyKW8vNjeltSnYRNvwGA",  
"expires_in": 3600  
}
{  
"access_token":  
"eyJhbGciOiJIUzI1NiJ9.eyJjbGllbnRfaWQiOiI1NWUwNmNjMmFhMzVjZWI1ZmE1OSIsImNvbnN1bWVyX2lk  
IjoiZGVtbzEyMzQifQ.lnICYcqNx3Ia5WqfifX_orvnyKW8vNjeltSnYRNvwGA",  
"expires_in": 3600  
}