POST /api/developer/orders.
When you create a sell 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 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
Sell orders
For sells, send resolved bank details instead ofwalletAddress.
Required:
bankCodeaccountNumberaccountName
bankNameemailexternalCustomerIddeveloperFeePercentoverrideActiveIntent
bankCode values in the sell form.
POST /api/developer/bank-accounts/resolve first and reuse the returned accountName.
Response shape
The response includes the tracked RampHub transaction id, the selected provider, and the provider settlement details your app should show next. Common fields:transactionIdrequestReferencesideassetchainselectedProviderbestRateUsedproviderDetailsourCryptoAddressenvironmentsandboxtrackable
Rules
- Save
transactionIdright away. - Use
providerDetailsfor the next step. - Use
ourCryptoAddressfor sell payment instructions when it is present.