Skip to main content

Get Virtual Receiving Accounts

Get all the virtual receiving accounts and currencies details.

Definition

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

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

Query Parameters:

ParameterDescriptionTypeRequired
payerIdThis is the unique payer ID generated by Nium is used to fetch virtual receiving accounts based on payerIdStringNo
currencyCodeThis is the currency code used to fetch virtual receiving accounts based on currencyStringNo
virtualReceivingAccountIdThis is the unique virtual receiving account ID generated by Nium.StringNo
virtualReceivingAccountRequestIdThis is the unique request id for per request against currency: EUR, GBP, AUDStringNo

Example Request:

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

Response (200):

[
{
"label": "LOCAL",
"currencyCode": "AUD",
"currency": "AUD",
"accountNumber": "170561429342",
"totalVirtualAccounts": 1,
"virtualAccounts": [
{
"virtualReceivingAccount": "9675538220127460",
"virtualReceivingAccountId": "1b1542f8-c5b2-484d-b0c4-c78710dd84a3",
"requestedVirtualAccount": null,
"bankAccountName": "NIUM PTY LTD",
"bankName": "Cuscal Limited",
"bankAddress": "MUMLevel 6_99 Pacific Highway, North Sydney NSW 2060BAI",
"payId": "abc@nium.com",
"bankRoutingDetails": {
"routing_code_1": "BSB Code",
"routing_value_1": "802986"
},
"payerId": "d3bd1428-fbbc-4267-a931-e97bd0843dca",
"payerCompanyName": "Instarem India Pvt Ltd",
"payerName": "John Doe",
"payerEmail": "john.doe@nium.com",
"payerType": "COMPANY"
}
]
},
{
"label": "GLOBAL",
"currencyCode": "USD",
"currency": "USD",
"accountNumber": "227961469275",
"totalVirtualAccounts": 1,
"virtualAccounts": [
{
"virtualReceivingAccount": "79974100000",
"virtualReceivingAccountId": "69fd78c0-b2a8-499f-85e9-078302115bd4",
"requestedVirtualAccount": null,
"bankAccountName": "NIUM PTE LTD",
"bankName": "CITIBANK NA",
"bankAddress": "21-00, Asia Square Tower 1, 8 Marina View Singapore,Post_Zip code - 018960",
"bankRoutingDetails": {
"routing_code_1": "SWIFT Code",
"routing_value_1": "CITISGSH"
},
"payerId": "036cfcd6-090b-42be-b87a-9f782f1189ed",
"payerCompanyName": "Instarem India Pvt Ltd",
"payerName": "Chris Kilcline",
"payerEmail": "chris.kilcline@nium.com",
"payerType": "COMPANY"
}
]
},
{
"label": "LOCAL",
"currencyCode": "GBP",
"currency": "GBP",
"accountNumber": null,
"totalVirtualAccounts": 0,
"virtualAccounts": [
{
"virtualReceivingAccount": null,
"virtualReceivingAccountId": null,
"requestedVirtualAccount": {
"virtualReceivingAccountRequestId": "10791607420958660",
"status": "REQUESTED",
"createdAt": "2020-12-08T09:49:18.227Z"
},
"bankAccountName": null,
"bankName": null,
"bankAddress": null,
"bankRoutingDetails": null,
"payerId": null,
"payerCompanyName": null,
"payerName": null,
"payerEmail": null,
"payerType": null
}
]
}
]

Response Parameters:

ParameterDescriptionType
labelThe type for virtual receiving account used for VRA allocation and value for this could be LOCAL or GLOBAL or LOCAL,GLOBALString
currencyCodeReturns the virtual receiving account currency.String
currencyReturns currency.(DEPRECATED)String
accountNumberReturns 12 digit account number generated by Nium.String
totalVirtualAccountsReturns totalVirtualAccounts.Number
virtualAccounts[n].virtualReceivingAccountVirtual Receiving Account NumberString
virtualAccounts[n].virtualReceivingAccountIdUnique uuid generated by ID generated by Nium.String
virtualAccounts[n].requestedVirtualAccount.virtualReceivingAccountRequestIdGenerated request id for per request against currency: EUR, GBP, AUD.String
virtualAccounts[n].requestedVirtualAccount.statusVirtual receiving account request status.String
virtualAccounts[n].requestedVirtualAccount.createdAtVirtual receiving account Requested date.String
virtualAccounts[n].bankAccountNameBeneficiary Name.String
virtualAccounts[n].bankNameBank Name.String
virtualAccounts[n].bankAddressAddress of the Bank.String
virtualAccounts[n].payIdUnique ID in AUD virtual accountString
virtualAccounts[n].bankRoutingDetails.routing_code_1Routing code type 1 (eg IFSC for India, SORT CODE for UK, ABA CODE for USA, BIC CODE for Europe).String
virtualAccounts[n].bankRoutingDetails.routing_value_1IFSC Code of the bank (eg SBIN0000058 for IFSC, 259087 for SORT CODE, 111000025 for ABA CODE, LIABLT20001 for BIC CODE).String
virtualAccounts[n].bankRoutingDetails.routing_code_2Routing code type 2 (eg IFSC for India, SORT CODE for UK, ABA CODE for USA, BIC CODE for Europe).String
virtualAccounts[n].bankRoutingDetails.routing_value_2IFSC Code of the bank (eg SBIN0000058 for IFSC, 259087 for SORT CODE, 111000025 for ABA CODE, LIABLT20001 for BIC CODE).String
virtualAccounts[n].bankRoutingDetails.routing_code_3Routing code type 3 (eg IFSC for India, SORT CODE for UK, ABA CODE for USA, BIC CODE for Europe).String
virtualAccounts[n].bankRoutingDetails.routing_value_3IFSC Code of the bank (eg SBIN0000058 for IFSC, 259087 for SORT CODE, 111000025 for ABA CODE, LIABLT20001 for BIC CODE).String
virtualAccounts[n].payerIdThis is the unique payer ID generated by Nium.
Note: The payer related parameters will be null in case client is per currency approach
String
virtualAccounts[n].payerCompanyNameThis is name of the payer company is applicable when the Payer type is Company.String
virtualAccounts[n].payerNameThis is the Name of an individual when the Payer type is Individual and name of the contact person if the Payer type is Company.String
virtualAccounts[n].payerEmailEmail ID of a payer.String
virtualAccounts[n].payerTypeThis field defines the type of payer and the value for this could be Individual or Company.String