Skip to content
gist.link ↗

billPayments

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

Cursor-paginated outbound bill payments (wire/EFT). Any org member.

pay:query:billPayments

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

BillPaymentConnection! — 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 BillPayments($filter: BillPaymentFilter, $sort: SortInput, $first: Int, $after: String) { billPayments(filter: $filter, sort: $sort, first: $first, after: $after) { totalCount edges { cursor node { id uuid amount currency status created_at updated_at } } } }",
"variables": {
"filter": {
"status": "example",
"supplierId": "example"
},
"sort": {
"field": "example"
},
"first": 10,
"after": "cursor"
}
}
JSON