orders Query
Arguments
#
pausedBy
Only return orders that were paused by these roles. status must be set to PAUSED.
paymentMethod
Only return orders that were paid with this payment method. Must be an admin of the account owning the payment method.
paymentMethodService
Only return orders that match these payment method services
includeIncognito
Whether to include incognito orders. Must be admin or root. Only with filter null or OUTGOING.
frequency
Use this field to filter orders on their frequency (ONETIME, MONTHLY or YEARLY)
orderBy = { "field": "CREATED_AT", "direction": "DESC" }
The order of results
tier
onlySubscriptions
Only returns orders that have a subscription (monthly/yearly). Don't use together with frequency.
onlyActiveSubscriptions
Same as onlySubscriptions, but returns only orders with active subscriptions
expectedFundsFilter
oppositeAccount
Return only orders made from/to that opposite account (only works when orders are already filtered with a main account)
Response
#
Returns OrderCollection !.
Example
#
order
organization