Modifies the wallet balance of an eSIM. Use positive amounts to credit, negative to debit, or set_balance=true to force a specific balance.
Security
ApiKeyAuth
When true, forces balance to the specified amount instead of adding/subtracting
Default:false
Example:false
POST
- Set balance to specific amount
- Add balance to current amount
- Decrease balance by specific amount
curl -i -X POST \
'https://api.tellisim.com/v3/wallet/{iccid}/balance?key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"amount": 150,
"set_balance": true,
"description": "Set balance to 150.00"
}'Response
{ "error": false, "data": { "transaction_id": "82bee681-7780-4b3b-9442-fe0899f19634", "iccid": "8948010010036795085", "transaction_type": "CREDIT", "amount": 100, "set_balance": false, "description": "Top up balance", "created_at": "2025-01-01T10:00:00.000Z" } }