GET
/
orders
curl --request GET \
  --url https://api-test.koywe.com/rest/orders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "orderId": "b88f4ed0-10a2-412f-be3e-b5e47abe9b50",
      "quoteId": "<string>",
      "koyweFee": 1000,
      "networkFee": 1000,
      "symbolIn": "CLP",
      "symbolOut": "MATIC",
      "amountIn": 25000,
      "amountOut": 32.171150520770496,
      "paymentMethodId": "6294d815d2b5f912da43e699",
      "destinationAddress": "0x40f9bf922c23c43acede50Ab4425280C0ffBD697",
      "email": "example@gmail.com",
      "exchangeRate": 746.01,
      "status": "REJECTED",
      "dates": {
        "confirmationDate": "2023-01-17T16:37:22.626Z",
        "paymentDate": "<string>",
        "executionDate": "<string>",
        "deliveryDate": "<string>"
      },
      "outReceipt": "98abd8a6dbdba6d4b",
      "metadata": "<string>",
      "logoIn": "urlExample.com/currencies/CLP.svg",
      "logoOut": "urlExmaple.com/currencies/MATIC.svg",
      "externalId": "A1d2t3456"
    }
  ],
  "pagination": {
    "totalcount": 30,
    "pageSize": 6,
    "pageNumber": 5
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

pageSize
number
required

This value has a limit of 50, represents the number of responses per page.

pageNumber
number
required

Number of pages shown.

initDate
string

The initial date from which records are retrieved. Format: YYYY-MM-DD. Records from this date onwards will be included unless an 'endDate' is specified.

endDate
string

The end date until which records are retrieved. Format: YYYY-MM-DD. Only records up to this date will be included. If omitted, records up to the current date are returned.

Response

200 - application/json
data
object[]
pagination
object