Skip to main content

Get bank details via routing code

Get banking details by routing code and routing value.

Definition

URL
POST https://api-test.instarem.com:4803/api/v1/routing-code/search

Headers Parameters

ParameterDescriptionTypeRequired
AuthorizationAuthentication Token.StringYes
Content-TypeThe Content-Type entity header is used to indicate the media type of the resource. Expected value is application/json.StringYes
X-CLIENT-IDUnique id for client generated by Nium, Required only in case of partner based model (E.g. 593feb7c7c52bb2357b2df6c).StringNo

Example Request

curl --location --request POST 'https://api-test.instarem.com:4803/api/v1/routing-code/search' \\
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MjEzMjc4NzYsImRhdGEiOnsiY2xpZW50IjoiNTkyZDFlYjA2NzJmYjI0NDAwYmQ2OWNmIiwic3ViIjoiNWRiNTU0ZDc5ZjExZDAwMDA4ZGZmZjhiIn0sImlhdCI6MTYyMTI0MTQ3Nn0.Ou9X2erx1eHx32PG_upNdGm9-59UpXW1XbSaSIJ4uWo' \\
--header 'Content-Type: application/json' \\
--data-raw '{
"country_code": "ES",
"search_key": "SWIFT",
"search_value": "AYGBESMM",
"currency_code": "EUR",
"payout_method": "LOCAL",
"routing_code_type": "SWIFT"
}'

Body Parameters

ParameterDescriptionTypeRequired
country_code2 letter ISO country code (e.g. ES)StringYes
search_keySearch key (e.g. SWIFT)StringYes
search_valueSearch value (e.g. AYGBESMM)StringYes
currency_codeThree letter ISO currency code (e.g. EUR)StringNo
payout_methodPayout method (e.g. LOCAL)StringNo
routing_code_typeRouting code type (e.g. SWIFT)StringYes

Example Response

[
{
"swift": "AYGBESMM",
"bank_name": "A&G BANCA PRIVADA S.A.U.",
"country_code": "ES",
"payout_method": "LOCAL"
}
]

Response Parameters

ParameterDescriptionType
swiftSwift value.String
bank_nameBank name.String
country_codeCountry code.String
payout_methodPayout method.String