Skip to main content
POST
Buy credits with USDC (x402)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

pack
string
default:starter

Which pack: starter 500 credits, standard 2,000 credits, pro 10,000 credits.

Response

Successful Response

credits
integer
required

Credits this payment added.

Example:

500

balance
integer
required

The account's balance after the payment.

usd
string
required
Example:

"5.00"

transaction
string
required

The settlement transaction hash.

network
string
required
Example:

"eip155:8453"

docsUrl
string
required
openapiUrl
string
required
apiKey
string | null

Only when you paid WITHOUT an API key: your wallet's key, shown once. Paying again without a key replaces it (the old one stops working).

keyPrefix
string | null