---
title: "Poll the latest Swapped order status for a smart account"
method: GET
path: "/onramp/swapped/status/{smartAccount}"
tags: ["Onramp"]
---

# Poll the latest Swapped order status for a smart account

`GET /onramp/swapped/status/{smartAccount}`

Returns the latest Swapped order recorded for the smart account (from notify webhooks), or `{ ok: false, reason: "no_order" }` when none exists yet.

## Path parameters

- `smartAccount` string, required — Ethereum address (0x followed by 40 hex characters)

## Headers

- `x-api-key` string — API key for authentication (omit when sending Authorization)
- `authorization` string — Bearer platform token (e.g. forwarded by user-service). Takes precedence over `x-api-key` when both are present.

## Response `200`

Latest order status (or no_order)

- SwappedStatusResponse
  - `ok` boolean, required
  - `reason` string
  - `orderId` string
  - `status` string, nullable
  - `orderCrypto` string, nullable
  - `orderCryptoAmount` string, nullable
  - `transactionId` string, nullable
  - `receivedAt` string, nullable
  - `paidAmountUsd` number, nullable
  - `paidAmountEur` number, nullable
  - `onrampFeeUsd` number, nullable
  - `paymentMethod` string, nullable

## Other responses

- `400` — Invalid smart account address
- `401` — Authentication required or invalid credential
- `403` — API key lacks the required deposits scope, or the account is not registered to the calling project
- `500` — Failed to read order status
- `503` — Swapped on-ramp is not configured

---

[API](https://skmtc.net/rhinestonewtf/apis/deposit-service-api.md) · [All operations](https://skmtc.net/rhinestonewtf/apis/deposit-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rhinestonewtf/deposit-service-api/revisions/c9aa3f252e4f/schema)
