POST /api/developer/orders.
How to read this page
This is the point where a quote becomes a real transaction. Keep the quote response nearby while you create the order.
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
emailexternalCustomerIddeveloperFeeAddressdeveloperFeePercent
Business fees
RampHub lets businesses attach a fee address and fee percent to the same order request. Use both fields together:- Send
developerFeeAddressanddeveloperFeePercenttogether. developerFeePercentmust be greater than0and at most100.
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.