Skip to content
gist.link ↗

taxRate

Query Pay API — POST https://pay.api.gist.link/graphql

A single tax rate by uuid (managed in the settings app). Any org member.

pay:query:taxRate

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

type Query {
taxRate(id: String!): TaxRate
}
Argument Type Required Description
id String! Yes —

TaxRate — see the Pay types reference.

Terminal window
curl https://pay.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query TaxRate($id: String!) { taxRate(id: $id) { id uuid name created_at updated_at } }",
"variables": {
"id": "example"
}
}
JSON