Skip to content
gist.link ↗

disconnectPaymentProvider

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

Permanently remove a processor connection and its encrypted credentials.

pay:mutation:disconnectPaymentProvider

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

type Mutation {
disconnectPaymentProvider(id: String!): Boolean!
}
Argument Type Required Description
id String! Yes —

Boolean!.

Terminal window
curl https://pay.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation DisconnectPaymentProvider($id: String!) { disconnectPaymentProvider(id: $id) }",
"variables": {
"id": "example"
}
}
JSON