Orders
New VPS order, existing order list/detail
Create a new order + attempt AUTOMATIC payment from balance
**Flow with 3 outcomes:**
The reseller's order list (provision records)
The reseller's order list (provision records)
Single order detail (reseller isolation enforced)
Single order detail (reseller isolation enforced)
Settle a pending payment from credit (InvoicePaid)
Attempts to pay the WHMCS invoice of a pending (`pending_payment` / `payment_failed`) order from the reseller's balance. Triggered when the customer pays the invoice in the reseller's WHMCS (InvoicePaid hook). If the balance was insufficient at order time, once the reseller later loads balance it is settled here → the VPS install is queued (`pending_provision`).