Switch an app between test and live
hellio_ussd_switch_app_modeSwitch a USSD app to test or live mode. Going live requires an active purchased extension.
Instructions
Switches the app to test (sandbox) or live. Going live requires an active purchased extension for the app, otherwise the call returns 402 extension_required. Requires the ussd scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"mode": "<mode>"
},
"name": "hellio_ussd_switch_app_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The app id. | |
| mode | Yes |