curl -X POST https://api.totalis.trade/v1/quote-requests/1a6d1f06-9d4f-47cb-994b-3bdfbbef7e40/cancel \
-H "X-API-Key: $TOTALIS_API_KEY"
# No response body
Quote service
Cancel quote request
Cancel an active quote request.
POST
/
v1
/
quote-requests
/
{id}
/
cancel
curl -X POST https://api.totalis.trade/v1/quote-requests/1a6d1f06-9d4f-47cb-994b-3bdfbbef7e40/cancel \
-H "X-API-Key: $TOTALIS_API_KEY"
# No response body
Cancel a quote request while its status is
A Privy JWT (
active. Every pending quote is invalidated, and the request is removed from the live stream.
Authentication
Send your API key in theX-API-Key header. The key needs the trading:write scope.
X-API-Key: <your-api-key>
Authorization: Bearer <jwt>) is also accepted. See Authentication.
Path parameters
string
required
The quote request ID (UUID).
Response
Returns204 No Content with no response body.
Errors
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 403 | FORBIDDEN | You do not own this quote request. |
| 404 | NOT_FOUND | Quote request not found. |
| 409 | CONFLICT | Quote request is already committed, cancelled, or expired. |
curl -X POST https://api.totalis.trade/v1/quote-requests/1a6d1f06-9d4f-47cb-994b-3bdfbbef7e40/cancel \
-H "X-API-Key: $TOTALIS_API_KEY"
# No response body
Was this page helpful?

