Skip to main content

Easily Integrate
Token's API using Konfig's TypeScript SDK

Need a TypeScript SDK for Token's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { Token } from 'token-typescript-sdk';
const token = new Token({
// When using curl samples the authorization header is given as -H `'Authorization: YOUR_API_KEY_HERE'`<br/>Please substitute your Basic key here.<br/>For example:<br/> -H `'Authorization: Basic bS0zanhoS3pqRjRSWFQ1dHZLTlhMQU14cm80d0E1LTV6S3RYRUFxOmU1MWZjZDQ0LTM5MGQtNDYxZi04YjA0LTEyMjcxOTg4YWYwNg=='`
basicAuth: "AUTHORIZATION",
// When using curl samples the authorization header is given as -H `'Authorization: YOUR_API_KEY_HERE'`<br/>Please substitute your Bearer key here.<br/>For example:<br/> -H `'Authorization: Bearer eyJhbGciOiJFZERTQSIsImtpZCI6IjF4N2RmNHZ1RlVIWVFDYTciLCJtaWQiOiJtOlhUalhlMkFQZTRvdmVaalE4cHoyNGdEbUZEcTo1ekt0WEVBcSIsImhvc3QiOiJsb2NhbGhvc3Q6ODAwMCIsIm1ldGhvZCI6IlBPU1QiLCJwYXRoIjoiL2JhbmtzL2lyb24vdXNlcnMiLCJleHAiOjE1ODYyOTczNDQ3ODd9..bi3wxEoMHIul_F2f7gCDvgjHQKCjIyP9_SkQns-yXpS0UqoaOqSJrW89COexU71gt-mH3jH6mtp2aksEywvFDg'`<br/>Enter the JWT Bearer token only (see <a href="https://developer.token.io/token_rest_api_doc/content/e-rest/integration_considerations.htm#JWT" target="_blank">Using JWT Authentication</a> for more information).
bearer: "BEARER"
})

Then, send your first request

We made it really easy.

index.ts

// Get information for all accounts
const getAllAccountsResponse = token.accounts.getAllAccounts({
tokenCustomerIpAddress: "172.16.254.1"
})

Enjoy a buttery smooth developer experience with 63 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository

We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

openapi-examples-to-konfig

Generates AI-Augmented SDKs from openapi-examples

Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

konfig-to-package-managers

Publishes to standard package managers

We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

Token

About Token

With the simplest and fastest way to launch Pay by Bank as a core payment method globally, Token.io's complete A2A payment infrastructure helps payment providers grow their market share in the face of the continued shift from cards to APMs. Token.io delivers the highest performing and deepest connectivity in the industry, reaching 567 million bank accounts (80%+ per market) in 20 supported countries through a single API and interface. With fast and flexible deployment options, including the option to use Token.io's license and conversion boosting payment authentication flows, payment providers can quickly and easily launch and manage Pay By Bank capabilities. Token.io's solution is proven by a blue-chip base of partners, which collectively process payments for tens of millions of merchants worldwide, including HSBC, Mastercard, BNP Paribas, ACI Worldwide, Total Processing, Computop, Nuvei and Paysafe. As Token.io pushes the boundaries of innovation, it remains relentlessly focused on delivering infrastructure that enables payment providers to grow their business. Token.io also provides access to aggregated bank account and transaction data, enabling payment providers to enrich their services and reinvent financial experiences. Token.io is authorised as an AISP & PISP by the FCA in the UK and by BaFin in Germany. Token.io is PSD2 and SCA compliant, and PCI-DSS Level 1 and ISO27001:2013 Certified. — RECOGNISED BY — "Token.io provides an innovative solution in the Open Banking payments landscape…" — Juniper Research "Token.io's strength is payment infrastructure…" — Forrester "One of the fastest growing fintechs of 2022… " — Sifted 🏆 Open Banking Platinum Innovation Award - Juniper Research 2023 and 2022 🏆 Payments Tech of the Year - Europe Fintech Awards 2023 🏆 Fintech for Good Award - Paytech Awards 2023 🏆 Qorus-Capgemini NewTech Payments Bronze Award - 2023 🏆 Payments Tech of the Year Award - Fintech Awards London 2022

Keywords

open_banking
payments

Start integrating Token's API with Konfig