0.0.2 • Published 5 months ago

capacitor-ios-tap-sdk v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

capacitor-ios-tap-sdk

capacitor ios plugin for ios tap sdk

Install

npm install capacitor-ios-tap-sdk
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


initializeTapSDK(...)

initializeTapSDK(options: { sandboxSecretKey?: string; productionSecretKey?: string; environment: 'sandbox' | 'production'; }) => Promise<{ success: boolean; message: string; }>
ParamType
options{ sandboxSecretKey?: string; productionSecretKey?: string; environment: 'sandbox' | 'production'; }

Returns: Promise<{ success: boolean; message: string; }>


showPaymentUI(...)

showPaymentUI(options: { amount: number; currency: string; customer: { firstName?: string; lastName?: string; email?: string; phone?: string; }; description?: string; }) => Promise<{ success: boolean; token?: string; error?: string; }>
ParamType
options{ amount: number; currency: string; customer: { firstName?: string; lastName?: string; email?: string; phone?: string; }; description?: string; }

Returns: Promise<{ success: boolean; token?: string; error?: string; }>


0.0.2

5 months ago

0.0.1

5 months ago