> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/mutations/create-sepa-mandate.md).

# createSepaMandate

Creates a SEPA Direct Debit mandate from IBAN details and sets it as the subscription payment method.

### Arguments

| Argument                                                                                                                          | Description                      |
| --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| input ([CreateSepaMandateInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/create-sepa-mandate-input.md)!) | Parameters for CreateSepaMandate |

### CreateSepaMandateInput Arguments

| Argument                                                                                                 | Description                                                           |
| -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| subscriptionId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id.md)!)          | The ID of the subscription to create a SEPA Direct Debit mandate for. |
| accountName ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string.md)!)     | The account holder name for the SEPA Direct Debit mandate.            |
| accountIban ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string.md)!)     | The IBAN for the SEPA Direct Debit mandate.                           |
| mandateReference ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string.md)) | Optional reference for the SEPA mandate.                              |

### Return fields

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error.md)!]!)

#### subscription ([Subscription](https://developer.firmhouse.com/graphql-api/api-reference/objects/subscription.md))
