plaingateway
Billing

Auto-recharge

Set a wallet threshold and recharge amount.

Auto-recharge charges a saved card when the balance falls below the chosen threshold. The checkout that saves the card also creates a Stripe invoice. The billing service checks the balance again before charging and posts credit after payment succeeds. A declined payment may be retried after 1 hour. A pending attempt blocks another attempt while its result is resolved. The billing service accepts threshold_usd, amount_usd, and an enabled switch; the customer-facing setup form still needs verification.