curl --request POST \
--url https://app.pennylane.com/api/external/v2/gocardless_mandates/{gocardless_mandate_id}/cancellations \
--header 'Authorization: Bearer <token>'
This response does not have an example.
Cancels a specific Gocardless mandate by ID. The mandate must be in a cancellable state, having one of the following statuses: pending_submission
, submitted
or active
.
ℹ️ This endpoint requires one of the following scopes:
customer_mandates:all
curl --request POST \
--url https://app.pennylane.com/api/external/v2/gocardless_mandates/{gocardless_mandate_id}/cancellations \
--header 'Authorization: Bearer <token>'
This response does not have an example.
The access token received from the authorization server in the OAuth 2.0 flow.
ID of the Gocardless mandate to cancel
Mandate cancelled successfully. No content returned.
Was this page helpful?