Get Accounts
Get all accounts
- Type: string · Sort Typeenumsort
_type Ordering of the returned accounts. 'flat' (default) returns all descendant accounts as a flat list; 'hierarchy' nests each account's descendants under
children, ordered server-side, so clients don't have to build the tree themselves.values- flat
- hierarchy
- Type: array string[] | null · Statusenumstatus
Account statuses to include (repeatable). Defaults to
active+inactivewhen omitted (soft-deleted excluded).deletedmatches soft-deleted accounts (deleted_at set).values- active
- inactive
- blocked
- deleted
- Type: array string[] | null · Account Typeenumaccount
_type Filter to these account types (repeatable, any-of). Omit for all types.
values- merchant
- partner
- psp
- Type: string · Sort Byenumsort
_by Sort siblings by account
name(default) or rolling 7-day transactionvolume. Volume sort uses the rolled-up subtree total.values- name
- volume
- Type: string · Sort Orderenumsort
_order Sort direction for
sort_by.values- asc
- desc
- Type: boolean · With Datawith
_data When true, attach
transaction_stats(rolling 7-day vs prior 7-day transaction count & volume) to each returned account, rolled up through the hierarchy. Computed in a single aggregate query. - Type: boolean · With Processorswith
_processors When true, attach
available_processors(the full ProcessorConfig details joined from each account'savailable_processor_configs) to every returned account. Resolved in a single bulk query across all accounts. None on every account when false.
- enumAcceptconst:application/jsonrequired
Response format. Must be
application/json.values- application/json
- application/json
- application/json
- application/json
- application/json
curl https://api.uat.koard.com/v2/accounts \
--header 'Accept: application/json' \
--header 'x-koard-apikey: YOUR_SECRET_TOKEN'
[
{
"address": {
"city": "string",
"state": "string",
"street_line1": "string",
"street_line2": "",
"zip": "string",
"country": "US"
},
"available_processor_configs": [],
"created_at": "2026-08-14T15:02:48.704Z",
"deleted_at": null,
"description": "string",
"has_access_to_apple_config": false,
"id": "string",
"mcc": null,
"name": "string",
"organization_id": null,
"parent_account_ids": [],
"status": "active",
"surcharge_rate": null,
"surcharge_basis": "total",
"surcharge_confirmation_required": null,
"tax_rate": null,
"tax_basis": "total",
"tax_id": null,
"type": "psp",
"updated_at": null
}
]
