Skip to main content
POST
Create Onramp Order

Body

application/json
userId
string
required

ID of the user placing the onramp order

fromCurrency
string
required

The fiat currency the user is paying with (e.g., USD)

toCurrency
string
required

The cryptocurrency to be delivered (e.g., ETH)

amount
number
required

Amount in fiat currency to convert

chain
string
required

Blockchain network to use (e.g., ethereum, polygon)

paymentMethodId
string
required

ID of the user's selected payment method

depositAddress
string
required

Wallet address where the crypto will be delivered

Response

200 - application/json

Onramp order successfully created

orderId
string

Unique identifier for the onramp order

status
string

Current status of the order (e.g., pending, completed)

estimatedDelivery
string<date-time>

Estimated delivery time for crypto