Create SEPA DD Transaction

The Create SEPA DD Transaction request performs a transaction (purchase) using the SEPA Direct Debit payment method. Note that the shopper's account is not immediately debited - it takes about 5 to 6 business days for the shopper's bank to approve the charge and for their account to be debited.

For more information, see the SEPA Direct Debit guide.

๐Ÿ‘

Prerequisite: Have SEPA enabled for your account

Contact Merchant Support to have SEPA Direct Debit enabled for your account.


๐Ÿ“˜

Send a test request

Go to API Explorer to send a test request to our sandbox environment and receive a response in real time.

Request Content

Send an altTransaction object, with the following:

PropertyTypeRequired
merchantTransactionIdstringoptional
softDescriptorstringoptional
amountdecimalrequired
currencystringrequired

value must be EUR
productDescriptionstringoptional
taxReferencestringoptional
countrystringoptional
vendorsInfoobjectrequired if using marketplace vendor(s) (see vendorsInfo)
payerInfoobjectrequired if vaultedShopperId is not sent (see payerInfo)
vaultedShopperIdintegerrequired if payerInfo is not sent
sepaDirectDebitTransactionobjectrequired (see sepaDirectDebitTransaction)
authorizedByShopperbooleanrequired

value must be true
transactionMetaDataobjectoptional (see transactionMetaData)
transactionFraudInfoobjectoptional (see transactionFraudInfo)

Response Details

If successful, the response HTTP status code is 200 OK.
The response contains the request properties plus these additions:

PropertyNotes
transactionId
vaultedShopperId
processingInfo(see processingInfo)
fraudResultInfo(see fraudResultInfo)

Back to Top


Examples

Request Examples

curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
  "sepaDirectDebitTransaction": {
      "iban": "DE09100100101234567893"
  },
  "payerInfo": {
      "firstName": "John",
      "lastName": "Doe"
  },
  "amount": 9.65,
  "currency": "EUR",
  "country": "FR",
  "softDescriptor": "ABC COMPANY",
  "authorizedByShopper": true
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
  "sepaDirectDebitTransaction": {}, 
  "vaultedShopperId": 21786355,
  "amount": 9.65,
  "currency": "EUR",
  "country": "FR",
  "softDescriptor": "ABC COMPANY",
  "authorizedByShopper": true
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
  "sepaDirectDebitTransaction": {
        "ibanFirstFour": "DE09",
        "ibanLastFour": "7893"
  },
  "vaultedShopperId": "21781965",
  "amount": 9.65,
  "currency": "EUR",
  "country": "FR",
  "softDescriptor": "ABC COMPANY",
  "authorizedByShopper": true
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
  "sepaDirectDebitTransaction": {
      "iban": "DE09100100101234567893"
  },
  "payerInfo": {
      "firstName": "John",
      "lastName": "Doe"
  },
  "amount": 12.65,
  "currency": "EUR",
  "country": "FR",
  "taxReference": "048deff0-a285-47e1-bc39-42f79bf0095b",
  "softDescriptor": "ABC COMPANY",
  "authorizedByShopper": true
}'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
{
  "transactionOrderSource": "MOTO",
  "sepaDirectDebitTransaction": {
      "iban": "DE09100100101234567893"
  },
  "payerInfo": {
      "firstName": "John",
      "lastName": "Doe"
  },
  "amount": 9.65,
  "currency": "EUR",
  "country": "FR",
  "softDescriptor": "ABC COMPANY",
  "authorizedByShopper": true
}'

Response Examples

{
    "transactionId": "1011183521",
    "softDescriptor": "ABC COMPANY",
    "amount": 9.65,
    "currency": "EUR",
    "payerInfo": {
        "firstName": "John",
        "lastName": "Doe"
    },
    "vaultedShopperId": 21781957,
    "sepaDirectDebitTransaction": {
        "ibanFirstFour": "DE09",
        "ibanLastFour": "7893",
        "mandateId": "Ooo153451",
        "mandateDate": "21-Jul-17",
        "preNotificationText": "The amount of 9.65 EUR will be collected using SEPA Direct Debit with Mandate Ooo153451 from your bank account IBAN DE09XXXXXX7891 in the next few days. Please ensure sufficient funds in your account.",
        "preNotificationTranslationRef": "https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011183521"
    },
    "processingInfo": {
        "processingStatus": "PENDING",
        "transactionRegion": "UK"
    }
}
{
    "transactionId": "1011189089",
    "softDescriptor": "ABC COMPANY",
    "amount": 9.65,
    "currency": "EUR",
    "vaultedShopperId": 21786355,
    "sepaDirectDebitTransaction": {
        "ibanFirstFour": "DE09",
        "ibanLastFour": "7893",
        "mandateId": "Ooo153465",
        "mandateDate": "21-Jul-17",
        "preNotificationText": "The amount of 9.65 EUR will be collected using SEPA Direct Debit with Mandate Ooo153465 from your bank account IBAN DE09XXXXXX7891 in the next few days. Please ensure sufficient funds in your account.",
        "preNotificationTranslationRef": "https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011189089"
    },
    "processingInfo": {
        "processingStatus": "PENDING"
    }
}
{
    "transactionId": "1011188517",
    "softDescriptor": "ABC COMPANY",
    "amount": 9.65,
    "currency": "EUR",
    "vaultedShopperId": 21781965,
    "sepaDirectDebitTransaction": {
        "ibanFirstFour": "DE09",
        "ibanLastFour": "7893",
        "mandateId": "Ooo153463",
        "mandateDate": "21-Jul-17",
        "preNotificationText": "The amount of 9.65 EUR will be collected using SEPA Direct Debit with Mandate Ooo153463 from your bank account IBAN DE09XXXXXX7891 in the next few days. Please ensure sufficient funds in your account.",
        "preNotificationTranslationRef": "https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011188517"
    },
    "processingInfo": {
        "processingStatus": "PENDING"
    }
}
{
    "transactionId": "1011183521",
    "softDescriptor": "ABC COMPANY",
    "amount": 12.65,
    "currency": "EUR",
    "taxReference": "048deff0-a285-47e1-bc39-42f79bf0095b",
    "payerInfo": {
        "firstName": "John",
        "lastName": "Doe"
    },
    "vaultedShopperId": 21781957,
    "sepaDirectDebitTransaction": {
        "ibanFirstFour": "DE09",
        "ibanLastFour": "7893",
        "mandateId": "Ooo153451",
        "mandateDate": "21-Jul-17",
        "preNotificationText": "The amount of 12.65 EUR will be collected using SEPA Direct Debit with Mandate Ooo153451 from your bank account IBAN DE09XXXXXX7891 in the next few days. Please ensure sufficient funds in your account.",
        "preNotificationTranslationRef": "https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011183521"
    },
    "processingInfo": {
        "processingStatus": "PENDING"
    }
}
{
    "transactionId": "1066353551",
    "softDescriptor": "ABC COMPANY",
    "amount": 9.65,
    "currency": "EUR",
    "payerInfo": {
        "firstName": "John",
        "lastName": "Doe"
    },
    "vaultedShopperId": 37729727,
    "sepaDirectDebitTransaction": {
        "ibanFirstFour": "DE09",
        "ibanLastFour": "7893",
        "mandateId": "Blu314913",
        "mandateDate": "11-Aug-22",
        "preNotificationText": "The amount of 9.65 EUR will be collected using SEPA Direct Debit with Mandate Blu314913 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.",
        "preNotificationTranslationRef": "https://sandbox.bluesnap.com:443/services/2/translations/sepa/prenotification?transactionid=1066353551"
    },
    "processingInfo": {
        "processingStatus": "PENDING"
    },
    "fraudResultInfo": {}
}

Back to Top


API Explorer

BlueSnap provides a sandbox environment so you can test basic requests with this endpoint. You can view the request in the API Explorer console and its response directly below the console.

The console includes a sample request with predefined parameter values. To send a request with custom values, edit the parameter fields below. As you edit the fields, your custom values display in the request in the console.

Click the Try it! button below the request example when you are ready to send your request.

Language
Authorization
Header
Click Try It! to start a request and see the response here!