Business CollectionOn-Ramp

Retrieve an order

GET
/openapi/v1/collections/on-ramp/orders/{orderId}

Retrieve an order by its Stabo order ID. The response structure is the same as the order creation response.

You can only retrieve On-Ramp orders of your own merchant account. Other orders return "order not found".

Use Webhooks as the primary channel and order queries as a fallback. If you poll, wait at least 30 seconds between requests, and stop when the order reaches a final status.

If a Webhook and an order query disagree, the order query result is authoritative.

Authorization

bearerAuth
headerAuthorizationBearer <token>

The access_token obtained from POST /oauth2/token. Header format: Authorization: Bearer {accessToken}. The merchant identity comes from the token. The request body does not accept merchant or tenant fields.

Path Parameters

orderId*string

Stabo order ID returned by order creation

Response Body

Returns the order.

application/json
  1. response
code?integer

Business status code

message?string
traceId?string

Request trace ID. Provide it when you contact technical support

data?

On-Ramp order. Order creation, order queries, and Webhooks use the same structure.

Example Request
curl -X GET 'https://api.test.stabofx.com/openapi/v1/collections/on-ramp/orders/bco_8f3k2m9q1x7z4t6w'
Example Response
{  "code": 200,  "message": "OK",  "traceId": "trace-uuid-string",  "data": {    "orderId": "bco_8f3k2m9q1x7z4t6w",    "referenceNo": "merchant-order-0001",    "status": "COMPLETED",    "country": "MX",    "fiatCurrency": "MXN",    "fiatAmount": "954.77",    "fiatFee": "13.50",    "cryptoCurrency": "USDT",    "cryptoAmount": "50.000000",    "price": "18.8253",    "paymentInfo": {      "method": "SPEI",      "clabe": "706180000000000001",      "reference": "REF123456"    },    "payer": {      "name": "Juan Perez Lopez"    },    "expiresAt": "2026-11-01T06:15:00Z",    "createdAt": "2026-11-01T10:15:00+08:00",    "completedAt": "2026-11-01T10:32:08+08:00",    "failureReason": null  }}