Finqware API
  • Quick start
  • Overview
    • Skills
    • Servicers
    • Tenants
    • Security model
      • Tenant-level elements
      • User-level elements
  • Dev guide
    • Intro
    • User onboarding
      • Detailed flow
    • Consuming data
      • About caching
    • Designing a tenant app
      • The back-end
      • The front-end
    • Signing API requests
      • RS256 infrastructure
      • Computing the digest
      • Signing HTTP requests
  • API
    • Sessions
    • Tokens
    • Accounts
    • Balances
    • Transactions
    • Payments
    • Consents
    • Catalogs
    • Errors
Powered by GitBook
On this page
  1. API

Tokens

Token related operations

Token exchange

POST https://api.finqware.com/v1/tokens

Exchange a temp-token for an access-token.

Request Body

Name
Type
Description

client_id*

string

An identifier for your tenant app.

client_secret*

string

A tenant app secret.

temp_token*

string

A temporary token that has to be exchanged.

{
    // A pointer to a newly created consent resource
    "credentials_id": "242a5690-...-b4ed02bebd7f",
    // An authorization key for this particular consent resource
    "access_token": "MDAxNmxvY...iGc_CorFem9_YCg",
    // time (UTC timestamp) when this consent is automatically expired
    "consent_exp": "2020-11-03T11:22:54Z",
    // time (UTC timestamp) when data pointed by this consent is permanently removed from the cache
    "max_data_retention": "2020-12-03T11:22:54Z"
}
// check the errors docs page for details
{
  "id": "uuid",
  "type": "invalid_request",
  "http": 400,
  "code": "invalid_client_id",
  "message": "error message"
}
PreviousSessionsNextAccounts

Last updated 3 years ago