# SEPA Direct Debit

SEPA transactions can also be processed via the Saferpay JSON API, through a partnership with Intercard.

## General requirements

The handling of SEPA payments with Saferpay requires:

* A [corresponding license ](/home/master/licensing.md)and thus a valid identification with a username and password for the Saferpay system.
* Availability of at least one active Saferpay terminal via which payment can be carried out and availability of the associated Saferpay TerminalId.
* A valid SEPA contract with Intercard.

{% hint style="info" %}
For SEPA activation on the Saferpay terminal and the necessary contract, please contact your Saferpay sales contact.
{% endhint %}

### Technical requirements

The general integration of SEPA Direct Debit can be done either via the [Payment Page](/home/integration-guide/licences-and-interfaces/payment-page.md), or the Transaction Interface and requires the following things to be considered:

* SEPA makes it necessary to define a unique SEPA MandateId for each transaction. You -the merchant- have two options to deal with this requirement:
  * &#x20;You can define your own MandateId and submit it inside the **Payment.MandateId** parameter within the initialize request! **Make sure it is unique!**
  * &#x20;If **Payment.MandateId** is not used, Saferpay will use the Saferpay TransactionId as its replacement, which is unique. You can find this value inside the authorization response as **Transaction.Id**!
  * On the [Payment Page](/home/integration-guide/licences-and-interfaces/payment-page.md), Saferpay will also display a mandate text, which the user has to agree to, before a payment can be made. If you use the transaction interface instead (see below), you must formulate and present a text yourself. The payer must agree to a SEPA mandate, or you are not allowed to carry out the payment!
* The Integration via the Transaction Interface is only possible via direct post, using [Authorize Direct](https://saferpay.github.io/jsonapi/#Payment_v1_Transaction_AuthorizeDirect).
  * In this case, you must also display your own mandate text!

Furthermore, for other flows (Refunds etc.), please refer to the table below.

### Supported features

| Feature                                                                                                                                                                               |                                           Support                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------: |
| [Capture](/home/integration-guide/licences-and-interfaces/capture-and-daily-closing.md)/[Cancel](/home/integration-guide/licences-and-interfaces/capture-and-daily-closing.md#cancel) |                                              ✅                                             |
| Multipart Captures                                                                                                                                                                    |                                              ❌                                             |
| [Secure Card Data](/home/integration-guide/licences-and-interfaces/secure-card-data.md)                                                                                               |                                              ✅                                             |
| Refunds                                                                                                                                                                               | <p>✅</p><p><a href="/pages/-MeA4UyNrUeAqX_6hTDv"><strong>Needs attention!</strong></a></p> |
| [Recurring Payments](/home/integration-guide/licences-and-interfaces/transaction-interface/recurring-payments.md)                                                                     |                                              ✅                                             |
| 3D Secure                                                                                                                                                                             |                                              ❌                                             |
| Dynamic Currency Conversion                                                                                                                                                           |                                              ❌                                             |
| Mail Phone Order                                                                                                                                                                      |                                              ❌                                             |
| [Testing](#testing)                                                                                                                                                                   |                                              ✅                                             |
| Omni-Channel                                                                                                                                                                          |                                              ❌                                             |

## Testing

Please refer to [this chapter](/home/integration-guide/testing-and-go-live.md#sepa-direct-debit), if you want to test SEPA Direct Debit.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.saferpay.com/home/integration-guide/payment-methods/sepa-direct-debit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
