Skip to main content
Version: 1.0.2

Get all Beneficiaries by filter

The Get all Beneficiaries by filter API is used to fetch beneficiaries based on the provided filter criteria. The response provides details about the beneficiaries that match the filter criteria. Supporting filter values: Name, Type and publickey (isInternal, IsExternal or both).

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

type

Mandatory

String

The type of beneficiary

Ex:"BUSINESS ", "INDIVIDUAL"

customerID

Mandatory

String

The customer ID associated with the beneficiaries

Ex:"100000000048001 "

firstName

Mandatory

String

The first name of the beneficiary

Ex:"chenna "


curl --location 'https://wallet.netxd.com/plwallet/rpc/WalletService/GetAllBeneficiariesByFilter' \
--header 'DeviceID: 8020' \
--header 'Signature: keyId=8020,algorithm=ecdsa-sha256,signature=MEUCIQCNi1vjPf/HpI9R2DXnc0Zt1s6YmWyA4H1x813lJ+tuDgIgB+lrc+iCMyTUGiraG9kGKNDXYiz7RfBBtifr5wUQs54=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ci5hbmJhbGFnYW5AbmV0eGQuY29tOmQ0Mjc2ZmIx' \
--data '{"type":"INDIVIDUAL","customerID":"100000000048001","firstName":"chenna"}'

Body


{
"type": "INDIVIDUAL",
"customerID": "100000000048001",
"firstName": "chenna"
}

Response: 200

Response Parameters
ParameterDescription

ID

String

The unique identifier of the beneficiary

Ex:"64df5232c20b02dd327ac476 "

createdDate

String

The date when the beneficiary was created

Ex:"0001-01-01T00:00:00Z "

updatedDate

String

The date when the beneficiary was last updated.

Ex:"0001-01-01T00:00:00Z"

type

String

The type of beneficiary

Ex:"BUSINESS","INDIVIDUAL "

firstName

String

The first name of the beneficiary

Ex:"Chenna "

lastName

String

The last name of the beneficiary

Ex:"Reddy "

address

Object

state

String

State of the beneficiary

Ex:"WA "

country

String

Country of the beneficiary

Ex:"US "

publicKey

String

The public key associated with the beneficiary

Ex:"GCLOH3OZLQBYROBHAQIK4B7DCC3PLRKJJYTEU3NB6QH23SSTBHUOIDN4 "

isInternal

Boolean

Indicates whether the beneficiary is internal (true) or external (false)

Ex: true


[
{
"ID": "64df5232c20b02dd327ac476",
"createdDate": "0001-01-01T00:00:00Z",
"updatedDate": "0001-01-01T00:00:00Z",
"type": "INDIVIDUAL",
"firstName": "Chenna",
"lastName": "Reddy",
"address": {
"state": "WA",
"country": "US"
},
"publicKey": "GCLOH3OZLQBYROBHAQIK4B7DCC3PLRKJJYTEU3NB6QH23SSTBHUOIDN4",
"isInternal": true
},
{
"ID": "64de27c59997a439f57f7c28",
"createdDate": "0001-01-01T00:00:00Z",
"updatedDate": "0001-01-01T00:00:00Z",
"type": "INDIVIDUAL",
"firstName": "Chenna",
"lastName": "Reddy",
"address": {
"state": "WA",
"country": "US"
},
"publicKey": "GCTKBYEFT6R2Z637KCGHWIZXV5EHGWPDWOIQJ4RJ7EFOXU6DPD4ZRRZS",
"isInternal": false
},
{
"ID": "64de269a47ac2edaa7591ad1",
"createdDate": "0001-01-01T00:00:00Z",
"updatedDate": "0001-01-01T00:00:00Z",
"type": "INDIVIDUAL",
"firstName": "Chenna",
"lastName": "Reddy",
"address": {
"state": "WA",
"country": "US"
},
"publicKey": "GBMB2QDVR7QBFLHRTY4A3A7LXJJZR7EXWZMZR26BWBRDPFDR2EAEU4K6",
"isInternal": false
}
]