insufficient_allowance — paying beyond the quota is disabled
402insufficient_allowanceno Retry-After
What happened
The order was not created and no money was charged. Body: reason: "insufficient_allowance". Unlike payg_topup_required, it has no top-up fields (shortfall_*, quote_token, expires_at).
Why
The subscription quota was not enough, and paying beyond the quota is disabled for this service (Service.payg_access = disabled). That is why the server refuses instead of offering a top-up.
What to do right now
A retry will not help, and neither will confirm_payg_topup: the server ignores that field. Your options are to wait for the new quota in the next billing period, change your plan, or make the order small enough to fit what is left.
Which request to send next
GET /subscriptions shows how many tokens are left in items[].tokens_remaining. You can trim the text to fit that amount.
Where to go next
This page for AI
API version 1.0.0