Skip to main content
POST
Buy a credit pack via x402 (agent payments)

Body

application/json
pack
string
required
email
string<email>
required
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
sandbox
boolean

Response

Settlement replay — this transaction hash already minted an account, so the same credit code is returned with replayed: true and no settlement. Nothing was charged twice.

status
string
required
Allowed value: "ok"
credit_code
string
required
face_cents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
bonus_cents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
settlement
object
replayed
boolean
sandbox
boolean
Last modified on September 17, 2026