Skip to content
gist.link ↗

partnerBalance

Query Developers API — POST https://developers.api.gist.link/graphql

The caller (partner) org’s accrued balance per currency.

developers:query:partnerBalance

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

type Query {
partnerBalance: [PartnerBalance!]!
}

This query takes no arguments.

[PartnerBalance!]! — see the Developers types reference.

Terminal window
curl https://developers.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query PartnerBalance { partnerBalance { currency amountMinor } }",
"variables": {}
}
JSON