{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/tools/bank-directory-info","auth":"optional","settings":"57ee593a21ceb20e0061959e","results":{"codes":[]},"params":[],"examples":{"codes":[]},"method":"post"},"next":{"description":"","pages":[]},"title":"Retrieve Bank Details","type":"endpoint","slug":"get-bank-details","excerpt":"","body":"This request gets a list of available banks for the [iDEAL](/docs/ideal) payment method, allowing you to show a list of banks in the UI so your shopper can make their selection. \n\n  \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: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 \nSend a **[bankDirectory](/v8976-Tools/docs/bankdirectory-json-object)** object, with the following:\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`paymentMethodName` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`currencyCode` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`countryCode` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> \n\n###JSON Response Details \nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved `bankDirectory` object (see [bankDirectory (JSON object)](doc:bankdirectory-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 POST https://sandbox.bluesnap.com/services/2/tools/bank-directory-info \\\\\\n-H 'Content-Type: application/json' \\\\\\n-H 'Accept: application/json' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n{\\n  \\\"currencyCode\\\": \\\"EUR\\\",\\n  \\\"countryCode\\\": \\\"NL\\\",\\n  \\\"paymentMethodName\\\": \\\"IDEAL\\\"\\n}'\",\n      \"language\": \"curl\",\n      \"name\": \"Get Bank Details: for iDEAL\"\n    }\n  ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"issuersInfo\\\": [\\n    {\\n      \\\"issuerId\\\": \\\"RABONL2U\\\",\\n      \\\"issuerName\\\": \\\"Issuer Simulation V3 - RABO\\\"\\n    },\\n    {\\n      \\\"issuerId\\\": \\\"INGBNL2A\\\",\\n      \\\"issuerName\\\": \\\"Issuer Simulation V3 - ING\\\"\\n    }\\n  ]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"iDEAL\"\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 \nSend a **[bank-directory](doc:bank-directory-xml-resource)** resource, with the following:\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`payment-method-name` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`currency-code` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`country-code` &nbsp;&nbsp;&nbsp; *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> \n\n###XML Response Details \nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved `bank-directory` resource (see [bank-directory (XML resource)](doc:bank-directory-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 POST https://sandbox.bluesnap.com/services/2/tools/bank-directory-info \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Accept: application/xml' \\\\ \\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<bank-directory xmlns=\\\"http://ws.plimus.com\\\">\\n  <currency-code>EUR</currency-code>\\n  <country-code>NL</country-code>\\n  <payment-method-name>IDEAL</payment-method-name>\\n</bank-directory>'\",\n      \"language\": \"curl\",\n      \"name\": \"Get Bank Details: for iDEAL\"\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<bank-directory xmlns=\\\"http://ws.plimus.com\\\">\\n  <issuers-info>\\n    <issuer-id>RABONL2U</issuer-id>\\n    <issuer-name>Issuer Simulation V3 - RABO</issuer-name>\\n  </issuers-info>\\n  <issuers-info>\\n    <issuer-id>INGBNL2A</issuer-id>\\n    <issuer-name>Issuer Simulation V3 - ING</issuer-name>\\n  </issuers-info>\\n</bank-directory>\",\n      \"language\": \"xml\",\n      \"name\": \"iDEAL\"\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, enter the request content below and then click **Try it!**. You can use the JSON code below as a starting point. The request headers, including authorization, are already built-in for you in this test area.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"currencyCode\\\": \\\"EUR\\\",\\n  \\\"countryCode\\\": \\\"nl\\\",\\n  \\\"paymentMethodName\\\": \\\"IDEAL\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f4d2b1e67824b003bca9451","createdAt":"2020-08-31T16:53:50.564Z","user":"5ea72d649148ff00653f6bbc","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Bank Directory","slug":"bank-directory","order":4,"from_sync":false,"reference":false,"_id":"5f4d2af1ca14ec003918818c","createdAt":"2020-08-31T16:53:05.091Z","version":"5f4d276c4ff932005f3e3b86","project":"57336fd5a6a9c40e00e13a0b","__v":0},"version":{"version":"8976-Tools","version_clean":"8976.0.0-Tools","codename":"3.35 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5f4d276b4ff932005f3e3b33","5f4d276b4ff932005f3e3b34","5f4d276b4ff932005f3e3b35","5f4d276b4ff932005f3e3b36","5f4d276b4ff932005f3e3b37","5f4d276b4ff932005f3e3b38","5f4d276b4ff932005f3e3b39","5f4d276b4ff932005f3e3b3a","5f4d276b4ff932005f3e3b3b","5f4d276b4ff932005f3e3b3c","5f4d276b4ff932005f3e3b3d","5f4d276b4ff932005f3e3b3e","5b34c737e0dca2000311de6a","5f4d276b4ff932005f3e3b3f","5f4d276b4ff932005f3e3b40","5f4d276b4ff932005f3e3b41","5f4d276b4ff932005f3e3b42","5f4d2af1ca14ec003918818c","5f4e66c5c9098e01d05608cf"],"_id":"5f4d276c4ff932005f3e3b86","project":"57336fd5a6a9c40e00e13a0b","__v":2,"forked_from":"5f076ef5f118570458067d0f","createdAt":"2018-04-23T15:17:35.680Z","releaseDate":"2018-04-23T15:17:35.680Z"},"project":"57336fd5a6a9c40e00e13a0b","__v":0,"parentDoc":null}

postRetrieve Bank Details


Definition

{{ api_url }}{{ page_api_url }}

Documentation

This request gets a list of available banks for the iDEAL payment method, allowing you to show a list of banks in the UI so your shopper can make their selection.


Try it in the API Explorer

API Explorer (JSON)

To test out a call, enter the request content below and then click Try it!. You can use the JSON code below as a starting point. The request headers, including authorization, are already built-in for you in this test area.

{
  "currencyCode": "EUR",
  "countryCode": "nl",
  "paymentMethodName": "IDEAL"
}

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