Skip to main content

Consent Token Revocation

For cards that should be unlinked from your platform, consent can also be revoked over the Stitch API. This revokes the ability for transactions to be initiated on the consent token.

The paymentConsentRequestRevoke API call requires a client token with the scope client_recurringpaymentconsentrequest.

The GraphQL API URL https://api.stitch.money/graphql can be used for all consent token revocation requests (whether on test or live clients),

An example of the revocation request is shown below:

Following successful revocation, the consent request status will move to the PaymentConsentRevoked status. A corresponding webhook will also be sent for this update. The revocation process will be complete at this point.