Decline an RFQ
POST/rfqs/{rfq_id}/decline
Declines an RFQ you have not quoted, within its quote window. Makers only. Send {} or one reason.
Authentication
x-crx-addressx-crx-tsx-crx-sigx-crx-addressx-crx-signerx-crx-tsx-crx-sigx-crx-session
Parameters
| Name | In | Type | Description |
|---|---|---|---|
rfq_id required | path | string | RFQ ID, 32-byte hex. |
Request body
| Field | Type | Description |
|---|---|---|
reason | string market_closed tenor_not_offered size_not_offered price_unavailable | Decline reason: |
Responses
200
RFQ declined.
| Field | Type | Description |
|---|---|---|
rfq_id required | string | ID of the declined RFQ. |
400
bad_request: the body is empty, or not {} or one known reason.
code bad_request
401
unauthorized: a signed header or the token is refused, or the account is not a maker.
code unauthorized
403
not_whitelisted: the account is not approved for this call.
code not_whitelisted
404
unknown_rfq: no such RFQ, or a test RFQ of another maker. not_found: declines are disabled.
code unknown_rfq not_found
408
timeout: no answer within 30 seconds.
code timeout
409
quote_window_closed: the quote window has closed. conflict: your own RFQ, a close round, or an RFQ you quoted.
code quote_window_closed conflict
429
rate_limited: retry after Retry-After seconds.
code rate_limited
| Header | Type | Description |
|---|---|---|
Retry-After | integer | Seconds until the next call is accepted. |
ratelimit-limit | integer | Maximum calls in a burst. |
ratelimit-remaining | integer | Calls remaining before the limit. |
ratelimit-reset | integer | Seconds until the full limit is restored. |
ratelimit-refill | integer | Calls restored per minute. |