{"_id":"5b197473be7bb50003d5dbad","category":{"_id":"5b197473be7bb50003d5dba2","version":"5b197473be7bb50003d5dbd6","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-07-17T15:23:16.104Z","from_sync":false,"order":9,"slug":"sepa-direct-debit","title":"SEPA Direct Debit"},"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","parentDoc":null,"version":{"_id":"5b197473be7bb50003d5dbd6","project":"57336fd5a6a9c40e00e13a0b","__v":2,"forked_from":"5addf90f94fe9d0003cd9d29","createdAt":"2018-04-23T15:17:35.680Z","releaseDate":"2018-04-23T15:17:35.680Z","categories":["5b197473be7bb50003d5db9c","5b197473be7bb50003d5db9d","5b197473be7bb50003d5db9e","5b197473be7bb50003d5db9f","5b197473be7bb50003d5dba0","5b197473be7bb50003d5dba1","5b197473be7bb50003d5dba2","5b197473be7bb50003d5dba3","5b197473be7bb50003d5dba4","5b197473be7bb50003d5dba5","5b197473be7bb50003d5dba6","5b27bded4799c70003f36389","5b34c737e0dca2000311de6a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.26 Release","version_clean":"8976.0.0-Tools","version":"8976-Tools"},"githubsync":"","__v":4,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-07-17T15:24:38.722Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"57ee593a21ceb20e0061959e","examples":{"codes":[]},"method":"get","auth":"optional","params":[{"_id":"596cf413114cc1001ae042f8","ref":"","in":"query","required":false,"desc":"Two letter ISO 639-1 language code (see below for supported languages). Useful for getting text in a specific language. Omitting parameter gets text in all supported languages.","default":"","type":"string","name":"language"},{"_id":"596cf413114cc1001ae042f9","ref":"","in":"query","required":false,"desc":"BlueSnap transaction identifier. Useful for getting text populated with details for a specific transaction (i.e. amount, mandate ID, public representation of IBAN). Omitting parameter gets text with transaction detail placeholders.","default":"","type":"string","name":"transactionid"}],"url":"/translations/sepa/prenotification"},"isReference":false,"order":1,"body":"[block:html]\n{\n  \"html\": \"<script>\\n  // hide body textbox of API Explorer\\n $(document).ready(function() {\\n  $(\\\"textarea[placeholder='Body Content']\\\").hide();  \\n }); \\n</script>\"\n}\n[/block]\nThis request gets the text for the [SEPA Direct Debit](/docs/sepa-direct-debit) pre-notification email.  \n<span></span>\n<a class=\"btn btn-success\" href=\"#section-api-explorer-json-\" role=\"button\">Try it in the API Explorer</a>\n<br>\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Supported ISO 639-1 language codes\",\n  \"body\": \"Bulgarian (bg), Czech (cs), Danish (da), Dutch (nl), Estonian (et), Finnish (fi), French (fr), German (de), Greek (el), Hungarian (hu), Italian (it), Latvian (lv), Lithuanian (lt), Maltese (mt), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Slovak (sk), Slovenian (sl), Swedish (sv)\"\n}\n[/block]\n\n[block:html]\n{\n  \"html\": \"<ul class=\\\"nav nav-pills nav-justified\\\">\\n  <li class=\\\"active\\\"><a data-toggle=\\\"pill\\\" href=\\\"#menujson\\\">JSON</a></li>\\n  <li><a data-toggle=\\\"tab\\\" href=\\\"#menuxml\\\">XML</a></li>\\n</ul>\\n<div class=\\\"tab-content\\\">\\n  <div id=\\\"menujson\\\" class=\\\"tab-pane fade in active\\\">\"\n}\n[/block]\n###JSON Request Content \nNo content is required in the request body. See above for the supported query parameters.\n\n###JSON Response Details \nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved `translations` object (see [translations (JSON object)](doc:translations-json-object)). \n\n<hr>\n\n##JSON Examples\n\n###Request Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?language=en&transactionid=1011183521 \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\",\n      \"language\": \"curl\",\n      \"name\": \"Get Pre-Notification Text: in English for a specific transaction\"\n    },\n    {\n      \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?language=en \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\",\n      \"language\": \"curl\",\n      \"name\": \"in English with placeholders\"\n    },\n    {\n      \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\",\n      \"language\": \"curl\",\n      \"name\": \"in all languages with placeholders\"\n    }\n  ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"translations\\\": [\\n        {\\n            \\\"language\\\": \\\"en\\\",\\n            \\\"translationText\\\": \\\"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.\\\"\\n        }\\n    ]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Get Pre-Notification Text: 200 OK - in English for a specific transaction\"\n    },\n    {\n      \"code\": \"{\\n    \\\"translations\\\": [\\n        {\\n            \\\"language\\\": \\\"en\\\",\\n            \\\"translationText\\\": \\\"The amount of ${AMOUNT} EUR will be collected using SEPA Direct Debit with Mandate ${MANDATEID} from your bank account IBAN ${IBAN_PUBLIC_INFO} in the next few days. Please ensure sufficient funds in your account.\\\"\\n        }\\n    ]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"200 OK - in English with placeholders\"\n    },\n    {\n      \"code\": \"{\\n    \\\"translations\\\": [\\n        {\\n            \\\"language\\\": \\\"sl\\\",\\n            \\\"translationText\\\": \\\"Znesek ${AMOUNT} EUR se bo zaračunal z uporabo SEPA naloga z Mandate ${MANDATEID} z vašega bančnega računa IBAN ${IBAN_PUBLIC_INFO} v naslednjih nekaj dneh. Zagotovite, da bo na računu zadostna količina sredstev.\\\"\\n        },\\n        {\\n            \\\"language\\\": \\\"pt\\\",\\n            \\\"translationText\\\": \\\"O montante de ${AMOUNT} EUR será recolhido através do Débito Direto SEPA com o Mandato ${MANDATEID} a partir do IBAN da sua conta bancária ${IBAN_PUBLIC_INFO} nos próximos dias. Por favor, garanta ter fundos suficientes na sua conta.\\\"\\n        },\\n        {\\n            \\\"language\\\": \\\"fr\\\",\\n            \\\"translationText\\\": \\\"Le montant de ${AMOUNT} EUR sera prélevé dans les prochains jours sur votre compte bancaire, IBAN numéro ${IBAN_PUBLIC_INFO}, par prélèvement SEPA, mandat référence ${MANDATEID}. Assurez-vous de disposer d'un montant de fonds suffisant sur votre compte.\\\"\\n        },\\n      \\n      ...\\n      \\n    ]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"200 OK - in all languages with placeholders\"\n    }\n  ]\n}\n[/block]\n\n[block:html]\n{\n  \"html\": \" </div>\\n <div id=\\\"menuxml\\\" class=\\\"tab-pane fade\\\">\"\n}\n[/block]\n###XML Request Content \nNo content is required in the request body. See above for the supported query parameters.\n\n###XML Response Details \nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved `translations` resource (see [translations (XML resource)](doc:translations-xml-resource)). \n\n<hr>\n\n##XML Examples\n\n###Request Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?language=en&transactionid=1011183521 \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\",\n      \"language\": \"curl\",\n      \"name\": \"Get Pre-Notification Text: in English for a specific transaction\"\n    },\n    {\n      \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?language=en \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\",\n      \"language\": \"curl\",\n      \"name\": \"in English with placeholders\"\n    },\n    {\n      \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\",\n      \"language\": \"curl\",\n      \"name\": \"in all languages with placeholders\"\n    }\n  ]\n}\n[/block]\n##Response Examples \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<translations xmlns=\\\"http://ws.plimus.com\\\">\\n    <translation>\\n        <language>en</language>\\n        <translation-text>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.</translation-text>\\n    </translation>\\n</translations>\",\n      \"language\": \"xml\",\n      \"name\": \"Get Pre-Notification Text: 200 OK - in English for a specific transaction\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<translations xmlns=\\\"http://ws.plimus.com\\\">\\n    <translation>\\n        <language>en</language>\\n        <translation-text>The amount of ${AMOUNT} EUR will be collected using SEPA Direct Debit with Mandate ${MANDATEID} from your bank account IBAN ${IBAN_PUBLIC_INFO} in the next few days. Please ensure sufficient funds in your account.</translation-text>\\n    </translation>\\n</translations>\",\n      \"language\": \"xml\",\n      \"name\": \"200 OK - in English with placeholders\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<translations xmlns=\\\"http://ws.plimus.com\\\">\\n    <translation>\\n        <language>sl</language>\\n        <translation-text>Znesek &#x24;&#x7b;AMOUNT&#x7d; EUR se bo zara&#x10d;unal z uporabo SEPA naloga z Mandate &#x24;&#x7b;MANDATEID&#x7d; z va&#x161;ega ban&#x10d;nega ra&#x10d;una IBAN &#x24;&#x7b;IBAN_PUBLIC_INFO&#x7d; v naslednjih nekaj dneh. Zagotovite, da bo na ra&#x10d;unu zadostna koli&#x10d;ina sredstev.</translation-text>\\n    </translation>\\n    <translation>\\n        <language>pt</language>\\n        <translation-text>O montante de &#x24;&#x7b;AMOUNT&#x7d; EUR ser&#xe1; recolhido atrav&#xe9;s do D&#xe9;bito Direto SEPA com o Mandato &#x24;&#x7b;MANDATEID&#x7d; a partir do IBAN da sua conta banc&#xe1;ria &#x24;&#x7b;IBAN_PUBLIC_INFO&#x7d; nos pr&#xf3;ximos dias. Por favor, garanta ter fundos suficientes na sua conta.</translation-text>\\n    </translation>\\n    <translation>\\n        <language>fr</language>\\n        <translation-text>Le montant de &#x24;&#x7b;AMOUNT&#x7d; EUR sera pr&#xe9;lev&#xe9; dans les prochains jours sur votre compte bancaire, IBAN num&#xe9;ro &#x24;&#x7b;IBAN_PUBLIC_INFO&#x7d;, par pr&#xe9;l&#xe8;vement SEPA, mandat r&#xe9;f&#xe9;rence &#x24;&#x7b;MANDATEID&#x7d;. Assurez-vous de disposer d&#x27;un montant de fonds suffisant sur votre compte.</translation-text>\\n    </translation>\\n  \\n  ...\\n  \\n</translations>\",\n      \"language\": \"xml\",\n      \"name\": \"200 OK - in all languages with placeholders\"\n    }\n  ]\n}\n[/block]\n\n[block:html]\n{\n  \"html\": \"</div>\\n</div>\"\n}\n[/block]\n\n##API Explorer (JSON)\nTo test out a call, optionally enter a supported language code in the `language` field or enter an exiting transaction ID in the `transactionid` field (this will automatically update the query string), and click **Try it!**.","excerpt":"","slug":"get-pre-notification-text","type":"endpoint","title":"Get Pre-Notification Text"}

getGet Pre-Notification Text


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

language:
string
Two letter ISO 639-1 language code (see below for supported languages). Useful for getting text in a specific language. Omitting parameter gets text in all supported languages.
transactionid:
string
BlueSnap transaction identifier. Useful for getting text populated with details for a specific transaction (i.e. amount, mandate ID, public representation of IBAN). Omitting parameter gets text with transaction detail placeholders.

Documentation

This request gets the text for the SEPA Direct Debit pre-notification email.

Try it in the API Explorer

Supported ISO 639-1 language codes

Bulgarian (bg), Czech (cs), Danish (da), Dutch (nl), Estonian (et), Finnish (fi), French (fr), German (de), Greek (el), Hungarian (hu), Italian (it), Latvian (lv), Lithuanian (lt), Maltese (mt), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Slovak (sk), Slovenian (sl), Swedish (sv)

API Explorer (JSON)

To test out a call, optionally enter a supported language code in the language field or enter an exiting transaction ID in the transactionid field (this will automatically update the query string), and click Try it!.


User Information

Try It Out


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