Organizations
Buy a credit pack
Charges the organization’s card for a credit pack (10 credits = $1) and adds the credits once the payment succeeds. A requires_action result carries a client secret for Stripe.js to finish card authentication, after which POST /current/credits/purchases//confirm adds the credits. Replaying the same Idempotency-Key returns the original purchase. Organization admins only.
POST
Buy a credit pack
Authorizations
API key created in the ZeroClick dashboard under Settings → API keys. Keys start with zc_. Send them as Authorization: Bearer zc_....
Headers
Required string length:
1 - 200Body
application/json
Required range:
-9007199254740991 <= x <= 9007199254740991