Buy a custom amount of AI credits (1 cent per credit)
Buy an exact number of AI credits at list price (USD 0.01 per credit). Quantity is the credit count, between 500 and 50,000. MPP charge flow: call once with your workspace API key (Authorization: Bearer or X-Api-Key; admin scope from an owner/admin key) to receive HTTP 402 with a WWW-Authenticate Payment challenge. Retry with X-Api-Key plus Authorization: Payment payload="<base64url JSON>" carrying {"challenge_id", "shared_payment_token"} for a delegated Stripe token, or {"challenge_id", "use_saved_card": true} to charge the workspace's saved card. Success returns a signed Payment-Receipt header; AI credits are granted to the workspace after payment confirmation.
Request
- Base URL: https://taskfolk.ai
- URL: https://taskfolk.ai/api/mpp/v1/credits/custom
- Auth: none declared
Request body
Response
Payment accepted. Carries a Payment-Receipt header (base64url JSON, Ed25519-signed with the key published at /.well-known/ucp signing_keys).
Changes
No recorded changes to this operation across all 1 revision of this API.