Skip to main content

Get Bank Account

Get the list of bank accounts that are added for the client.

Definition

URL
GET https://api-test.instarem.com:4803/api/v1/client/{clientId}/bankAccounts

Header Parameters:

ParameterDescriptionTypeRequired
authorizationAuthentication token.StringYes
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected values could be application/json or multipart/form-data.StringYes

Path Parameters:

ParameterDescriptionTypeRequired
clientIdThis is the unique client ID generated by Nium.StringYes

Example Request:

curl --request get \\
--url "https://api-test.instarem.com:4803/api/v1/client/{clientId}/bankAccounts" \\
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \\
--header 'content-type: application/json'

Response:

{
"beneficiaryName": "Nium Client",
"beneficiaryCountryCode": "SG",
"beneficiaryCountryName": "Singapore",
"bankAccounts": [
{
"accountId": "c4b451a0-9841-11eb-96ff-bdd9c6dff7fe",
"bankName": "HDFC Bank",
"accountType": "Company",
"accountNumber": "890112345679",
"currencyCode": "INR",
"routingCodeType1": "IFSC",
"routingCodeValue1": "SBIN00123456",
"routingCodeType2": null,
"routingCodeValue2": null,
"isDefault": false
},
{
"accountId": "6ef74d20-983d-11eb-8526-17d391a725ae",
"bankName": "Clear Bank",
"accountType": "Company",
"accountNumber": "890112345678",
"currencyCode": "USD",
"routingCodeType1": "ACH CODE",
"routingCodeValue1": "111143009",
"routingCodeType2": "SWIFT",
"routingCodeValue2": "SVBKUS6S",
"isDefault": true
}
]
}

Response Parameters:

ParameterDescriptionType
beneficiaryNameClient's bank account name.String
beneficiaryCountryCodeClient's bank country code. If the bank account is in Singapore then the value will be SG.String
beneficiaryCountryNameClient's country name.String
bankAccounts[n].accountIdUnique bank account id generated by Nium.String
bankAccounts[n].bankNameClient's Bank name.String
bankAccounts[n].accountTypeAccount type of client in Nium. The account type can be either Individual or Company.String
bankAccounts[n].accountNumberClient's bank account number.String
bankAccounts[n].currencyCodeThe currency code of client's bank account.String
bankAccounts[n].routingCodeType1Routing code type. Example: IFSC for India, SORT CODE for UK, ABA CODE for USA, BIC CODE for Europe.String
bankAccounts[n].routingCodeValue1The routing code value. Example: SBIN0000058 for IFSC Code, 259087 for SORT CODE, 111000025 for ABA CODE, LIABLT20001 for BIC CODE.String
bankAccounts[n].routingCodeType2Routing code type. Example: IFSC for India, SORT CODE for UK, ABA CODE for USA, BIC CODE for Europe.String
bankAccounts[n].routingCodeValue2The routing code value. Example: SBIN0000058 for IFSC Code, 259087 for SORT CODE, 111000025 for ABA CODE, LIABLT20001 for BIC CODE.String
bankAccounts[n].isDefaultThis indicates if the bank account is default or not. The value can be True or False.Boolean