purchase_esim_with_wallet
Buy an eSIM package using your wallet balance. If balance is insufficient, get a link to top up.
Instructions
Purchases an eSIM package directly in chat using the user's wallet balance. If balance is insufficient, returns a magic link to top-up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The secure session token returned by verify_agent_otp. | |
| packageCode | Yes | The package code of the eSIM (e.g. PIK0SW14Q). | |
| discountCode | No | Optional coupon code (e.g. WELCOME10). |