billing

Topup Ai Balance

Buy AI credit now. Org owner/admin.

Returns the invoice status rather than a success flag, because "charged" and "credited" are different moments: the balance goes up when the webhook confirms payment, never here. A caller that renders this response as "credit added" would be showing money that can still be reversed.

post/api/billing/ai-balance/topup

Request

  • Base URL: https://softkiln.com (the document declares no server; this is the origin it was published from)
  • URL: https://softkiln.com/api/billing/ai-balance/topup
  • Auth: none declared

Query parameters

orgstring nullable

Request body

amount_microcentsinteger required

Response

Successful Response

statusstring required
hosted_invoice_urlstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.