What is Toffee Wallet?
Toffee Wallet is a service that includes a mobile app providing access to the user’s account, allowing them to view and top up their balance, check their transaction history, and add wallet passes, etc. It also serves as a payment provider that can be enabled for a game or group of games and provides:- Creation of a Toffee Wallet account for the user (with the user’s consent)
- Cashback accumulation
- Ability to pay with Toffee Wallet on the checkout page
Contact the Toffee Team to configure and enable Toffee Wallet functionality for your game or group of games.Configurable options:
- Account asset (a card-like image that will be displayed in the Toffee Wallet app)
- Wallet Pass assets
- Cashback percentage
- Top-up amounts and their associated rewards
App links
iOS
https://apps.apple.com/us/app/toffee-wallet/id6751423503Android
https://play.google.com/store/apps/details?id=com.toffee.walletConfigure Toffee Wallet per session
To enable or disable Toffee Wallet per session, you can use thewallet_enabled parameter in the Create Session request.
Accounts
Each user who activates Toffee Wallet gets an account linked to their game user(s). An account holds the user’s balance, split intoreal (deposited funds) and bonus (cashback rewards).
Get Account
Retrieve account details by ID:List Accounts
Retrieve accounts for a game:Deposits
Deposits represent top-up transactions into a user’s Toffee Wallet. When a user adds funds through the Toffee Wallet app, a deposit is created and processed through the configured payment method.Deposit Statuses
Deposits can have the following statuses:processing: Deposit is being processed by the payment providerauthorized: Deposit has been authorized but not yet capturedsucceeded: Deposit completed successfullycancelled: Authorized deposit was cancelled before capturefailed: Deposit processing failedrefunded: Deposit was refunded
Timestamp Fields
Deposits include relevant timestamp fields based on their final status:created_at: When the deposit was initiatedauthorized_at: When the deposit was authorized (if applicable)succeeded_at: When the deposit completed successfully (if applicable)failed_at: When the deposit failed (if applicable)cancelled_at: When the deposit was cancelled (if applicable)refunded_at: When the deposit was refunded (if applicable)
Webhook Events
deposit.succeeded: When a deposit completes successfullydeposit.failed: When a deposit attempt fails