Orders
Prepare a purchase
Prepare a purchase at the asking price the buyer reviewed. The returned order is ready for the buyer to sign. The playground uses the testnet request format. See the endpoint page for the current mainnet fields.
POST
Prepare a purchase at the displayed ask price
expiresAt: null for the default expiry. Until the mainnet release, omit both expiresAt and expiresInSeconds for the mainnet default.The buyer must have enough USDT approved for Permit2 when submitting the purchase.Request
Builder key required
Response
Error codes
Match the HTTP status and response text to a row below. For guidance on codes shared across endpoints, see Error meanings and recovery.
Authorizations
Body
application/json