purchase_esim_with_wallet
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 | No | The secure session token returned by verify_agent_otp or a Personal Access Token. | |
| packageCode | Yes | The package code of the eSIM (e.g. PIK0SW14Q). | |
| discountCode | No | Optional coupon code (e.g. WELCOME10). |