Skip to content
gist.link ↗

suppliers

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

Cursor-paginated supplier (payee) profiles — masked bank data only. Any org member.

pay:query:suppliers

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

SupplierConnection! — 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 Suppliers($filter: SupplierFilter, $sort: SortInput, $first: Int, $after: String) { suppliers(filter: $filter, sort: $sort, first: $first, after: $after) { totalCount edges { cursor node { id uuid name email currency created_at updated_at } } } }",
"variables": {
"filter": {
"search": "example"
},
"sort": {
"field": "example"
},
"first": 10,
"after": "cursor"
}
}
JSON