billing

Topup Credits

Manually top up credits by charging the saved payment method. Minimum amount is 5000 units ($5.00).

If the card requires authentication (3D Secure), returns a checkout_url for the user to complete payment on-session.

post/billing/topup

Request

  • Base URL: https://backend.pruna.ai (the document declares no server; this is the origin it was published from)
  • URL: https://backend.pruna.ai/billing/topup
  • Auth: HTTP bearer

Request body

amount_unitsinteger required

Amount in fixed credit units (1 credit unit = $0.001)

Response

Successful Response

successboolean required
new_balance_unitsinteger required
transaction_idstring required
requires_actionboolean
checkout_urlstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.