---
title: "Get order by id"
method: GET
path: "/v1/orders/{id}"
tags: ["Orders"]
---

# Get order by id

`GET /v1/orders/{id}`

Returns order details for the given order id.

## Path parameters

- `id` string, uuid, required

## Response `200`

Order details.

- PartnerOrderResponse
  - `orderId` string, uuid, required — Unique identifier of the order.
  - `externalReference` string — External order reference set by the partner. Limited to 100 characters.
  - `subPartnerId` string — Optional third-party reference set by the partner. Limited to 50 characters.
  - `orderType` 'BUY' | 'SELL', required — Order direction. BUY for on-ramp, SELL for off-ramp.
  - `createdAt` string, date-time, required — Timestamp when the order was created.
  - `orderState` 'PENDING' | 'WITHDRAWING' | 'COMPLETED' | 'FAILED', required — Current state of the order.
  - `orderStateUpdatedAt` string, date-time, required — Timestamp of the last order state change.
  - `paymentMethod` 'CARD' | 'APPLE_PAY' | 'GOOGLE_PAY' | 'BANK_TRANSFER_NIP', required — Payment method to be used for the order.
  - `inputCurrency` string, required — Fiat currency used to fund the order.
  - `inputAmount` string, required — Fiat amount used to fund the order.
  - `outputCurrency` string, required — Crypto currency purchased.
  - `outputAmount` string, required — Amount of crypto received.
  - `amountUsd` string, required — Transaction value in USD. Approximate when `inputCurrency` is not USD.
  - `processingFee` string, required — Blockchain.com Pay processing fee denominated in `inputCurrency`.
  - `processingFeeUsd` string, required — Blockchain.com Pay processing fee in USD. Approximate when `inputCurrency` is not USD.
  - `partnerFee` string, required — Partner fee denominated in `inputCurrency`.
  - `partnerFeeUsd` string, required — Partner fee in USD. Approximate when `inputCurrency` is not USD.
  - `networkFee` string, required — Blockchain network fee denominated in `inputCurrency`.
  - `networkFeeUsd` string, required — Blockchain network fee in USD. Approximate when `inputCurrency` is not USD.
  - `userId` string, uuid, required — Unique identifier of the user who placed the order.
  - `targetWalletAddress` string, required — Crypto wallet address that received the output currency.
  - `transactionHash` string — Blockchain transaction hash. Only present for COMPLETED orders.

## Other responses

- `401` — Missing or invalid API key.
- `404` — Order not found.

---

[API](https://skmtc.net/blockchain/apis/blockchain-com-pay-partner-api.md) · [All operations](https://skmtc.net/blockchain/apis/blockchain-com-pay-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockchain/blockchain-com-pay-partner-api/revisions/7579ec027be7/schema)
