Skip to content
gist.link ↗

plans

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

Every plan customers of GistLink may subscribe to. Any authenticated user.

billing:query:plans

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 {
plans: [Plan!]!
}

This query takes no arguments.

[Plan!]! — 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 Plans { plans { key name created_at updated_at } }",
"variables": {}
}
JSON