tappay-typescript
v1.0.5
Published
This is an unofficial SDK with Typescript Support.
Downloads
3
Readme
tappay-typescript
This is an unofficial SDK with Typescript Support.
Usage
npm i tappay-typescript
How to Use
// 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);
Test
Will be Update.
Example
See this repo: tappay-typescript-example