Vigilfield Docs
API referenceBilling

`POST /billing/top-up` — buy prepaid top-up packs.

POST/billing/top-up

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /billing/top-up — buy prepaid top-up packs. One pack bumps every flow dimension's monthly ceiling by a fixed per-dimension amount (sized by us; the customer never picks a dimension), for one price. Packs are per-period — they lift the ceiling for the current month only and the cell picks them up on its next GetBudget pull. The customer's card is charged at purchase.

Response Body

application/json

curl -X POST "https://example.com/billing/top-up" \  -H "Content-Type: application/json" \  -d '{    "packs": 0  }'
{  "charged_cents": 0,  "org_id": "string",  "topup_packs": 0,  "updated_at": "string"}