Orders

List orders

Retrieve paginated list of all orders for your account, filtered using the query parameters.

get/payment-batches/orders

Request

Query parameters

accountIdstring required

The ID of the account to work with.

Example:F50091
sort'asc' | 'desc'

Determines whether the page of items are sorted in ascending or descending order.

offsetinteger

The number of items to skip before returning results.

Example:100
limitinteger

The maximum number of results to return.

Example:200
string
OR
string[]
string
OR
string[]
'created' | 'started' | 'completed' | 'failed'
OR
string[]
'draft' | 'validated' | 'confirmed' | 'started' | 'completed' | 'failed' | 'cancelled'
OR
string[]
string
OR
string[]

Response

OK

limitinteger

The maximum number of results to return.

offsetinteger

The number of items to skip before returning results.

countinteger required

The total amount of records matching the querying when "limit" is ignored.

Example response

{
  "limit": 200,
  "offset": 100,
  "count": 67,
  "rows": [
    {
      "id": "string",
      "paymentBatchId": "1bce4e75-abe0-4ebf-b151-fbdb0b7d5ed9",
      "status": "created",
      "budget": {
        "id": "775596ae-2624-40af-a9dc-9756110a4a03",
        "name": "string"
      },
      "totalPayments": 0,
      "totalAmount": "string",
      "totalDebitedAmount": "string",
      "totalFees": "string",
      "totalDebitedFees": "string",
      "currencyCode": "USD",
      "orderSentAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.