POST /api/developer/orders.
How to read this pageThis 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:The network: one of the values in Networks, such as
base or arbitrum.amount is the crypto amount, and you also need a destination wallet address:
Buying with an African currencyA buy in KES, GHS or another African currency is paid by mobile money. It also needs
bankCode (the paying network) and accountNumber (the paying mobile number), and country for XOF. The customer approves a payment prompt on their phone, so the response has no bank account to pay into.Route through this provider. The order uses it, or fails with a
400 saying why it cannot take this trade - it is never switched to another provider. Leave it out for the best rate.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:Response shape
The response includes the tracked RampHub transaction id, the selected provider, and the payment instructions to show the customer.The order’s id. Use it for status sync; it is
data.id in webhooks.The provider’s payment instructions: the bank account the customer pays, the exact amount and when it expires. The shape depends on
selectedProvider. With UseBread, they are in providerDetails.data.deposit, as in the example.On a buy, RampHub’s own settlement address, where the provider delivers the crypto. Do not show it to the customer. The crypto reaches the customer at
walletAddress.Notes
- Save
transactionIdright away. - Show the customer the payment instructions in
providerDetails. Ask them to pay the exact amount before the account expires; with UseBread, a dynamic account lasts 30 minutes and can be used once. developerFeePercentcan be0or a small percentage like0.5.overrideActiveIntentcan be set totruewhen the customer wants to replace an existing active order window.- The minimum order is $1 of crypto, measured by what
fiatAmountbuys; smaller orders fail with a400before anything is created. - With
preferredProvider, quote first with the same provider to see its rate - the order is refused rather than routed elsewhere if that provider cannot take it. - Ignore
ourCryptoAddresson a buy: it is not an address the customer sends to or receives at.