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.
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]
{
"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).
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]
{
"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."
}