Starter API with Mutual TLS provides users an easy start to understand Rabobank APIs and gives you access to a basic IBAN validator.
You must not use your own IBAN for the API request.
This API aims to illustrate the workings of Mutual TLS security.
This API is currently available only in Sandbox.
Before you begin
Make sure you have a working sandbox account in the Rabobank developer portal. Read Getting Started to set up an account and register an Application.
Make sure to generate a self signed certificate as specified in Getting Started.
You may also choose to use an example certificate for Sandbox:
Using the API
After your account set up is complete, subscribe Starter APIs to your application.
Request
Initiate a request for Starter API with Mutual TLS using the Client ID and certificate generated while Registering your application.
curl --request GET \\\
\--url [https://api-sandbox.rabobank.nl/openapi/sandbox/tutorials/accounts/ibans/NL82RABO1108003001](https://api-sandbox.rabobank.nl/openapi/sandbox/tutorials/accounts/ibans/NL82RABO1108003001)
\--cert your certificate in cert.pem format
\--key your key in key.pem format\
\--header 'X-IBM-Client-Id: your client id'
\--header 'accept: application/json'
For Windows:
curl --request GET ^\
\--url [https://api-sandbox.rabobank.nl/openapi/sandbox/tutorials/accounts/ibans/NL82RABO1108003001](https://api-sandbox.rabobank.nl/openapi/sandbox/tutorials/accounts/ibans/NL82RABO1108003001) ^\
\--cert your certificate in cert.pem format ^
\--key your key in key.pem format ^
\--header “X-IBM-Client-Id: your client id” ^
\--header “accept: application/json"
Response
{
"message": "VALID IBAN",
"iban": "NL82RABO1108003001"
}
Sample IBANs:
IBAN | Validity |
---|---|
NL82RABO1108003001 | VALID |
NL80RABO1127000002 | VALID |
GB68500105178297336485 | INVALID |
NL53RABO1108001008 | INVALID |