Skip to main content
POST
Buy a credit pack

Authorizations

Authorization
string
header
required

API key created in the ZeroClick dashboard under Settings → API keys. Keys start with zc_. Send them as Authorization: Bearer zc_....

Headers

idempotency-key
string
required
Required string length: 1 - 200

Body

application/json
credits
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991

Response

200 - application/json

Default Response

status
enum<string>
required
Available options:
succeeded,
requires_action,
processing
paymentIntentId
string
required
clientSecret
string | null
required
publishableKey
string | null
required
balance
object | null
required