Appearance
List the payment connections behind the Surfaces cashier ​
http
GET https://api.onehazel.com/onehazel-api/operators/me/surfaces/railsThe operator's connections to payment (PSP) connectors: { cashierEnabled, rails: [{ key, name, connectionName, status, railActive, logoDomain? }] }. railActive is true when the cashier pays through that connection: it is active, on the operator's own credentials, and OneHazel supports the provider (Stripe today). cashierHidden is true when the operator switched that provider out of the cashier. cashierEnabled is false, with no rails, while the cashier is not switched on. Session sign-in only, any member of the operator account. Answers 404 SURFACES_DISABLED while OneHazel Surfaces is not enabled.
Section: Surfaces
Operation id: getOperatorsMeSurfacesRails
Authentication ​
Signed-in session token (Authorization: Bearer <session token>).
Responses ​
200 { "success": true, "data": ... }
Errors return { "success": false, "error": { "code": "...", "message": "..." } } with a 4xx or 5xx status.
Example ​
bash
curl -X GET "https://api.onehazel.com/onehazel-api/operators/me/surfaces/rails" \
-H "Authorization: Bearer YOUR_SESSION_TOKEN"Machine-readable: openapi.yaml, openapi.json.