---
title: "Get an onramp order by ID"
method: GET
path: "/v2/onramp/orders/{orderId}"
tags: ["Onramp"]
---

# Get an onramp order by ID

`GET /v2/onramp/orders/{orderId}`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/onramp/orders/{orderId}`
- Auth: HTTP bearer

Get an onramp order by ID.

## Path parameters

- `orderId` string, required

## Response `200`

Successfully retrieved an onramp order.

- object
  - `order` OnrampOrder, required: An Onramp order.
    - `orderId` string, required: The ID of the onramp order.
    - `paymentTotal` string, required: The total amount of fiat to be paid, inclusive of any fees.
    - `paymentSubtotal` string, required: The amount of fiat to be converted to crypto.
    - `paymentCurrency` string, required: The fiat currency to be converted to crypto.
    - `paymentMethod` 'GUEST_CHECKOUT_APPLE_PAY' | 'GUEST_CHECKOUT_GOOGLE_PAY', required: The type of payment method to be used to complete an onramp order.
    - `purchaseAmount` string, required: The amount of crypto to be purchased.
    - `purchaseCurrency` string, required: The crypto currency to be purchased.
    - `fees` OnrampOrderFee[], required: The fees associated with the order.
      - `type` 'FEE_TYPE_NETWORK' | 'FEE_TYPE_EXCHANGE', required: The type of fee.
      - `amount` string, required: The amount of the fee.
      - `currency` string, required: The currency of the fee.
    - `exchangeRate` string, required: The exchange rate used to convert fiat to crypto i.e. the crypto value of one fiat.
    - `destinationAddress` string, required: The destination address to send the crypto to.
    - `destinationNetwork` string, required: The network to send the crypto on.
    - `status` 'ONRAMP_ORDER_STATUS_PENDING_AUTH' | 'ONRAMP_ORDER_STATUS_PENDING_VERIFICATION' | 'ONRAMP_ORDER_STATUS_PENDING_PAYMENT' | 'ONRAMP_ORDER_STATUS_PROCESSING' | 'ONRAMP_ORDER_STATUS_COMPLETED' | 'ONRAMP_ORDER_STATUS_FAILED', required: The status of an onramp order.
    - `txHash` string: The transaction hash of the order (only available once crypto has been sent).
    - `createdAt` string, required: The date and time the order was created.
    - `updatedAt` string, required: The date and time the order was last updated.
    - `partnerUserRef` string: The partner user reference ID.
    - `partnerId` string: The Onramp-issued identifier of the end partner this order was scoped to via the X-Onramp-Partner-Id header. Only present for orders created by an aggregator on behalf of a registered end partner.

## Other responses

- `401`: Unauthorized.
- `404`: Order not found.
- `429`: Rate limit exceeded.

## Changes

- **2026-12-01** `06cb41a4fb57`: 3 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `429`
- **2026-10-16** `ff3c1fdef902`: 3 warning, 1 info
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `429`
  - added the optional property `order/partnerId` to the response with the `200` status
- **2026-10-06** `156440e9f8df`: 30 warning
  - added the new `incompatible_event_types` enum value to the `errorType` response property for the response status `401`
  - added the new `incompatible_event_types` enum value to the `errorType` response property for the response status `404`
  - added the new `incompatible_event_types` enum value to the `errorType` response property for the response status `429`
  - added the new `invalid_webhook_headers` enum value to the `errorType` response property for the response status `401`
  - …26 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/onramp/orders/:orderId/get.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
