Trade
Execute a Trade Quote
Create a trade transaction from a selected quoteId before the quote expires. Returns HTTP 201 with the full Transaction object.
Request example
POST
/api/external/transactions/intent/create/
Example: executes the trade quote quote_lp_best_3043, selling 10,000 USDT for 9,997 USD.
Request body
null
Send
null when executing a quote. Do not repeat the quote intent.string
Client reference.
string
Human-readable note.
Response
Returns HTTP 201 with a full Transaction. Optional fields depend on the payment route and status.string
Transaction ID. Use it with Retrieve Transaction to track status.
string
Lifecycle status. Track it until
COMPLETED, FAILED, or DECLINED.QuoteResponseItem
The executed quote, including its
input, output, source, destination, and expiresAt. See QuoteResponseItem.TransferPartyData
Where the funds come from, as a TransferPartyData. Which fields are present depends on
type.TransferPartyData
Where the funds go. Same fields as
source. See TransferPartyData.TransactionOperationBalanceChanges | null
Aggregate balance movements across the transaction, when present: the input asset debited and the output asset credited. See TransactionOperationBalanceChanges.
DepositInstructions
Present when funding is required. Use the returned details exactly. See DepositInstructions.
Executing a quote creates a transaction in
PENDING that waits for approval. Get the approval message for the transaction id, sign it, then submit the approval. The SDK’s createTransactionFromIntent() does this for you and returns the updated transaction. See Approvals.Request example