Skip to main content

Get a Single Account

GET /accounts/{accountUuid}

Description

Retrieve detailed information about a specific user account using its unique identifier.

Path Parameters

NameTypeDescription
accountUuidstring(Required). Unique identifier (UUID) of the account. Include in the request path.

Example

cURL

curl -X GET \
-H "apiKey: your_api_key" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NGQ2Nm..." \
"https://api.example.com/accounts/account_id_1"

Response Code: 200 - OK

Description

The account returned successfully.

Response Field

FieldTypeDescription
statusbooleanIndicates the overall success of the operation.
statusCodeintegerRepresents the specific status code for the response.
messagestringProvides additional information about the response.
dataobjectContains the main data payload of the response.
errorsarrayAn array containing error details if issues occurred.
- messagestringDescribes the error.
- descriptiveMessagestringProvides a more detailed and descriptive message about the error.

Example

<response>
<status>true</status>
<statusCode>0</statusCode>
<message>string</message>
<data></data>
<errors>
<error>
<message>string</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</response>


Response Code: 400 - Bad Request

Description

Invalid account reference supplied.

Example

<response>
<status>false</status>
<statusCode>400</statusCode>
<message>Invalid account id</message>
<data></data>
<errors>
<error>
<message>Invalid account id</message>
<descriptiveMessage></descriptiveMessage>
</error>
</errors>
</response>

Response Code: 404 - Not Found

Description

Account not found.

Example

<response>
<status>false</status>
<statusCode>404</statusCode>
<message>Account id not found</message>
<data></data>
<errors>
<error>
<message>Account id not found</message>
<descriptiveMessage></descriptiveMessage>
</error>
</errors>
</response>

Method: GET

>http://20.87.230.105/platform/wallets/accounts/accountUuid

Headers

Content-TypeValue
apiKey{{apiKey}}

🔑 Authentication bearer

ParamvalueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


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

RESPONSE


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