Top up Layerbeat credit with USDC
Funding and VM purchases are separate actions. USDC adds credit to your personal wallet; you explicitly submit a VM purchase once sufficient credit is available.
Funding and VM purchases are separate actions. USDC adds credit to your personal wallet; you explicitly submit a VM purchase once sufficient credit is available.
GET /v1/billing/payment-methodslists the enabled funding networks.POST /v1/billing/top-upswith{"method":"usdc_solana","amount":"25.00"}creates funding instructions. No VM or operation is created.- Send the displayed USDC amount on the displayed network. Use
payment_urifor a wallet link or QR; compatible Solana wallets include the unique payment reference. - Poll
GET /v1/billing/payments/{id}andGET /v1/billing/wallet. Only finalized, attributed funds become spendable credit. - Choose the VM region, plan, image and SSH key, review a fresh quote, then submit
POST /v1/vms. The request spends available credit; omitpayment_methodor set it towallet.
Partial and overpayments become credit. Late receipts also become credit while the closed intent stays closed. Fractional USDC is retained across the user's receipts; only whole USD cents are available to spend under the current 1:1 accounting policy. Funding instructions expire at expires_at; expiration does not remove credited funds.
Only the configured USDC token and network are accepted. Exact-amount matching is available for reference-free transfers; ambiguous or unattributable receipts are recorded for verified support review. New instructions exclude previously issued amounts. There are 9,999 tags per USD-cent amount/network; if they are exhausted, choose a different top-up amount. References are preferable because historical duplicate amounts cannot identify their original customer reliably.
A top-up returns 503 funding_unavailable if its initial scanning baseline cannot be persisted. Retry later. A confirmed receipt never starts a VM automatically.
Servers
Prices are for a prepaid term (`term_months`). When you buy, the price is held from your wallet, charged when the server is running, and released if creation fails. Nothing is charged for a server tha
Top up with Doit (IDR)
Doit is the primary configured Rupiah gateway. Use `POST /v1/billing/top-ups` with `{"method":"doit","currency":"IDR","amount":"400000"}`. Hosted checkout lets the payer select an available payment me