Skip to content
gist.link ↗

updatePaymentProviderConnection

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

Update a connection without exposing its stored credentials.

pay:mutation:updatePaymentProviderConnection

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 {
updatePaymentProviderConnection(id: String!, input: UpdatePaymentProviderConnectionInput!): PaymentProviderConnection!
}
Argument Type Required Description
id String! Yes —
input UpdatePaymentProviderConnectionInput! Yes —

PaymentProviderConnection! — 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": "mutation UpdatePaymentProviderConnection($id: String!, $input: UpdatePaymentProviderConnectionInput!) { updatePaymentProviderConnection(id: $id, input: $input) { id uuid status created_at updated_at } }",
"variables": {
"id": "example",
"input": {
"mode": "example",
"account_label": "example",
"enabled": true
}
}
}
JSON