v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-013469188.5 KB
Onramp

Poll the latest Swapped order status for a smart account

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

get/onramp/swapped/status/{smartAccount}

Path parameters

smartAccountstring required

Ethereum address (0x followed by 40 hex characters)

Example:0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91

Ethereum address (0x followed by 40 hex characters)

Headers

x-api-keystring

API key for authentication (omit when sending Authorization)

Example:your-api-key

API key for authentication (omit when sending Authorization)

authorizationstring

Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.

Example:Bearer eyJhbGciOi...

Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.

Response

Latest order status (or no_order)

okboolean required
reasonstring
orderIdstring
statusstring nullable
orderCryptostring nullable
orderCryptoAmountstring nullable
transactionIdstring nullable
receivedAtstring nullable
paidAmountUsdnumber nullable
paidAmountEurnumber nullable
onrampFeeUsdnumber nullable
paymentMethodstring nullable