wallet
Set Auto Recharge
Configure auto-recharge: below thresholdCents, charge the saved card for amountCents (max 3x/24h, 6h backoff after a failed charge).
Enabling requires a saved card RIGHT NOW (2026-07-17 decision): an opt-in that cannot charge is worse than none, because the user believes refills are armed while the sweep fails forever. Callers get a 400 with a machine-readable code (SDKs wrap this endpoint). Disabling is never blocked. The check is skipped only when Stripe itself is unconfigured (dev environments, where the sweep could not charge anyway).
post/api/wallet/auto-recharge
Request
- Base URLhttps://api.maritime.sh (the document declares no server; this is the origin it was published from)
- URLhttps://api.maritime.sh/api/wallet/auto-recharge
- AuthHTTP bearer
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.