0.0.4 • Published 2 years ago
capacitor-plugin-sumup
Capacitor Plugin for SumUp
Install
npm install capacitor-plugin-sumup
npx cap sync
API
login(...)
login(options: LoginOptions) => Promise<SumUpResponse>
Param | Type |
---|
options | LoginOptions |
Returns: Promise<SumUpResponse>
checkout(...)
checkout(options: CheckoutOptions) => Promise<SumUpResponse>
Param | Type |
---|
options | CheckoutOptions |
Returns: Promise<SumUpResponse>
Interfaces
SumUpResponse
Prop | Type |
---|
code | number |
message | string |
LoginOptions
Prop | Type |
---|
affiliateKey | string |
accessToken | string |
CheckoutOptions
Prop | Type |
---|
total | number |
currency | string |
title | string |
receiptEmail | string |
receiptSMS | string |
additionalInfo | { key: string: string; } |
foreignTransactionId | string |
skipSuccessScreen | boolean |