Vanguard AI

Billing

Calls are metered in credits. Buy credits in packages and top up when you run low.

List packages

GET /v1/billing/packages Public
200 Packages
{
  "status": "success",
  "packages": [
    { "id": "starter", "credits": 1000, "amountLak": 50000 },
    { "id": "standard", "credits": 5000, "amountLak": 200000 },
    { "id": "bulk", "credits": 20000, "amountLak": 700000 }
  ]
}

Start a top-up

POST /v1/billing/topup API key

Returns the payment gateway QR code / deeplink to present to the payer.

JSON body

packageId *
string
The package to purchase, e.g. "standard".
provider
string
Payment provider. Default: laoqr.

Credits are granted idempotently once the gateway confirms the payment.