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.
Tip
You can test out a request that hits our sandbox in real-time. Follow the instructions here to use the "Try It!" feature on the right side.
Request Content
Send an altTransaction object, with the following:
Property | Type | Required |
---|---|---|
merchantTransactionId | string | optional |
softDescriptor | string | optional |
amount | decimal | required |
currency | string | required value must be EUR |
taxReference | string | optional |
country | string | optional |
vendorsInfo | object | required if using marketplace vendor(s) (see vendorsInfo) |
payerInfo | object | required if vaultedShopperId is not sent (see payerInfo) |
vaultedShopperId | integer | required if payerInfo is not sent |
sepaDirectDebitTransaction | object | required (see sepaDirectDebitTransaction) |
authorizedByShopper | boolean | required value must be true |
transactionMetaData | object | optional (see transactionMetaData) |
transactionFraudInfo | object | optional (see transactionFraudInfo) |
Response Details
If successful, the response HTTP status code is 200 OK.
The response contains the request properties plus these additions:
Property | Notes |
---|---|
transactionId | |
vaultedShopperId | |
processingInfo | (see processingInfo) |
fraudResultInfo | (see fraudResultInfo) |
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"
}
}
{
"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": {}
}
API Explorer
To test out a basic API request, click the "Try It!" button in the right-hand column to test using the default, pre-populated sample values. To test with your own values, edit the parameter fields below. You'll see them populate in the right-hand column and you can click the "Try It!" button to submit your test request and see a response.