Skip to content
gist.link ↗

setPartnerPayoutAccount

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

Set the partner’s payout bank account. Details are stored encrypted in the pay service; this platform only keeps the supplier reference. Requires an org admin.

developers:mutation:setPartnerPayoutAccount

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

type Mutation {
setPartnerPayoutAccount(input: SetPartnerPayoutAccountInput!): PartnerProfile!
}
Argument Type Required Description
input SetPartnerPayoutAccountInput! Yes —

PartnerProfile! — 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": "mutation SetPartnerPayoutAccount($input: SetPartnerPayoutAccountInput!) { setPartnerPayoutAccount(input: $input) { uuid companyName contactEmail websiteUrl payoutCurrency payoutConfigured createdAt updatedAt } }",
"variables": {
"input": {
"currency": "example",
"bankDetails": {
"account_holder": "example"
}
}
}
}
JSON