Before you begin
This guide assumes that you know how toAccept payments with Spirit of Cadeau via Thunes
Prepare the client session
Spirit of Cadeau via Thunes requires the following data to process a payment successfully. Pass the following data in the client session, or in the payment request (for manual payment creation).Parameter Name | Required | Description |
---|---|---|
currencyCode | ✓ | 3-letter currency code in ISO 4217 format, e.g. USD for US dollars |
order ↳ lineItems | ✓ | Details of the line items of the order |
amount | ✓ | The amount you would like to charge the customer, in minor units. e.g. for $7, use 700 . |
Prepare the SDK for payments
- Web
- iOS
- Android
- React Native
Show Universal Checkout
Spirit of Cadeau via Thunes is automatically presented to the customer when callingPrimer.showUniversalCheckout
.Typescript
Customization
Check the customization guide to learn how to customize payment method buttons.Typescript