Skip to content
gist.link ↗

creditWallet

Query Billing API — POST https://billing.api.gist.link/graphql

The caller organization’s prepaid AI-credit wallet (balance + auto-recharge + recent ledger). Any org member.

billing:query:creditWallet

The calling IAM key must hold this permission (or a wildcard that covers it: billing:query:* or billing:*) and the access token must have been minted with audience=billing. See Permissions.

type Query {
creditWallet: CreditWallet!
}

This query takes no arguments.

CreditWallet! — see the Billing types reference.

Terminal window
curl https://billing.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query CreditWallet { creditWallet { uuid created_at updated_at } }",
"variables": {}
}
JSON