Skip to main content

Add Bank Account

This API is invoked when the Customer adds his own bank account for the the purpose of withdrawing payment in them. The Customer can add a maximum of 2 bank accounts and choose in which bank account they want to withdraw the payment in.

Definition

URL
POST 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 post \\
--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' \\
--data '{
"beneficiaryCountryCode": "SG",
"beneficiaryCurrencyCode": "SGD",
"bankName": "Citibank",
"accountType": "Company",
"accountNumber": "60001234569",
"routingCodeType1": "SWIFT",
"routingCodeValue1": "ADCBINBB123"
}'

Body Parameters:

ParameterDescriptionTypeRequired
countryCodeClients bank country code If the bank account is a Singapore bank account then the value would be SG.(Deprecated- instead use beneficiaryCountryCode )StringNo
currencyCodeClients bank currency code.(Deprecated- instead use beneficiaryCurrencyCode)StringNo
beneficiaryCountryCodeClients bank country code If the bank account is a Singapore bank account then the value would be SG.StringYes
beneficiaryCurrencyCodeClients bank currency code.StringYes
bankNameClients bank name.StringYes
accountTypeAccount type of client either Individual or Company.StringYes
accountNumberClient/Beneficiary physical bank account number.StringYes
routingCodeType1Routing codeType1 of bank like SWIFT,IFSC , SORT CODE, ACH CODE, BSB CODE, BANK CODE.StringYes
routingCodeValue1Value of routingCodeType1.StringYes
routingCodeType2Routing codeType2 of bank like SWIFT,IFSC , SORT CODE, ACH CODE, BSB CODE, BANK CODE.StringNo
routingCodeValue2Value of routingCodeType2.StringNo

Response:

{
"accountId": "03bd58a0-f726-11ea-ab6c-414e561364fe",
"currencyCode": "SGD"
}

Response Parameters:

ParameterDescriptionType
accountIdUnique bank account id generated by Nium.String
currencyCodeClients bank currency codeString