Suspend a payment mandate
Suspend SEPA Direct Debit received payment mandates with the API.
SEPA Direct Debit instructions associated with a Suspended
received payment mandate are Rejected
.
Prerequisites
- You're an account member with the
canInitiatePayments
membership permission. - You only need a project access token for this mutation.
Guide​
- Call the
suspendReceivedDirectDebitMandate
mutation. - Add the ID for the mandate you're suspending.
- Add the
SuspendReceivedDirectDebitMandateSuccessPayload
, including thesuspendedAt
if you'd like to review the exact time and date at which the mandate was suspended. - Add rejections (not shown).
Mutation​
🔎 Open the mutation in API Explorer
mutation SuspendMandate {
suspendReceivedDirectDebitMandate(
input: { receivedDirectDebitMandateId: "$YOUR_MANDATE_ID" }
) {
... on SuspendReceivedDirectDebitMandateSuccessPayload {
__typename
receivedDirectDebitMandate {
id
statusInfo {
status
... on ReceivedDirectDebitMandateStatusInfoSuspended {
__typename
suspendedAt
}
}
}
}
}
}
Payload​
The payload shows the status Suspended
, as well as the date and time at which is was suspended..
{
"data": {
"suspendReceivedDirectDebitMandate": {
"__typename": "SuspendReceivedDirectDebitMandateSuccessPayload",
"receivedDirectDebitMandate": {
"id": "$YOUR_MANDATE_ID",
"statusInfo": {
"status": "Suspended",
"__typename": "ReceivedDirectDebitMandateStatusInfoSuspended",
"suspendedAt": "2024-01-31T13:49:13.620765Z"
}
}
}
}
}