Skip to main content

Get get_beneficiary_by_uuid

GET /beneficiaries/{uuId}

Description​

Get a beneficiary by UUID.

Path Parameters​

NameTypeDescription
uuIdstringThe UUID of the beneficiary (path)

Request Headers​

NameTypeDescription
countryCodestringThe country code (header)
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)

Query Parameters​

NameTypeDescription
userIdstringThe user ID (query)

Example​

GET /beneficiaries/{uuId}
Content-Type: application/json
countryCode: string
tenantId: string
userId: string

{
"userId": "usr456"
}

Response Code: 200 - OK​

Description

Successful.

Response Fields

FieldTypeDescription
statusbooleanIndicates if the operation was successful
statusCodeintegerStatus code
messagestringResponse message
dataobjectData related to the beneficiary account
errorsarrayList of error messages, if any

Example​

{
"status": true,
"statusCode": 0,
"message": "Beneficiary retrieved successfully",
"data": {},
"errors": [
{
"message": "Some error occurred",
"descriptiveMessage": "Detailed error message"
}
]
}

Headers​

Content-TypeValue
apiKey{{apiKey}}
countryCodestring
tenantIdstring
userIdstring

Query Parameters​

NameValueType
userIdusr456string

🔑 Authentication bearer​

ParamValueType
token{{accessCode}}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /beneficiaries/{uuId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!