---
updatedAt: 2026-08-04T14:15:43.000Z
agentTools:
  projectIndex: https://lirium.readme.io/llms.txt
---

# Order Details

Gets a specific partner order

Returns a single partner order. The operation-specific detail is nested under a key named after `operation` — `withdrawal`, `top_up`, `swap_referral` — while `partner_commission` orders carry no extra object.

## Withdrawal Orders

For `withdrawal` orders, the `withdrawal` object splits the debited amount into what reached the destination and what Lirium charged:

| Field                                 | Type   | Description                                                           |
| ------------------------------------- | ------ | --------------------------------------------------------------------- |
| `currency`                            | string | Withdrawal currency, matching your settlement account.                |
| `amount`                              | string | Total debited from your settlement account.                           |
| `destination_amount`                  | string | Amount credited to the destination, i.e. `amount` minus `fee_amount`. |
| `fee_amount`                          | string | Fee charged for the withdrawal. `"0"` when no fee applies.            |
| `type`                                | string | Destination type. `outgoing_instruction` for current orders.          |
| `outgoing_instruction.instruction_id` | string | ID of the Outgoing Fiat Instruction the funds were sent to.           |

> 📘 Legacy Destinations
>
> Orders placed before withdrawals routed through Outgoing Fiat Instructions may instead carry a `ar_cvu`, `ar_cbu`, `ar_alias` or `address_book_item` object with a matching `type`. These appear on historical orders only.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Lirium API",
    "version": "1.0",
    "description": "The Lirium API enables partners to integrate cryptocurrency buy/sell operations,\ncustomer management, and investment services into their applications.\n",
    "contact": {
      "name": "Lirium Support",
      "email": "api@lirium.com"
    }
  },
  "servers": [
    {
      "url": "https://api.lirium-sandbox.com/v1",
      "description": "Sandbox"
    },
    {
      "url": "https://api.lirium.com/v1",
      "description": "Production"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-default": "<JWT>",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/partner/orders/{id}": {
      "get": {
        "summary": "Order Details",
        "description": "Gets a specific partner order",
        "operationId": "getPartnerOrderDetails",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "swap_referral": {
                    "value": "{\n  \"id\": \"67c2f4d37bf64adb8c4674e002ac4b48\",\n  \"state\": \"completed\",\n  \"created_at\": \"2021-08-17T02:00:55.733427+00:00\",\n  \"processed_at\": \"2021-08-17T02:00:55.733427+00:00\",\n  \"last_updated_at\": \"2021-08-17T02:00:55.938307+00:00\",\n  \"operation\": \"swap_referral\",\n  \"settlement\": {\n    \"currency\": \"EUR\",\n    \"amount\": \"0.4\",\n    \"operation\": \"credit\"\n  },\n  \"swap_referral\": {\n    \"payment_id\": \"86a4814f5c7543e5bef5b71d161252bc\",\n    \"base_currency\": \"USD\",\n    \"total_base_amount\": \"0.48\",\n    \"dates\": [\n      {\n        \"date\": \"2021-08-16\",\n        \"volume\": {\n          \"currency\": \"USD\",\n          \"amount\": \"160\"\n        },\n        \"payment\": {\n          \"volume_percent\": \"0.3\",\n          \"base_amount\": \"0.48\"\n        }\n      }\n    ]\n  }\n}\n"
                  },
                  "top_up": {
                    "value": "{\n  \"id\": \"498052e7dc0743599052b1caebc2eaa4\",\n  \"state\": \"completed\",\n  \"created_at\": \"2021-07-23T14:58:43.474545+00:00\",\n  \"processed_at\": \"2021-07-23T14:58:43.835366+00:00\",\n  \"last_updated_at\": \"2021-07-23T14:58:43.893324+00:00\",\n  \"operation\": \"top_up\",\n  \"settlement\": {\n    \"currency\": \"USD\",\n    \"amount\": \"50000\",\n    \"operation\": \"credit\",\n    \"amount_before_fee\": \"50000\",\n    \"fee_amount\": \"0\"\n  },\n  \"reference_code\": \"ref-123\",\n  \"top_up\": {\n    \"ar_bank_transfer\": {\n      \"coelsa_id\": \"629d3083a7bb7b8f09c36d\"\n    }\n  }\n}\n"
                  },
                  "withdrawal": {
                    "value": "{\n  \"created_at\": \"2026-06-22T20:43:54.488922+00:00\",\n  \"id\": \"b9e7324868524208baf2513570fc96cf\",\n  \"last_updated_at\": \"2026-06-22T20:44:30.642796+00:00\",\n  \"operation\": \"withdrawal\",\n  \"processed_at\": \"2026-06-22T20:43:54.488922+00:00\",\n  \"reference_id\": \"withdrawal-1\",\n  \"settlement\": {\n    \"amount\": \"1234.56\",\n    \"currency\": \"MXN\",\n    \"operation\": \"debit\"\n  },\n  \"state\": \"completed\",\n  \"withdrawal\": {\n    \"amount\": \"1234.56\",\n    \"destination_amount\": \"1224.56\",\n    \"fee_amount\": \"10\",\n    \"currency\": \"MXN\",\n    \"type\": \"outgoing_instruction\",\n    \"outgoing_instruction\": {\n      \"instruction_id\": \"39c98c5ae53941449539074a2645dd85\"\n    }\n  }\n}\n"
                  },
                  "withdrawal (legacy destination)": {
                    "value": "{\n  \"created_at\": \"2022-02-01T20:43:54.488922+00:00\",\n  \"id\": \"b9e7324868524208baf2513570fc96cf\",\n  \"last_updated_at\": \"2022-02-01T20:44:30.642796+00:00\",\n  \"operation\": \"withdrawal\",\n  \"processed_at\": \"2022-02-01T20:43:54.488922+00:00\",\n  \"reference_id\": \"withdrawal-1\",\n  \"settlement\": {\n    \"amount\": \"99\",\n    \"currency\": \"ARS\",\n    \"operation\": \"debit\"\n  },\n  \"state\": \"completed\",\n  \"withdrawal\": {\n    \"amount\": \"99\",\n    \"destination_amount\": \"99\",\n    \"fee_amount\": \"0\",\n    \"ar_cvu\": {\n      \"coelsa_id\": \"COELSA_NET_ID\",\n      \"cvu\": \"000123401234567890120\"\n    },\n    \"currency\": \"ARS\",\n    \"type\": \"ar_cvu\"\n  }\n}\n"
                  },
                  "partner_commission": {
                    "value": "{\n  \"id\": \"362e0f14e99a40ce8293444684ef7856\",\n  \"state\": \"completed\",\n  \"reference_id\": \"ee1a3286ef42440eaf1c92d451dc6bae\",\n  \"created_at\": \"2022-01-27T21:15:45.490810+00:00\",\n  \"processed_at\": \"2022-01-27T21:15:45.548119+00:00\",\n  \"last_updated_at\": \"2022-01-27T21:15:45.567136+00:00\",\n  \"operation\": \"partner_commission\",\n  \"settlement\": {\n    \"currency\": \"ARS\",\n    \"amount\": \"2.56\",\n    \"operation\": \"credit\"\n  }\n}\n"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```