Get a list of orders
Retrieves a paginated list of orders for the specified merchant with optional filtering by status, type, date range, and currency.
Path parameters
merchantId
Merchant ID
organizationId
Organization ID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
status
Filter by order status
Allowed values:
type
Filter by order type
startDate
Filter orders created on or after this date (ISO 8601 format)
endDate
Filter orders created on or before this date (ISO 8601 format)
currencyId
Filter by currency ID
pageSize
Number of items per page
pageNumber
Page number to retrieve
sort
Sort order (e.g., “createdAt:desc”)
includeResolvedPaymentLinks
Whether to include resolved payment link URLs
originAccountId
Filter orders by origin account ID. Cannot be combined with accountId parameter.
destinationAccountId
Filter orders by destination account ID. Cannot be combined with accountId parameter.
accountId
Filter orders where the account ID matches either the origin or destination account. This parameter is mutually exclusive with originAccountId and destinationAccountId.
Response
Orders retrieved successfully
pagination
orders