Using connect-web-sdk with mastercard.com

TypeScript integration

✓ Official SDK

Install

npm install connect-web-sdk

Quick start

import Connect_web_sdk from 'connect-web-sdk';

const client = new Connect_web_sdk({ apiKey: "YOUR_API_KEY" });
Submit an encrypted PAN to obtain the PAR linked to the account.
curl \
  /par/paymentaccountreference/1/0/getPaymentAccountReference
SDK on GitHub 📄 API Docs
SDK
connect-web-sdk
TypeScript
API
mastercard.com
mastercard.com:PaymentAccountReferenceInquiryAPI

At a glance

Language TypeScript
Endpoints1
✓ Official