# Direct debit mandates ## Create a direct debit mandate - [PUT /customers/{id}/directdebitmandates](https://developer.adfin.com/products/direct-integration/direct-integration-api-reference/direct-debit-mandates/create.md): The request body is optional. It may carry a redirectUrl and, through mandateRemindersPreferences, ask the agent to remind the customer to set the mandate up. Reminders are off unless mandateRemindersPreferences.mandateReminders.enabled is true. Set mandateRemindersPreferences.useAgentDefaults to true to leave the customer's reminder configuration untouched. Bank details cannot be submitted through the API: the customer authorises the mandate themselves via the url returned in the response. In staging, you can open that link yourself and complete it with test bank details. ## Reinstate a cancelled direct debit mandate - [PUT /customers/directdebitmandates/{id}:reinstate](https://developer.adfin.com/products/direct-integration/direct-integration-api-reference/direct-debit-mandates/reinstatedirectdebitmandate.md) ## Cancel a direct debit mandate - [PUT /customers/directdebitmandates/{id}:cancel](https://developer.adfin.com/products/direct-integration/direct-integration-api-reference/direct-debit-mandates/canceldirectdebitmandate.md) ## Search direct debit mandates by filters - [GET /customers/directdebitmandates](https://developer.adfin.com/products/direct-integration/direct-integration-api-reference/direct-debit-mandates/searchdirectdebitmandates.md) ## Retrieve a direct debit mandate - [GET /customers/directdebitmandates/{id}](https://developer.adfin.com/products/direct-integration/direct-integration-api-reference/direct-debit-mandates/getdirectdebitmandate.md)