Accounts Endpoint

The Accounts endpoint is the most commonly used endpoint in the system, providing comprehensive user account management and filtering capabilities.

Endpoint Information

  • URL: GET /api/v0/accounts

  • Authentication: Required

  • Permissions: SUPER_ADMIN or Account_getAll

Searchable Fields

Field
Type
Description
Example

id

Long

Account ID

id=123

number

Long

Account number

number=10001

fullName

String

Account holder's full name

fullName__like=john

group.name

String

Group name (nested)

group.name=VIP

balance

BigDecimal

Account balance

balance__ge=1000

credit

BigDecimal

Account credit

credit__gt=0

margin

BigDecimal

Used margin

margin__le=500

marginFree

BigDecimal

Free margin

marginFree__gt=1000

equity

BigDecimal

Account equity

equity__ge=5000

floating

BigDecimal

Floating profit/loss

floating__ne=0

createdAt

Date

Creation date

createdAt__ge=2024-01-01

updatedAt

Date

Last update date

updatedAt__le=2024-12-31

Common Use Cases

Find Active Accounts

Financial Filtering

Group-based Filtering

Search by Name

Range Filtering

Pagination & Sorting

Common Sorting Options

Pagination Examples

Complex Queries

Business Intelligence

Risk Management

Response Example