Swipelux
Server-side integration

Get order information

Reference

URL

GET https://api.swipelux.com/api/public/orders/{orderId}

Request parameters

ParameterTypeRequiredDescription
orderIdstringYesThe ID of the order to get information about

Request response

The response includes comprehensive order details including transaction amounts, fees, status, and more.

Here's an example response:

{
  "createdAt": "2024-01-31T14:16:16.798Z",
  "email": "user@example.com",
  "status": "SUCCESS",
  "from": {
    "amount": 100,
    "currency": {
      "code": "USD",
      "name": "US Dollar"
    }
  },
  "to": {
    "amount": 0.0023,
    "currency": {
      "code": "BTC",
      "name": "Bitcoin"
    }
  },
  "transactions": [
    {
      "description": "Bitcoin transfer",
      "publicUrl": "https://blockchair.com/bitcoin/transaction/...",
      "transactionId": "0x123..."
    }
  ]
}

Response status codes

Status codeDescription
200The order was found and returned successfully
404The order was not found

On this page