Auto-recharge
spur_set_auto_rechargeTurns wallet auto-recharge on or off. When on, Spur charges the saved card amount_usd whenever the balance drops below threshold_usd, so sends never fail for lack of funds. Needs a saved card (the first spur_top_up_wallet payment saves one). Turning it on needs the user's approval of the amount and threshold (confirm=true); turning it off doesn't.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to enable: true ONLY after the user approved automatic charges of this amount at this threshold. | |
| enabled | Yes | true = turn auto-recharge on, false = off | |
| amount_usd | No | Amount added per recharge (required when enabling, minimum $5) | |
| threshold_usd | No | Recharge when the balance drops below this (required when enabling; lower than amount_usd) |