Create a new gateway order (V4).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Gateway quote response for V4.
Gateway quote response for V4.
Response Body
application/json
application/json
curl -X POST "https://example.com/v4/create-order" \ -H "Content-Type: application/json" \ -d '{ "onramp": { "dstChain": "string", "dstToken": "string", "executionFees": { "address": "string", "amount": "string", "chain": "string" }, "feeBreakdown": { "affiliateFee": { "address": "string", "amount": "string", "chain": "string" }, "executionFee": { "address": "string", "amount": "string", "chain": "string" }, "layerzeroFee": { "address": "string", "amount": "string", "chain": "string" }, "protocolFee": { "address": "string", "amount": "string", "chain": "string" }, "solverFee": { "address": "string", "amount": "string", "chain": "string" } }, "fees": { "address": "string", "amount": "string", "chain": "string" }, "inputAmount": { "address": "string", "amount": "string", "chain": "string" }, "outputAmount": { "address": "string", "amount": "string", "chain": "string" }, "recipient": "string", "signedQuoteData": "string", "slippage": "string", "token": "string" } }'{ "onramp": { "address": "string", "op_return_data": "string", "order_id": "string", "psbt_hex": "string" }}Get a gateway quote (V4 — `refundAddress` is optional here, required by create-order). GET
Previous Page
Delegate on-chain submission of a signed onramp Bitcoin transaction to the gateway (V4). PATCH
The gateway validates the transaction against the order, screens it, and broadcasts it, so the user does not submit it themselves. Only the raw transaction is accepted (no txid), and only for onramps: offramp and token-swap source transactions are indexed from the chain.