{"_id":"59a45d2dd12e81000f842f69","category":{"_id":"59a45d2bd12e81000f842ee7","version":"59a45d2bd12e81000f842ee2","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-07-10T15:05:46.960Z","from_sync":false,"order":4,"slug":"sepa-direct-debit-transactions","title":"SEPA Direct Debit Transactions"},"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","parentDoc":null,"version":{"_id":"59a45d2bd12e81000f842ee2","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-08-28T18:12:59.168Z","releaseDate":"2017-08-28T18:12:59.168Z","categories":["59a45d2bd12e81000f842ee3","59a45d2bd12e81000f842ee4","59a45d2bd12e81000f842ee5","59a45d2bd12e81000f842ee6","59a45d2bd12e81000f842ee7","59a45d2bd12e81000f842ee8","59a45d2bd12e81000f842ee9","59a45d2bd12e81000f842eea","59a45d2bd12e81000f842eeb","59a45d2bd12e81000f842eec","59a45d2bd12e81000f842eed","59a45d2bd12e81000f842eee","59a45d2bd12e81000f842eef","59a45d2bd12e81000f842ef0","59a45d2bd12e81000f842ef1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.22.1","version_clean":"8976.0.0-JSON","version":"8976-JSON"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-07-10T15:07:11.438Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"57ee593a21ceb20e0061959e","examples":{"codes":[]},"method":"post","auth":"optional","params":[],"url":"/alt-transactions"},"isReference":false,"order":11,"body":"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. \n\nFor more information, see the [SEPA Direct Debit](/v1.0/docs/sepa-direct-debit) guide.\n\n<br>\n[block:callout]\n{\n  \"type\": \"success\",\n  \"body\": \"Contact [merchant support](mailto:\\\"merchants:::at:::bluesnap.com) to have SEPA Direct Debit enabled for your account.\",\n  \"title\": \"Prerequisite: Have SEPA enabled for your account\"\n}\n[/block]\n<a class=\"btn btn-success\" href=\"#section-api-explorer\" role=\"button\">Try it in the API Explorer</a>\n\n###Request Content\nSend an **[altTransaction](doc:alt-transaction)** object, with the following:\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`merchantTransactionId` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;optional\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`softDescriptor` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;optional\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`amount` &nbsp;&nbsp;&nbsp; *decimal* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`currency` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>&nbsp;&nbsp;&nbsp;value must be **EUR**\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`payerInfo` &nbsp;&nbsp;&nbsp; *object* &nbsp;&nbsp;&nbsp;<span style=\"color:#F38A00\">**required** if `vaultedShopperId` is not sent</span> (see [payerInfo](doc:payer-info))\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vaultedShopperId` &nbsp;&nbsp;&nbsp; *integer* &nbsp;&nbsp;&nbsp;<span style=\"color:#F38A00\">**required** if `payerInfo` is not sent</span>\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`sepaDirectDebitTransaction` &nbsp;&nbsp;&nbsp; *object* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> (see [sepaDirectDebitTransaction](doc:sepadirectdebittransaction))\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`authorizedByShopper` &nbsp;&nbsp;&nbsp; *boolean* &nbsp;&nbsp;&nbsp;<span style=\"color:#F38A00\">**required**</span>&nbsp;&nbsp;&nbsp;value must be **true**\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transactionMetaData` &nbsp;&nbsp;&nbsp; *object* &nbsp;&nbsp;&nbsp;optional (see [transactionMetaData](doc:transaction-meta-data))\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transactionFraudInfo` &nbsp;&nbsp;&nbsp; *object* &nbsp;&nbsp;&nbsp;optional (see [transactionFraudInfo](doc:transaction-fraud-info))\n\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response contains the request properties plus these additions:\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transactionId`\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vaultedShopperId`\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`processingInfo`&nbsp;&nbsp;&nbsp;(see [processingInfo](doc:processing-info))\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`fraudResultInfo`&nbsp;&nbsp;&nbsp;(see [fraudResultInfo](doc:fraud-result-info))\n\n<hr>\n\n##Examples\n\n###Request Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n  \\\"sepaDirectDebitTransaction\\\": {\\n      \\\"iban\\\": \\\"DE09100100101234567893\\\"\\n  },\\n  \\\"payerInfo\\\": {\\n      \\\"firstName\\\": \\\"John\\\",\\n      \\\"lastName\\\": \\\"Doe\\\"\\n  },\\n  \\\"amount\\\": 9.65,\\n  \\\"currency\\\": \\\"EUR\\\",\\n  \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n  \\\"authorizedByShopper\\\": true\\n}'\",\n      \"language\": \"curl\",\n      \"name\": \"Create SEPA DD Transaction: Basic with payer info\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n  \\\"sepaDirectDebitTransaction\\\": {}, \\n  \\\"vaultedShopperId\\\": 21786355,\\n  \\\"amount\\\": 9.65,\\n  \\\"currency\\\": \\\"EUR\\\",\\n  \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n  \\\"authorizedByShopper\\\": true\\n}'\",\n      \"language\": \"curl\",\n      \"name\": \"with vaulted shopper with one saved account\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/alt-transactions/ \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n  \\\"sepaDirectDebitTransaction\\\": {\\n        \\\"ibanFirstFour\\\": \\\"DE09\\\",\\n        \\\"ibanLastFour\\\": \\\"7893\\\"\\n  },\\n  \\\"vaultedShopperId\\\": \\\"21781965\\\",\\n  \\\"amount\\\": 9.65,\\n  \\\"currency\\\": \\\"EUR\\\",\\n  \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n  \\\"authorizedByShopper\\\": true\\n}'\",\n      \"language\": \"curl\",\n      \"name\": \"with vaulted shopper with multiple saved accounts\"\n    }\n  ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"transactionId\\\": \\\"1011183521\\\",\\n    \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n    \\\"amount\\\": 9.65,\\n    \\\"currency\\\": \\\"EUR\\\",\\n    \\\"payerInfo\\\": {\\n        \\\"firstName\\\": \\\"John\\\",\\n        \\\"lastName\\\": \\\"Doe\\\"\\n    },\\n    \\\"vaultedShopperId\\\": 21781957,\\n    \\\"sepaDirectDebitTransaction\\\": {\\n        \\\"ibanFirstFour\\\": \\\"DE09\\\",\\n        \\\"ibanLastFour\\\": \\\"7893\\\",\\n        \\\"mandateId\\\": \\\"Ooo153451\\\",\\n        \\\"mandateDate\\\": \\\"21-Jul-17\\\",\\n        \\\"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.\\\",\\n        \\\"preNotificationTranslationRef\\\": \\\"https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011183521\\\"\\n    },\\n    \\\"processingInfo\\\": {\\n        \\\"processingStatus\\\": \\\"PENDING\\\"\\n    }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Create SEPA DD Transaction: 200 OK - Basic with payer info\"\n    },\n    {\n      \"code\": \"{\\n    \\\"transactionId\\\": \\\"1011189089\\\",\\n    \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n    \\\"amount\\\": 9.65,\\n    \\\"currency\\\": \\\"EUR\\\",\\n    \\\"vaultedShopperId\\\": 21786355,\\n    \\\"sepaDirectDebitTransaction\\\": {\\n        \\\"ibanFirstFour\\\": \\\"DE09\\\",\\n        \\\"ibanLastFour\\\": \\\"7893\\\",\\n        \\\"mandateId\\\": \\\"Ooo153465\\\",\\n        \\\"mandateDate\\\": \\\"21-Jul-17\\\",\\n        \\\"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.\\\",\\n        \\\"preNotificationTranslationRef\\\": \\\"https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011189089\\\"\\n    },\\n    \\\"processingInfo\\\": {\\n        \\\"processingStatus\\\": \\\"PENDING\\\"\\n    }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"200 OK - with vaulted shopper with one saved account\"\n    },\n    {\n      \"code\": \"{\\n    \\\"transactionId\\\": \\\"1011188517\\\",\\n    \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n    \\\"amount\\\": 9.65,\\n    \\\"currency\\\": \\\"EUR\\\",\\n    \\\"vaultedShopperId\\\": 21781965,\\n    \\\"sepaDirectDebitTransaction\\\": {\\n        \\\"ibanFirstFour\\\": \\\"DE09\\\",\\n        \\\"ibanLastFour\\\": \\\"7893\\\",\\n        \\\"mandateId\\\": \\\"Ooo153463\\\",\\n        \\\"mandateDate\\\": \\\"21-Jul-17\\\",\\n        \\\"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.\\\",\\n        \\\"preNotificationTranslationRef\\\": \\\"https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011188517\\\"\\n    },\\n    \\\"processingInfo\\\": {\\n        \\\"processingStatus\\\": \\\"PENDING\\\"\\n    }\\n}\",\n      \"language\": \"json\",\n      \"name\": \"200 OK - with vaulted shopper with multiple saved accounts\"\n    }\n  ]\n}\n[/block]\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##Example Descriptions\nFor details about the above examples, see:\n* [Create basic SEPA DD transaction with payer info](#section-create-basic-sepa-dd-transaction-with-payer-info)\n* [Create SEPA DD transaction with vaulted shopper with one saved account](#section-create-sepa-dd-transaction-with-vaulted-shopper-with-one-saved-account)\n* [Create SEPA DD transaction with vaulted shopper with multiple saved accounts](#section-create-sepa-dd-transaction-with-vaulted-shopper-with-multiple-saved-accounts)\n\n###Create basic SEPA DD Transaction with payer info\nThis example shows a basic Create SEPA DD Transaction request with a new shopper. For all SEPA DD transactions, include the `authorizedByShopper` property with the value set to **true** to indicate that you have obtained the shopper's [mandate acceptance](/v1.0/docs/sepa-direct-debit#section-step-1-collect-a-mandate-acceptance-from-your-shopper).\n\nA successful response from BlueSnap will include a `mandateId` and `mandateDate`, whose values identify the shopper's mandate acceptance and the date on which the mandate was accepted, respectively. These two values must be displayed on the post-checkout page, the pre-notification email, and the receipt email. \n\nAdditionally, the response will contain `preNotificationText` - the standard text (in English) that you must display in the pre-notification email - and `preNotificationTranslationRef` - [Get Pre-Notification Text](/v4.0/docs/get-pre-notification-text) endpoint to obtain text in another language. \n\n###Create SEPA DD Transaction with vaulted shopper with one saved account\nTo perform a Create SEPA DD Transaction with an existing vaulted shopper with one saved bank account, you'll include the `vaultedShopperId` property within the **[altTransaction](doc:alt-transaction)** object in your request. The `sepaDirectDebitTransaction` property can be left empty, as shown in the example. \n\n###Create SEPA DD Transaction with vaulted shopper with multiple saved accounts\nTo perform a Create SEPA DD Transaction request with an existing vaulted shopper with multiple saved bank accounts, you'll include the `vaultedShopperId` property within the **[altTransaction](doc:alt-transaction)** object in your request. Additionally, you'll specify the shopper's bank account by including `ibanFirstFour` and `ibanLastFour` within the `sebaDirectDebitTransaction` property. \n\nThe above example includes an existing vaulted shopper with ID 21781965, and their bank account is specified by the first four characters (DE09) and last four characters (7893) of the IBAN. \n\n<br>\n\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##API Explorer\nTo test out a call, enter the request content below and then click **Try it!**\n\n**Tip**: Use the JSON code below as a starting point. You can enter different parameters to see how your test scenario would work. *The request headers, including authorization, are already built in for you in this test area, so you should not include them here.*\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"sepaDirectDebitTransaction\\\": {\\n      \\\"iban\\\": \\\"DE09100100101234567893\\\"\\n  },\\n  \\\"payerInfo\\\": {\\n      \\\"firstName\\\": \\\"John\\\",\\n      \\\"lastName\\\": \\\"Doe\\\"\\n  },\\n  \\\"amount\\\": 9.65,\\n  \\\"currency\\\": \\\"EUR\\\",\\n  \\\"softDescriptor\\\": \\\"ABC COMPANY\\\",\\n  \\\"authorizedByShopper\\\": true\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"create-sepa-dd-transaction","type":"post","title":"Create SEPA DD Transaction"}

postCreate SEPA DD Transaction


Definition

{{ api_url }}{{ page_api_url }}

Documentation

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.

Try it in the API Explorer

Request Content

Send an altTransaction object, with the following:

      merchantTransactionId     string    optional

      softDescriptor     string    optional

      amount     decimal    required

      currency     string    required   value must be EUR

      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:

      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",
  "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",
  "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",
  "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"
    }
}

Back to Top


Example Descriptions

For details about the above examples, see:

Create basic SEPA DD Transaction with payer info

This example shows a basic Create SEPA DD Transaction request with a new shopper. For all SEPA DD transactions, include the authorizedByShopper property with the value set to true to indicate that you have obtained the shopper's mandate acceptance.

A successful response from BlueSnap will include a mandateId and mandateDate, whose values identify the shopper's mandate acceptance and the date on which the mandate was accepted, respectively. These two values must be displayed on the post-checkout page, the pre-notification email, and the receipt email.

Additionally, the response will contain preNotificationText - the standard text (in English) that you must display in the pre-notification email - and preNotificationTranslationRef - Get Pre-Notification Text endpoint to obtain text in another language.

Create SEPA DD Transaction with vaulted shopper with one saved account

To perform a Create SEPA DD Transaction with an existing vaulted shopper with one saved bank account, you'll include the vaultedShopperId property within the altTransaction object in your request. The sepaDirectDebitTransaction property can be left empty, as shown in the example.

Create SEPA DD Transaction with vaulted shopper with multiple saved accounts

To perform a Create SEPA DD Transaction request with an existing vaulted shopper with multiple saved bank accounts, you'll include the vaultedShopperId property within the altTransaction object in your request. Additionally, you'll specify the shopper's bank account by including ibanFirstFour and ibanLastFour within the sebaDirectDebitTransaction property.

The above example includes an existing vaulted shopper with ID 21781965, and their bank account is specified by the first four characters (DE09) and last four characters (7893) of the IBAN.


Back to Top


API Explorer

To test out a call, enter the request content below and then click Try it!

Tip: Use the JSON code below as a starting point. You can enter different parameters to see how your test scenario would work. The request headers, including authorization, are already built in for you in this test area, so you should not include them here.

{
  "sepaDirectDebitTransaction": {
      "iban": "DE09100100101234567893"
  },
  "payerInfo": {
      "firstName": "John",
      "lastName": "Doe"
  },
  "amount": 9.65,
  "currency": "EUR",
  "softDescriptor": "ABC COMPANY",
  "authorizedByShopper": true
}

User Information

Try It Out


post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}