Confirm trade quote Run in API Explorer
Ask AI
Confirms a previously issued RFQ quote for the authenticated API key owner.
Headers
-
Public API key issued from the Lumetrade API key management flow.
-
API secret paired with the public API key.
Body
Required
-
Amount the customer sends or pays from the quote response. Provide either fromAmount or toAmount, not both.
-
Amount the customer receives from the quote response. Provide either toAmount or fromAmount, not both.
-
Currency the customer sends or pays with.
-
Quote reference returned by /api/v1/trades/quote.
-
Currency the customer receives.
POST
/api/v1/trades/quote/confirm
curl \
--request POST 'https://api.lumetrade.com/api/v1/trades/quote/confirm' \
--header "Content-Type: application/json" \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string" \
--data '{"fromAmount":100,"fromCurrency":"USDT","toCurrency":"ZAR","quoteStr":"rfq_quote_7K9Q2M"}'
Request examples
Confirm using fromAmount
Confirm by send amount
{
"fromAmount": 100,
"fromCurrency": "USDT",
"toCurrency": "ZAR",
"quoteStr": "rfq_quote_7K9Q2M"
}
Confirm by receive amount
{
"toAmount": 1840,
"fromCurrency": "USDT",
"toCurrency": "ZAR",
"quoteStr": "rfq_quote_7K9Q2M"
}
Response examples (200)
Trade response returned after confirming a fromAmount quote
Confirmed trade by send amount
{
"fromCurrency": "USDT",
"toCurrency": "ZAR",
"fromAmount": 100,
"toAmount": 1840,
"rate": 18.4,
"isRateInverted": false,
"isRfq": true,
"status": "COMPLETED",
"transactionId": "TID4J7K2N",
"createdAt": "2026-05-11T10:15:30Z",
"completedAt": "2026-05-11T10:15:35"
}
Confirmed trade by receive amount
{
"fromCurrency": "USDT",
"toCurrency": "ZAR",
"fromAmount": 100,
"toAmount": 1840,
"rate": 18.4,
"isRateInverted": false,
"isRfq": true,
"status": "COMPLETED",
"transactionId": "TID4J7K2N",
"createdAt": "2026-05-11T10:15:30Z",
"completedAt": "2026-05-11T10:15:35"
}
Response examples (400)
{}