# Show or hide a vendor in the Lobby, or a payment provider in the Cashier ```http PUT https://api.onehazel.com/onehazel-api/operators/me/surfaces/vendors/{key}/visibility ``` Body: `{ "lobby_hidden": true|false, "cashier_hidden": true|false }`, at least one. `lobby_hidden: true` takes the vendor out of the operator's Lobby (demo or real money); `cashier_hidden: true` takes the payment provider out of the Cashier. The field you leave out keeps its saved value. Nothing is hidden until you hide it. This changes what the Lobby and Cashier show; it does not cancel a connection or a demo activation. Session sign-in only, owner or admin of the operator account. Answers 200 with `{ key, lobby_hidden, cashier_hidden }`, 400 `VALIDATION_ERROR` for a bad body, 404 `CONNECT_CONNECTOR_NOT_FOUND` for an unknown key, or 404 `SURFACES_DISABLED` while OneHazel Surfaces is not enabled. Section: [Surfaces](./) Operation id: `putOperatorsMeSurfacesVendorsByKeyVisibility` ## Authentication Signed-in session token (`Authorization: Bearer `). ## Parameters | Name | In | Required | Description | |---|---|---|---| | `key` | path | yes | | ## Request body JSON object. ## Responses `200` `{ "success": true, "data": ... }` Errors return `{ "success": false, "error": { "code": "...", "message": "..." } }` with a 4xx or 5xx status. ## Example ```bash curl -X PUT "https://api.onehazel.com/onehazel-api/operators/me/surfaces/vendors/{key}/visibility" \ -H "Authorization: Bearer YOUR_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` Machine-readable: [openapi.yaml](/openapi.yaml), [openapi.json](/openapi.json).