Manual Top-Up
Manual top-ups provide flexibility to add credits on demand. You can issue free credits for promotions and compensations, or process purchased credits through standard payment methods.Adding Credits Manually
Configure Credit Amount
In the top-up dialog, select your credit type and enter the amount to add to the wallet

Automatic Top-Up
Automatic top-up ensures uninterrupted service by automatically recharging wallets when they fall below a specified threshold. This eliminates manual monitoring and prevents service disruptions due to insufficient balance.Configuring Auto Top-Up
Credit Types Supported
Flexprice supports multiple credit types to accommodate different billing scenarios:Free Credits Top-Up
Promotional or complimentary credits added without requiring payment. Common use cases:- Welcome bonuses for new customers
- Promotional campaigns and special offers
- Service credits for issue resolution
- Customer loyalty and retention programs
Purchased Credits Top-Up
Purchased credit top-up refers to credits that a customer buys. We support two types:- Purchased Credits - Immediate credit addition
- Purchased Credits (With Invoice) - Invoice-based top-up with payment tracking
Purchased Credit Top-Up (with Invoice)
The invoice-based top-up workflow provides comprehensive payment tracking and record-keeping for credit purchases.How It Works
When you select Purchased Credits and enable Generate Invoice, Flexprice initiates the following flow:Top-Up Initiated
You select Purchased Credits and enable Generate Invoice in the top-up dialog, then click Add Credits
Invoice Created
An invoice is automatically generated and finalized with payment status
Pending. The invoice contains the credit purchase details and is visible in your invoice listTransaction Logged
A wallet transaction is created with status 
pending and transaction reason PURCHASED_CREDIT_INVOICED. The transaction is linked to the generated invoice
Credits Hold
Credits remain unavailable and are not added to the wallet balance. The wallet balance remains unchanged until payment is confirmed
Record Payment
Credits get available only after the payment is followed through. When the invoice payment status becomes
You can either
Succeeded, the wallet balance gets topped-up.
Record Payment or Update Payment Status directly to confirm payment.- Record Payment - A payment record is created for the invoice supporting tracking and reconciliation. Payment can be recorded through following methods:
- Offline Payment - Record payment that was processed outside the system.
- Payment Link - Generate a payment link for online payment. Payment status gets updated when payment is successfully processed through the payment gateway. If you want to know more about the
payment_linkbehavior, check out Stripe Payment Link & Checkout for configuration instructions.

- Update Payment Status - Invoice payment status changes from
PendingtoSUCCEEDEDfor API responses) After the payment is completed, the invoice status is updated to confirm successful payment.
Credit Activation
Once payment is recorded and the invoice is marked as paid:- Credits are immediately added to the customer’s wallet
- Transaction status updates to
completedin wallet history - Credits become available for immediate use
When to Use Invoice-Based Top-Ups
Financial Record Keeping- Maintain detailed audit trails for all credit purchases
- Separate wallet top-up revenue from service charges
- Generate comprehensive transaction histories for accounting
- Support purchase order and approval processes
- Enable invoice-based payment for corporate customers
- Provide formal documentation for business expense tracking
- Meet regulatory requirements with detailed financial records
- Generate reports for credit purchase analysis
- Track customer acquisition and spending patterns
Related Documentation
- Wallet Transactions - Monitor and manage all wallet transactions
- Auto Top-Up Wallet - Configure automatic wallet recharging
- Low Balance Alert - Set up balance threshold notifications




