Skerry/ Reference/ Wallet controls
Wallet controls6
A wallet with a purpose: a label, a purpose, the agent it is for and a floor, kept by Skerry beside the provider's wallet. Sweep rules keep a balance in range by moving the difference on a schedule; each run is an ordinary payout made as the key that created the rule, under that key's mandates. To confine an agent to named wallets, set wallet_allow_list on its mandate.
- One walletget/customers/{id}/wallets/{wallet_id}
- Change a wallet's label, purpose, agent or floorpatch/customers/{id}/wallets/{wallet_id}
- The customer's sweep rules, newest first, with how each last ran (`last_result`)get/customers/{id}/sweep-rules
- Customers sweep rules createpost/customers/{id}/sweep-rules
- One sweep ruleget/customers/{id}/sweep-rules/{rule_id}
- Cancel a sweep rule. A payout it already made is not recalleddelete/customers/{id}/sweep-rules/{rule_id}