Skip to content
gist.link ↗

taxRates

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

Cursor-paginated configurable tax rates (managed in the settings app, proxied here). Any org member.

pay:query:taxRates

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 {
taxRates(filter: TaxRateFilter, sort: SortInput, first: Int, after: String): TaxRateConnection!
}
Argument Type Required Description
filter TaxRateFilter No —
sort SortInput No —
first Int No —
after String No —

TaxRateConnection! — 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 TaxRates($filter: TaxRateFilter, $sort: SortInput, $first: Int, $after: String) { taxRates(filter: $filter, sort: $sort, first: $first, after: $after) { totalCount edges { cursor node { id uuid name created_at updated_at } } } }",
"variables": {
"filter": {
"search": "example",
"active": true
},
"sort": {
"field": "example"
},
"first": 10,
"after": "cursor"
}
}
JSON