Unsubscribe from RFQ requests
REQUEST wss://connection.bitvavo.com:8004/rfq/v1 rfqRequests
Unsubscribes from rfqRequest and rfqTermination events for the specified rfqTypes.
RFQ sessions that you are already participating in continue to their final state, so you may still receive rfqTermination events for those sessions.
Unsubscribing removes the listed types entirely, including their markets filters. The server ignores markets in an unsubscribe action. To stop receiving a single market, subscribe again with only the markets you still want.
Request
- Schema
- Example (body)
Body
- Array [
priceGuarantee— the standard Price Guarantee RFQ for spot markets.priceGuaranteeUK— the Price Guarantee RFQ variant for United Kingdom customers.priceGuaranteeConvert— the Price Guarantee RFQ variant used for asset-to-asset conversions (the Convert product).- ]
Set to unsubscribe to end the subscription.
Possible values: [unsubscribe]
unsubscribeAn identifier that you assign to the request. The server echoes it back in the matching response so you can correlate the two.
9021001channels object[]required
The channels to unsubscribe from.
The name of the channel. Currently, rfqRequests is the only available channel. It streams rfqRequest and rfqTermination events.
Possible values: [rfqRequests]
The types of RFQ requests to subscribe to. Possible values:
Possible values: [priceGuarantee, priceGuaranteeUK, priceGuaranteeConvert]
Optional. The markets for which you receive rfqRequest events. If you omit this field, you receive every market. An empty list matches no market. Ignored in an unsubscribe action.
Possible values: <= 1000
{
"action": "unsubscribe",
"requestId": 9021003,
"channels": [
{
"name": "rfqRequests",
"rfqTypes": [
"priceGuarantee"
]
}
]
}
Response
- unsubscribed
- error
- Schema
- Example (body)
Schema
priceGuarantee— the standard Price Guarantee RFQ for spot markets.priceGuaranteeUK— the Price Guarantee RFQ variant for United Kingdom customers.priceGuaranteeConvert— the Price Guarantee RFQ variant used for asset-to-asset conversions (the Convert product).- Array [
- ]
Confirmation that the server accepted the unsubscription, together with the list of subscriptions that remain active for your session.
Possible values: [unsubscribed]
unsubscribedAn identifier that you assign to the request. The server echoes it back in the matching response so you can correlate the two.
9021001subscriptions objectrequired
The subscriptions that are currently active on your session, grouped by channel.
The RFQ types that are currently active on the rfqRequests channel. Possible values:
Possible values: [priceGuarantee, priceGuaranteeUK, priceGuaranteeConvert]
marketFilters object[]
The markets filters that are active on your session, one entry per filtered RFQ type. Omitted when none of your subscriptions has a filter.
The markets for which you receive rfqRequest events of this type.
Possible values: Value must match regular expression ^[A-Z0-9]+-[A-Z0-9]+$
{
"event": "unsubscribed",
"subscriptions": {
"rfqRequests": [
"priceGuarantee"
]
}
}
- Schema
- Example (body)
Schema
The action that caused the error, if applicable.
subscribeThe details of an error returned by the server.
Possible values: [error]
errorThe Bitvavo error code.
320A human-readable description of the error.
RFQ maker access required. Contact Bitvavo to enable RFQ participation.An identifier that you assign to the request. The server echoes it back in the matching response so you can correlate the two.
9021001The numeric identifier of the operator.
12345{
"action": "subscribe",
"event": "error",
"errorCode": 320,
"error": "RFQ maker access required. Contact Bitvavo to enable RFQ participation."
}