Account
This endpoint returns the custodian-mode client details for authenticated users.
The request was successful.
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
Access token is missing or invalid
An internal error has occurred. Additional state information plus metadata may be available in the response body.
GET /account HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
"customer": {
"customerId": "text",
"name": "text"
},
"paymentAccount": {
"mainnet": "text",
"testnet": "text"
}
}This endpoint returns IdToken as JWT with list of user roles inside
The request was successful.
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
Access token is missing or invalid
An internal error has occurred. Additional state information plus metadata may be available in the response body.
GET /account/idtoken HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
"idToken": "text"
}This endpoint creates a client in the custodian-mode for an authenticated user
The request was successful.
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
Access token is missing or invalid
An internal error has occurred. Additional state information plus metadata may be available in the response body.
POST /account/create HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 37
"name='text'&primaryEmail='text'"{
"customerId": "text",
"name": "text",
"email": "text",
"description": "text",
"createdAt": "text",
"updatedAt": "text",
"paymentProviderId": "text"
}Funds a cheqd testnet address, by default the customer's own payment account, or any valid cheqd address supplied. An address can hold at most FAUCET_ADDRESS_CAP_CHEQ, and a customer can request at most FAUCET_MONTHLY_LIMIT_CHEQ per calendar month (UTC) across all their addresses; both default to 100,000 CHEQ. Without an amount, FAUCET_DEFAULT_REQUEST_CHEQ (default 10,000 CHEQ) is sent, or less if the room under the address cap or the quota left is lower. Authentication is by a Studio user session (bearer token), an API key (x-api-key) or a machine-to-machine token (bearer token plus a customer-id header); whichever is used, the credential must carry the request:faucet:testnet scope. The response includes the remaining quota.
Optional cheqd testnet address to fund; it does not have to belong to the customer. Requests count against the calling customer's quota. Defaults to the authenticated customer's testnet account.
Optional amount in CHEQ. If omitted, FAUCET_DEFAULT_REQUEST_CHEQ (default 10,000) is sent, or less if the room under the address cap or the monthly quota left is lower. Set it to ask for more; the response shows the amount sent.
The request was processed.
No content
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
Access token is missing or invalid
Forbidden.
No Studio testnet payment account was found for this customer.
Too many requests. Either the customer's monthly faucet quota is exhausted (the body includes the quota details), or a request was made too soon after the previous one (FAUCET_MIN_INTERVAL_SECONDS). The Retry-After header gives the seconds to wait.
An internal error has occurred. Additional state information plus metadata may be available in the response body.
Upstream faucet request failed.
Stripe subscription checks are disabled.
The faucet did not respond within FAUCET_REQUEST_TIMEOUT_SECONDS. The request may or may not have been processed.
POST /account/faucet HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"address": "text",
"amount": 1
}No content
This endpoint returns analytics data for the account usage.
Filter DID by the network published.
The request was successful.
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
Access token is missing or invalid
An internal error has occurred. Additional state information plus metadata may be available in the response body.
GET /account/analytics HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
"dids": 1,
"credentials": 1,
"accreditations": 1,
"resources": 1
}Returns the on-chain balance of the authenticated customer's mainnet and testnet payment accounts, expressed in ncheq, CHEQ and USD. The CHEQ/USD rate is sourced from CoinGecko and cached; if it (or a network's RPC endpoint) is unavailable the response still returns 200 with the affected usd/rate/balance fields set to null. Also returns the testnet faucet cap and the customer's monthly faucet quota usage under faucet.
The request was successful.
Access token is missing or invalid
An internal error has occurred. Additional state information plus metadata may be available in the response body.
GET /account/balances HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
"mainnet": {
"address": "cheqd1abcd...",
"denom": "ncheq",
"balance": {
"ncheq": "1500000000000",
"cheq": 1500
},
"usd": 3.03
},
"testnet": {
"address": "cheqd1abcd...",
"denom": "ncheq",
"balance": {
"ncheq": "1500000000000",
"cheq": 1500
},
"usd": 3.03
},
"faucet": {
"cap": {
"cheq": 100000,
"ncheq": "100000000000000"
},
"quota": {
"period": "month",
"limit": {
"cheq": 10000,
"ncheq": "10000000000000"
},
"used": {
"cheq": 10000,
"ncheq": "10000000000000"
},
"remaining": {
"cheq": 10000,
"ncheq": "10000000000000"
},
"resetsAt": "2026-01-01T00:00:00.000Z"
}
},
"rate": {
"cheqUsd": 0.00202,
"source": "coingecko",
"asOf": "2026-01-01T00:00:00.000Z"
}
}Last updated
Was this helpful?