SEPA direct debit
REST API
In order to perform a SEPA (Single Euro Payments Area) direct debit via the RESTful payment API you need to use the requestType
= "SepaSaleTransaction" in combination with paymentMethod
= "sepa". For a credit use requestType
= "SepaCreditTransaction" in combination with paymentMethod
= "sepa".
Under the sepa
object the following fields are expected:
Field name | Type | Description |
---|---|---|
iban | Mandatory | Send the IBAN (International Bank Account Number)of the cardholder |
name | Mandatory | Name of the cardholder |
email | Optional | Mail address of the cardholder |
mandate.reference | Mandatory 'SepaSaleTransaction' | Number of the SEPA mandate |
mandate.signatureDate | Mandatory 'SepaSaleTransaction' | Date when the cardholder has provided the approval for the direct debit |
mandate.type | Mandatory 'SepaSaleTransaction' | Type of the mandate. Possible values: SINGLE, FIRST_COLLECTION; RECURRING_COLLECTION, FINAL_COLLECTION |
mandate.url | Optional | Valid URL pointing to the SEPA mandate |
For more details please refer to the API reference.
The following JSON document represent an example of request and response of SepaSaleTransaction
including minimal set of elements:
{
"requestType":"SepaSaleTransaction",
"order":
{
"orderId":330655},
"transactionAmount":
{
"total":2.5,
"currency":"EUR"
},
"paymentMethod":
{
"sepa":
{
"iban":"DE1234567895678912345",
"name":"Max Mustermann",
"mandate":
{
"reference":"REXF199901629623-01",
"signatureDate":"2024-05-08",
"type":"SINGLE"
}
}
},"transactionOrigin":"ECOM"
}
{
"type": "transactionResponse",
"clientRequestId": "xxxba39-f99b-43a2-xxxx-e56xxxb5ec2b",
"apiTraceId": "Zk8@xxxKDTEnxxxzublAAAAn4",
"ipgTransactionId": "8300000006305",
"orderId": "31234455",
"transactionType": "SALE",
"paymentToken": {
"reusable": true,
"declineDuplicates": false,
"type": "PAYMENT_CARD"
},
"transactionOrigin": "ECOM",
"paymentMethodDetails": {
"paymentCard": {
"number": "DE1234...2345",
"bic": "BYLXXXM1001"
},
"paymentMethodType": "DEBITDE",
"paymentMethodBrand": "DEBITDE"
},
"terminalId": "99998877",
"merchantId": "77889966",
"transactionTime": 1716469469,
"approvedAmount": {
"total": 2.50,
"currency": "EUR",
"components": {
"subtotal": 2.50
}
},
"transactionAmount": {
"total": 2.50,
"currency": "EUR",
"components": {
"subtotal": 2.50
}
},
"transactionStatus": "APPROVED",
"approvalCode": "Y:000000:9896846305:PPXM:0603158503",
"processor": {
"referenceNumber": "000000",
"authorizationCode": "000000",
"responseCode": "00",
"responseMessage": "Function performed error-free"
}
Updated 5 days ago