Dictionary
v1/dictionary/currencies
Reference data needed to build requests: every currencyId and countryId used in payments and account creation comes from here.
Resolve ids once and cache them.
currencyIds are required by account creation and by every payment request.
GET /v1/dictionary/currencies
GET
/v1/dictionary/currenciesAuth: None — public endpoint
Query: pagination[limit], pagination[skip].
GET
/v1/dictionary/currenciescurl 'https://sandbox-bank.tedr.com/open-banking/v1/dictionary/currencies'
const response = await fetch('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/currencies');
const { data } = await response.json();
import requests
response = requests.get('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/currencies')
data = response.json()['data']
{
"status": "SUCCESS",
"data": {
"nodes": [
{
"id": "99d41c98-93d1-471a-a73a-4cac9e3587e7",
"name": "US Dollar",
"ticker": "USD",
"precision": 2,
"type": "FIAT",
"symbol": "$"
}
],
"count": 1,
"cursor": 1
}
}
GET /v1/dictionary/currencies/:currencyId
GET
/v1/dictionary/currencies/:currencyIdAuth: None — public endpoint
GET
/v1/dictionary/currencies/:currencyIdcurl 'https://sandbox-bank.tedr.com/open-banking/v1/dictionary/currencies/<currencyId>'
const response = await fetch('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/currencies/<currencyId>');
const { data } = await response.json();
import requests
response = requests.get('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/currencies/<currencyId>')
data = response.json()['data']
v1/dictionary/countries
SWIFT payments take countryId, not an alpha code.
Resolve the id here before building a SWIFT request.
GET /v1/dictionary/countries
GET
/v1/dictionary/countriesAuth: None — public endpoint
Query: pagination[limit], pagination[skip].
GET
/v1/dictionary/countriescurl 'https://sandbox-bank.tedr.com/open-banking/v1/dictionary/countries'
const response = await fetch('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/countries');
const { data } = await response.json();
import requests
response = requests.get('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/countries')
data = response.json()['data']
{
"status": "SUCCESS",
"data": {
"nodes": [
{
"id": "6f0f2a51-1f4c-4a3e-9f4a-4b5b2d1c9a10",
"name": "Germany",
"code": "DEU",
"phoneCode": "+49"
}
],
"count": 1,
"cursor": 1
}
}
GET /v1/dictionary/countries/:countryId
GET
/v1/dictionary/countries/:countryIdAuth: None — public endpoint
GET
/v1/dictionary/countries/:countryIdcurl 'https://sandbox-bank.tedr.com/open-banking/v1/dictionary/countries/<countryId>'
const response = await fetch('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/countries/<countryId>');
const { data } = await response.json();
import requests
response = requests.get('https://sandbox-bank.tedr.com/open-banking/v1/dictionary/countries/<countryId>')
data = response.json()['data']
