Skip to main content
Aria Compute wallets are prepaid. To add funds, start a payment order with your site’s supported provider and complete the flow. The backend credits the wallet once the provider confirms the payment via webhook.
1

Check which providers are enabled

On the China site you see wechat and alipay instead of stripe.
2

Start a payment

Call POST /api/billing/payments with a session Bearer token.
Stripe returns a redirect_url (Checkout). WeChat Pay and Alipay return a qr_code_url you render as a QR code for the payer.
3

Complete the payment

  • Stripe: open redirect_url and pay with a card.
  • WeChat Pay / Alipay: scan the QR with the corresponding app on your phone.
4

Wait for confirmation

The provider calls POST /api/payments/webhook/{provider} and the backend credits your wallet. Poll GET /api/billing/payments/{id} until status becomes paid.
5

Confirm your wallet balance

Currency is fixed by the site domain: USD on .com, CNY on .cn. You cannot fund a .com wallet in CNY or vice versa.

Currency

The wallet currency is fixed by the site domain, regardless of the UI language you browse in: Wallets are not shared between the two sites: each has its own balance, transactions, and invoices. If you browse the China site in English, prices are still CNY.

Usage billing

After a top-up, every model call, model download, and GPU-hour is priced against the published rates and drawn from your wallet balance. GET /api/billing/usage meters and reports that usage, and GET /api/billing/transactions lists the resulting transactions.

Next steps