GET
/
orders
/
{orderId}
curl --request GET \
  --url https://api-sandbox.koywe.com/rest/orders/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "orderId": "b88f4ed0-10a2-412f-be3e-b5e47abe9b50",
  "quoteId": "<string>",
  "orderType": "currency-crypto",
  "symbolIn": "CLP",
  "symbolOut": "MATIC",
  "amountIn": 25000,
  "amountOut": 32.171150520770496,
  "email": "example@gmail.com",
  "exchangeRate": 746.01,
  "koyweFee": 1000,
  "partnerFee": 500,
  "networkFee": 1000,
  "status": "REJECTED",
  "outReceipt": "98abd8a6dbdba6d4b",
  "bankAccountId": "6294d815d2b5f912da43e699",
  "metaData": "<string>",
  "externalId": "A1d2t3456",
  "feesInFiat": {
    "koyweFee": 10,
    "netFee": 1,
    "partnerFee": 0.5
  },
  "feesInUSD": {
    "koyweFee": 10,
    "netFee": 1,
    "partnerFee": 0.5
  },
  "dates": {
    "confirmationDate": "2023-01-01T10:00:00Z",
    "paymentDate": "2023-01-01T12:00:00Z",
    "executionDate": "2023-01-01T14:00:00Z",
    "deliveryDate": "2023-01-01T16:00:00Z"
  },
  "destinationAddress": "0x40f9bf922c23c43acede50Ab4425280C0ffBD697",
  "paymentMethodId": "6294d815d2b5f912da43e699",
  "logoIn": "urlExample.com/currencies/CLP.svg",
  "logoOut": "urlExample.com/currencies/MATIC.svg",
  "refund": {
    "dates": {
      "startDate": "2023-01-01T18:00:00Z",
      "processDate": "2023-01-01T20:00:00Z",
      "deliveredDate": "2023-01-01T22:00:00Z"
    },
    "destinationAddress": "0x40f9bf922c23c43acede50Ab4425280C0ffBD697",
    "transactionReceipt": "98abd8a6dbdba6d4b"
  },
  "errors": {
    "invalidWithdrawalsDetails": {
      "_id": "6234f5d4d9f4",
      "name": "John Doe",
      "bankCode": "001",
      "countryCode": "CL",
      "currencySymbol": "CLP",
      "accountNumber": "1234567890",
      "account": "Savings",
      "accountType": "Savings",
      "entityName": "Banco de Chile"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

orderId
string
required

Order's identifier.

Response

200
application/json
successful operation
orderId
string
Example:

"b88f4ed0-10a2-412f-be3e-b5e47abe9b50"

quoteId
string
orderType
string
Example:

"currency-crypto"

symbolIn
string
Example:

"CLP"

symbolOut
string
Example:

"MATIC"

amountIn
number
Example:

25000

amountOut
number
Example:

32.171150520770496

email
string
Example:

"example@gmail.com"

exchangeRate
number
Example:

746.01

koyweFee
number
Example:

1000

partnerFee
number
Example:

500

networkFee
number
Example:

1000

status
string
Example:

"REJECTED"

outReceipt
string
Example:

"98abd8a6dbdba6d4b"

bankAccountId
string
Example:

"6294d815d2b5f912da43e699"

metaData
string
externalId
string
Example:

"A1d2t3456"

feesInFiat
object
feesInUSD
object
dates
object
destinationAddress
string
Example:

"0x40f9bf922c23c43acede50Ab4425280C0ffBD697"

paymentMethodId
string
Example:

"6294d815d2b5f912da43e699"

logoIn
string
Example:

"urlExample.com/currencies/CLP.svg"

logoOut
string
Example:

"urlExample.com/currencies/MATIC.svg"

refund
object
errors
object