Skip to content
gist.link ↗

supplier

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

A single supplier by uuid (masked bank data only). Any org member.

pay:query:supplier

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 {
supplier(id: String!): Supplier
}
Argument Type Required Description
id String! Yes —

Supplier — 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 Supplier($id: String!) { supplier(id: $id) { id uuid name email currency created_at updated_at } }",
"variables": {
"id": "example"
}
}
JSON