Charge the organization’s default payment method and add the amount to the prepaid credit balance. The default payment method configured on the org’s Stripe customer is always used; no payment method id is accepted from the client.
Documentation Index
Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt
Use this file to discover all available pages before exploring further.
Send Authorization: Bearer <access_token>. This must be an account API access token minted via Parallel's OAuth device flow, not a standard API key. See the account API docs.
Request to charge the org's default payment method and add to balance.
Amount in cents to charge and add to the balance. Must be between 1 and 10000 cents ($100.00).
x <= 10000Required idempotency key. Stripe dedupes the charge server-side for at least 24h when the same key is submitted again for the same org (see https://docs.stripe.com/api/idempotent_requests). Pick a high-entropy value (e.g. a UUID) so distinct agent attempts do not collide.
8 - 128Successful Response
Balance response for service clients.
Organization ID
Total available prepaid balance in cents (credits + prepaid commits). Always 0 when will_invoice is true.
Balance in cents currently held for inflight tasks plus charges not yet synced to the billing provider. Always 0 when will_invoice is true.
True if this organization is billed by invoice (postpaid) rather than from a prepaid credit balance. Invoice-only orgs cannot add balance via this API.