Skip to main content
When credits cannot cover a billable call, the API returns 402 with a quote. Pay. Retry with PAYMENT-SIGNATURE. Billing.

Flow

  1. Call the API
  2. 402 and quote
  3. Pay
  4. Retry with PAYMENT-SIGNATURE: <receipt>
PAYMENT-SIGNATURE: <receipt>

Next

Billing

JavaScript SDK