Skip to main content
GET /account/auth/token/:environment/:channel/:inquiryId

Access token

Returns a new access token. The access token validity is time-limited. Each account access consent flow is coupled with an access token - therefore the account access consent flow is also time-limited (i.e. must be finished or cancelled in the given time frame).

Path Parameters
    environment Environment required

    Possible values: [production, sandbox]

    API key/secret and environment must match.

    channel AccountChannel required

    Possible values: [api, sdk]

    Channel for account access flow - api/sdk.

    inquiryId ConsentInquiryId required

    Account consent inquiry definition id

Header Parameters
    Api-Key string required

    API key for given environment

    Api-Secret string required

    API secret for given environment

Responses

Access token with scope and expiration time


Schema
    accessToken string

    generated access token to access API

    expires date-time

    RFC 3339 date time format (2007-11-06T16:34:41.000Z)

    expiresIn integer

    number of seconds when token session expires

    scope TenantService[]

    Possible values: [account_owner, account_info, account_transactions, payments, risk_scoring]

    Set of token access privileges

Loading...