Billing
Start a top-up
POST
https://voxa.abhinavyadav.in/api/v1/billing/topupCreates a payment for a credit pack (pack_id) or a custom amount (amount_paise). GST is added on top.
Authorization
A signed-in member with the billing.manage permission (Authorization: Bearer session token). API keys can’t do this.
Authorization: Bearerbilling.manageworks before activation
Query parameters
timezonestringdefault: "Asia/Kolkata"IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.
Body application/json
pack_idstringA credit pack from List credit packs.
amount_paiseintegerdefault: 0A custom amount in paise (₹1 = 100), when no pack is given.
at least 0
Response
201Success.
See the 201 example next to the code samples.
401No credentials, or they are invalid or revoked.
detailstringWhat went wrong, in plain words.
403Your role (or an API key) lacks the permission.
detailstringWhat went wrong, in plain words.
422Validation Error
detailobject[]Show item attributes
locstring | integer[]msgstringtypestring