POST /api/developer/orders.
How to read this pageWhen you create a buy order, RampHub also creates the matching order intent automatically. If you need to show the active payment window or let support extend it, see Order intent. If the same customer, token, and network already has an active order window, RampHub returns a structured
This is the point where a quote becomes a real transaction. Keep the quote response nearby while you create the order.
PAYCHAIN_ACTIVE_INTENT_CONFLICT response. Your app can use the Order intent endpoint to show the current window first, or resend the order with overrideActiveIntent: true if the customer wants to replace it.
Request body
Required on every order
sideamountfiatCurrencyassetchain
Buy orders
For buys,amount is the crypto amount and fiatAmount is required. You also need a destination wallet address.
Required:
fiatAmountwalletAddress
emailexternalCustomerIddeveloperFeePercentoverrideActiveIntent
Business fees
RampHub lets businesses attach a developer fee percent to the same order request. RampHub accrues the fee internally, so you only need the percentage:developerFeePercentcan be0or a small percentage like0.5.overrideActiveIntentcan be set totruewhen the customer wants to replace an existing active order window.
Response shape
The response includes the tracked RampHub transaction id, the selected provider, and the next-step details you need to show the user. Common fields:transactionIdrequestReferencesideassetchainselectedProviderbestRateUsedproviderDetailsourCryptoAddressenvironmentsandboxtrackable
Rules
- Save
transactionIdright away. - Use
providerDetailsfor the next step. - Use
ourCryptoAddresswhen it is present.