Wallet
Prepaid organisation balance used to pay for accepted SMS.
Each organisation has a prepaid wallet. When POST /v1/sms/send is accepted, Netnaunse debits the wallet by message segments × unit price and records a ledger transaction. Customer balances are a liability — not revenue.
Balance
curl https://api.netnaunse.com/v1/wallet \
-H "Authorization: Bearer YOUR_TOKEN_OR_API_KEY"Transactions
curl https://api.netnaunse.com/v1/wallet/transactions \
-H "Authorization: Bearer YOUR_TOKEN_OR_API_KEY"Returns ledger entries for top-ups and message charges. Use the dashboard Buy SMS flow for customer-facing top-ups.
Charges
- Debit happens when the message is accepted (
202), not when the handset receives it. - Segment count depends on
language: 160 characters (English) or 70 (Unicode). - Insufficient funds →
402withINSUFFICIENT_BALANCE.
Top-up API
POST /v1/wallet/top-up exists for controlled/dev credit flows. Production customers should top up through the dashboard payment experience. Do not expose manual top-up to end users.