v4

latestOpenAPI 3.1.02026-08-012281296.0 MB
Account

Buy credits

Purchase additional credits for your organization at $20.00 per 1,000 credits. This endpoint immediately charges real money to your organization's saved payment method via Stripe. AI agents are strongly recommended to confirm with their human operator before calling this endpoint.

<span><strong>Rate limit:</strong> 2 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> FREE! No credits are charged for this API. <span title="Pricing shown is default pricing. Actual pricing may vary."></span></span>

post/v1/buy-credits

Request body

apiKeystring required

Your Fiber API key

subscriptionIdstring required

The subscription to add credits to. An organization can have multiple subscriptions, each with its own credit balance.

creditsToBuyinteger required

Number of credits to purchase. This will immediately charge your saved payment method.

idempotencyKeystring nullable

A unique key to safely retry a purchase. If a request fails or times out, resend with the same key to avoid being charged twice. When omitted, each call is a new purchase.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.