Skip to main content

Easily Integrate
HSBC's AccountInformationCE API using Konfig's TypeScript SDK

Need a TypeScript SDK for HSBC's AccountInformationCE 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 { HsbcAccountInformationCe } from 'hsbc-account-information-ce-typescript-sdk';
const hsbcAccountInformationCe = new HsbcAccountInformationCe({
// Authorization scheme used to authenticate & authorize access to a protected resource on a web server. It is used in conjunction with the OAuth 2.0 protocol for securing API endpoints.
bearerAuth: "BEARER_AUTH",
// TPP client credential authorisation flow with the ASPSP. Token URL to be used by TPP to obtain a token. Check the well-known configuration endpoint, the 'token_endpoint' property.
clientId: "CLIENT_ID",
clientSecret: "CLIENT_SECRET",
// OAuth flow, it is required when the PSU needs to perform SCA with the ASPSP when a TPP wants to access an ASPSP resource owned by the PSU. Authorization URL to be used by TPP to redirect the PSU in order to start consent authorization journey. Check the well-known configuration endpoint, the 'authorization_endpoint' property. Token URL to be used by TPP to obtain a token. Check the well-known configuration endpoint, the 'token_endpoint' property.
// clientId: "CLIENT_ID"
// clientSecret: "CLIENT_SECRET"
redirectUri: "REDIRECT_URI"
})

Then, send your first request

We made it really easy.

index.ts

// Create Account Access Consents
const createConsentResponse = hsbcAccountInformationCe.accountAccessConsents.createConsent({
xFapiAuthDate: "Tue, 18 Apr 2023 14:42:25 UTC"
xFapiCustomerIpAddress: "12.201.45.125"
xFapiInteractionId: "20177a90-5e29-43ba-bea0-cc6c344a9d32"
xCustomerUserAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
})

Enjoy a buttery smooth developer experience with 13 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.

HSBC

About HSBC

HSBC, also known as The Hongkong and Shanghai Banking Corporation, is a multinational banking and financial services organization. It offers a wide range of services including retail banking, wealth management, commercial banking, and global banking and markets. HSBC operates in numerous countries and territories, serving millions of customers worldwide with its comprehensive banking solutions.

Keywords

finance
banking
payments
online_payments
fintech
checkout_experience
multinational
financial_services
wealth_management
global_banking
retail_banking
commercial_banking
open_banking

Start integrating HSBC's AccountInformationCE API with Konfig