# Returns a single on ramp order executed by the user **GET /orders/{orderId}** Returns a single on ramp order executed by the user ## Servers - Sandbox Server: https://ramp-api.dev.stably.io/public/api/v1 (Sandbox Server) - Production Server: https://ramp-api.prod.stably.io/public/api/v1 (Production Server) ## Parameters ### Path parameters - **orderId** (string) single order ID ### Query parameters - **walletAddress** (string) The wallet address supposedly associated with the order. This is used as a security measure preventing random order browsing. ## Responses ### 200 Successful operation #### Body: application/json (object) - **id** (string) - **customId** (string) If the "order custom ID" is enabled in the /configuration endpoint, an ID provided by StablyRamp allowing to retrieve the order. - **userId** (string) - **link** (string) An URI pointing to Stably Ramp page displaying the order details. - **crypto** (object) - **fiatAmountInUsd** (string) - **fiat** (string) The ISO 4217 code of the fiat currency used to pay for the order. - **payment** (string) The payment method used to buy the crypto. The ID defined in the configuration. - **providerPayment** (string) A provider-defined payment method, providing more details than the payment field. For example, if a VISA credit card was used with with the "debit-credit-card" payment method, this field may contain "VISA". - **cryptoAmountOut** (string) - **fiatAmountIn** (string) - **exchangeRate** (string) The exchange rate used to get the amount of crypto - **processingFees** (array[object]) - **networkFees** (array[object]) - **partnerFees** (array[object]) - **createdAt** (string) - **updatedAt** (string) - **transactionHash** (string) The hash of the transaction transfering the crypto to the user wallet. Depending on Stably Ramp behavior, transfers could be bundled and a single transaction could be linked to multiple orders. - **walletAddress** (string) The wallet address of the user. When the order is completed, crypto funds are sent to this address. - **status** (string) The status of the order. Pending orders are periodically polled by StablyRamp. Completed, failed or cancelled orders are never polled again once StablyRamp detects one of these statuses - **statusCode** (string) If applicable, a code defined by Stably Ramp, providing more details than the StablyRamp-defined status field. - **statusReason** (string) If applicable, information explaining how the order has its current status. - **partnerAccountId** (string) An value identifying Consensys/StablyRamp as the partner associated with the transaction - **orderType** (string) The type of the order. "BUY" for a buy order, "SELL" for a sell order. ### 500 An unexpected error #### Body: application/json (object) - **error** (string) A description of the unexpected error. - **code** (integer) The error code associated with the unexpected error. - **message** (string) A detailed error message explaining the issue. [Powered by Bump.sh](https://bump.sh)