Wallets
Wallets provide a prepaid balance system where customers can deposit funds and use them for future purchases. Wallets are ideal for customers who prefer prepaying or for businesses that want to offer prepaid packages.Overview
A wallet is a prepaid account balance that:- Holds funds in a specific currency
- Can be topped up by customers or merchants
- Is automatically used for invoice payments
- Supports balance thresholds and notifications
Creating a Wallet
From the Dashboard
- Navigate to Customers > [Customer] > Wallet
- Click Create Wallet
- Select the currency
- Optionally add initial balance
- Click Create
Via API
Topping Up Wallets
Merchant-Initiated Top-Up
Add funds to a customer’s wallet:Customer Self-Service Top-Up
Customers can top up through the portal:- Customer logs into portal
- Navigates to Wallet
- Clicks Add Funds
- Enters amount and payment method
- Confirms payment
Top-Up via Payment Link
Generate a payment link for wallet top-up:Automatic Payment
When auto-pay is enabled, wallet balance is automatically used for invoices:Configuration
Payment Priority
When multiple payment methods exist:| Priority | Description |
|---|---|
| 1 | Used first (recommended for wallets) |
| 2 | Secondary payment method |
| 3+ | Fallback options |
Partial Payment
If wallet balance is insufficient:- Wallet balance is fully applied
- Remaining amount charged to backup payment method
- If no backup, invoice remains partially paid
Balance Management
Checking Balance
Balance Types
| Field | Description |
|---|---|
balance | Total wallet balance |
pendingCharges | Reserved for pending invoices |
availableBalance | Amount available for new charges |
Low Balance Alerts
Configure notifications when balance falls below a threshold:Dashboard Setup
- Go to Customers > [Customer] > Wallet
- Click Settings
- Enable Low Balance Alert
- Set threshold amount
- Configure notification channels
API Configuration
Auto Top-Up
Enable automatic refills when balance is low:Auto Top-Up Flow
Wallet Transactions
Transaction History
Transaction Types
| Type | Description |
|---|---|
credit | Funds added (top-up) |
debit | Funds deducted (payment) |
refund | Funds returned |
adjustment | Manual correction |
Refunds to Wallet
When refunding an invoice paid via wallet:Automatic Refund
If the original payment was from wallet, refund goes back to wallet:Manual Refund Destination
Choose where to send the refund:Webhooks
| Event | Description |
|---|---|
wallet.created | New wallet created |
wallet.topped_up | Funds added to wallet |
wallet.balance_low | Balance below threshold |
wallet.payment_made | Payment deducted from wallet |
wallet.auto_top_up_failed | Auto top-up charge failed |
Example Webhook
Multi-Currency Wallets
Customers can have multiple wallets in different currencies:Currency Matching
Invoices are paid from the wallet matching the invoice currency. A USD invoice uses the USD wallet, not EUR.Closing a Wallet
To close a wallet and refund remaining balance:Best Practices
Enable Auto Top-Up
Prevent payment failures by enabling automatic refills.
Set Appropriate Thresholds
Balance thresholds should cover at least one billing cycle.
Clear Communication
Notify customers about wallet balance and upcoming charges.
Offer Incentives
Provide discounts for prepaid top-ups to encourage adoption.
Next Steps
Credits Overview
Learn about the credit system.
Payments
Understand payment processing.