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.
Request Content
Send an alt-transaction container, with the following:
Property | Type | Required |
---|---|---|
amount | decimal | required |
authorized-by-shopper | boolean | required, value must be true |
currency | string | required, value must be EUR |
country | string | optional |
merchant-transaction-id | string | optional |
payer-info | container | required if vaulted-shopper-id is not sent (see payer-info) |
product-description | string | optional |
sepa-direct-debit-transaction | container | required (see sepa-direct-debit-transaction) |
soft-descriptor | string | optional |
tax-reference | string | optional |
transaction-fraud-info | container | optional (see transaction-fraud-info) |
transaction-meta-data | container | optional (see transaction-meta-data) |
vaulted-shopper-id | integer | required if payer-info is not sent |
vendors-info | container | required if using marketplace vendor(s) (see vendors-info) |
Response Details
If successful, the response HTTP status code is 200 OK.
The response contains the request properties plus these additions:
Property | Notes |
---|---|
fraud-result-info | (see fraud-result-info) |
processing-info | (see processing-info) |
transaction-id | |
vaulted-shopper-id | |
vendors-info | (see vendors-info) |
Examples
Request Examples
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<alt-transaction xmlns="http://ws.plimus.com">
<sepa-direct-debit-transaction>
<iban>DE09100100101234567893</iban>
</sepa-direct-debit-transaction>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
</payer-info>
<amount>9.65</amount>
<currency>EUR</currency>
<country>FR</country>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<authorized-by-shopper>true</authorized-by-shopper>
</alt-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<alt-transaction xmlns="http://ws.plimus.com">
<sepa-direct-debit-transaction/>
<vaulted-shopper-id>21786355</vaulted-shopper-id>
<amount>100.00</amount>
<currency>EUR</currency>
<country>FR</country>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<authorized-by-shopper>true</authorized-by-shopper>
</alt-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<alt-transaction xmlns="http://ws.plimus.com">
<sepa-direct-debit-transaction>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
</sepa-direct-debit-transaction>
<vaulted-shopper-id>19557478</vaulted-shopper-id>
<amount>100.00</amount>
<currency>EUR</currency>
<country>FR</country>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<authorized-by-shopper>true</authorized-by-shopper>
</alt-transaction>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<alt-transaction xmlns="http://ws.plimus.com">
<sepa-direct-debit-transaction>
<iban>DE09100100101234567893</iban>
</sepa-direct-debit-transaction>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
</payer-info>
<amount>12.65</amount>
<currency>EUR</currency>
<tax-reference>048deff0-a285-47e1-bc39-42f79bf0095b</tax-reference>
<country>FR</country>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<authorized-by-shopper>true</authorized-by-shopper>
</alt-transaction>'
Response Examples
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alt-transaction xmlns="http://ws.plimus.com">
<transaction-id>1011189089</transaction-id>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<amount>9.65</amount>
<currency>EUR</currency>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
</payer-info>
<vaulted-shopper-id>21781957</vaulted-shopper-id>
<sepa-direct-debit-transaction>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
<mandate-id>Ooo153451</mandate-id>
<mandate-date>01-Aug-17</mandate-date>
<pre-notification-text>The amount of 9.65 EUR will be collected using SEPA Direct Debit with Mandate Ooo153451 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
<pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011189089</pre-notification-translation-ref>
</sepa-direct-debit-transaction>
<processing-info>
<processing-status>PENDING</processing-status>
<transaction-region>UK</transaction-region>
</processing-info>
</alt-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alt-transaction xmlns="http://ws.plimus.com">
<transaction-id>38490478</transaction-id>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<amount>100.00</amount>
<currency>EUR</currency>
<vaulted-shopper-id>21786355</vaulted-shopper-id>
<sepa-direct-debit-transaction>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
<mandate-id>BS141932</mandate-id>
<mandate-date>29-Jun-17</mandate-date>
<pre-notification-text>The amount of 100.00 EUR will be collected using SEPA Direct Debit with Mandate BS141932 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
<pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=38490478</pre-notification-translation-ref>
</sepa-direct-debit-transaction>
<processing-info>
<processing-status>PENDING</processing-status>
</processing-info>
</alt-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alt-transaction xmlns="http://ws.plimus.com">
<transaction-id>38490482</transaction-id>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<amount>100.00</amount>
<currency>EUR</currency>
<vaulted-shopper-id>19557478</vaulted-shopper-id>
<sepa-direct-debit-transaction>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
<mandate-id>BS141936</mandate-id>
<mandate-date>29-Jun-17</mandate-date>
<pre-notification-text>The amount of 100.00 EUR will be collected using SEPA Direct Debit with Mandate BS141936 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
<pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=38490482</pre-notification-translation-ref>
</sepa-direct-debit-transaction>
<processing-info>
<processing-status>PENDING</processing-status>
</processing-info>
</alt-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alt-transaction xmlns="http://ws.plimus.com">
<transaction-id>1011189089</transaction-id>
<soft-descriptor>ABC COMPANY</soft-descriptor>
<amount>12.65</amount>
<currency>EUR</currency>
<tax-reference>048deff0-a285-47e1-bc39-42f79bf0095b</tax-reference>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
</payer-info>
<vaulted-shopper-id>21781957</vaulted-shopper-id>
<sepa-direct-debit-transaction>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
<mandate-id>Ooo153451</mandate-id>
<mandate-date>01-Aug-17</mandate-date>
<pre-notification-text>The amount of 9.65 EUR will be collected using SEPA Direct Debit with Mandate Ooo153451 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
<pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011189089</pre-notification-translation-ref>
</sepa-direct-debit-transaction>
<processing-info>
<processing-status>PENDING</processing-status>
</processing-info>
</alt-transaction>