capacitor-ios-tap-sdk
v0.0.2
Published
capacitor ios plugin for ios tap sdk
Readme
capacitor-ios-tap-sdk
capacitor ios plugin for ios tap sdk
Install
npm install capacitor-ios-tap-sdk
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
initializeTapSDK(...)
initializeTapSDK(options: { sandboxSecretKey?: string; productionSecretKey?: string; environment: 'sandbox' | 'production'; }) => Promise<{ success: boolean; message: string; }>| Param | Type |
| ------------- | ----------------------------------------------------------------------------------------------------------------- |
| 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; }>| Param | Type |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| options | { amount: number; currency: string; customer: { firstName?: string; lastName?: string; email?: string; phone?: string; }; description?: string; } |
Returns: Promise<{ success: boolean; token?: string; error?: string; }>
