Skip to main content

Retrieve All Accounts

GET /accounts

Description

Retrieve information about all user accounts based on specified parameters.

Query Parameters

NameTypeDescription
pageNumberinteger($int32)(Optional). Page number for pagination. Include in the query parameters.
pageSizeinteger($int32)(Optional). Number of records per page. Include in the query parameters.
currenciesarray[string](Optional). Filter accounts by currency. Include in the query parameters.
typesarray[string](Optional). Filter accounts by type (e.g., "SAVINGS", "CHECKING"). Include in the query parameters.
userProfileIdsarray[string](Optional). Filter accounts by user profile IDs. Include in the query parameters.
walletUserIdsarray[string](Optional). Filter accounts by wallet user IDs. Include in the query parameters.
categoriesarray[string](Optional). Filter accounts by categories. Include in the query parameters.
providersarray[string](Optional). Filter accounts by providers. Include in the query parameters.
startDatestring($date-time)(Optional). Start date for filtering accounts. Include in the query parameters.
endDatestring($date-time)(Optional). End date for filtering accounts. Include in the query parameters.

Response Code: 200 - OK

Description

Accounts 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 id.

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>

curlUrl: "/accounts" curlMethod: GET

Response Code: 404 - Not Found

Description

Account id 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/businesses

Headers

Content-TypeValue
apiKey{{apiKey}}

🔑 Authentication bearer

ParamvalueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


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

RESPONSE


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