GET

/rest/orders

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

Authorizations

Authorizationheaderrequired
string

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

Query Parameters

pageSizerequired
number

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

pageNumberrequired
number

Number of pages shown.

Response

200 - application/json
orders
object[]
pagination
object