This is an unofficial SDK with Typescript Support.
npm i tappay-typescript
// example.ts
import TapPayService from 'tappay-typescript';
// init service
const Service = new TapPayService({
partner_key: 'PARTNER_KEY',
env: 'sandbox', // 'sandbox' or 'production'
});
// payment with sdk
const response = await service.payByPrime(postData);
Will be Update.
See this repo: tappay-typescript-example