Screvercommerce
API

Typed APIs. REST and GraphQL.

Every capability is callable. REST endpoints for transactional flows, GraphQL for content, webhooks for events, MCP for agentic access. All authenticated via tenant-scoped API keys or OAuth2.

Explorer

API Explorer.

Pick an endpoint, edit the body, send a request. Live responses, inline docs.

app.screver.ch/integrations/api
IntegrationsAPI Explorerslug: api-explorer
MK

API Explorer

v2026.05
GET/v1/products

Headers

Authorization: Bearer sk_live_•••••
Content-Type: application/json

Body

{
"tenant": "alpine-zone",
"items": [{ "sku": "ZER-DAY-001", "qty": 2 }],
"currency": "CHF"
}

Response

200 OK · 142ms
{
"id": "cart_8af2c91",
"total": 25240,
"currency": "CHF",
"items": [
{ "sku": "ZER-DAY-001", "qty": 2, "price": 17800 }
],
"checkoutUrl": "https://pay.screver.ch/c/8af2c91"
}

Docs

Creates a cart for the given tenant. Items are validated against the active catalog; the response includes a signed checkout URL valid for 30 minutes.

Parameters

tenant · string
items · array
currency · ISO 4217
metadata · object
API Explorer · v2026.05
Endpoints

Every capability covered.

Auth & Tenancy

MethodPathPurpose
POST/api/auth/loginCustomer login
POST/api/auth/oauth/swissidSwissID OAuth callback
POST/api/auth/oauth/swisspassSwissPass OAuth callback
GET/api/meCurrent user + entitlements
GET/api/tenantTenant configuration

Catalog

MethodPathPurpose
GET/api/catalog/productsList products with filters
GET/api/catalog/products/:idProduct detail
GET/api/catalog/faresFares for route + class + reduction
GET/api/catalog/schedulesSchedules for a line/route
GET/api/catalog/availabilityAvailability for a product on a date

Cart & Checkout

MethodPathPurpose
POST/api/cartCreate cart
POST/api/cart/:id/itemsAdd item
DELETE/api/cart/:id/items/:itemIdRemove item
POST/api/cart/:id/quoteRe-quote with rules and entitlements
POST/api/stripe/create-payment-intentCreate PaymentIntent (shop)
POST/api/stripe/create-booking-intentCreate PaymentIntent (booking)
POST/api/stripe/webhookStripe webhook
POST/api/payments/twint/initiateInitiate TWINT payment
POST/api/payments/twint/callbackTWINT confirmation callback

Bookings & Orders

MethodPathPurpose
GET/api/bookingsList bookings
GET/api/bookings/:idBooking detail with audit trail
POST/api/bookings/:id/modifyModify (with policy checks)
POST/api/bookings/:id/cancelCancel + refund per policy
GET/api/bookings/:id/pdfDownload PDF ticket
GET/api/ordersList orders

Validation

MethodPathPurpose
POST/api/validate/ticketValidate ticket (online)
POST/api/validate/syncSync validator app cache
GET/api/validate/revocationsRevocation list

Providers

MethodPathPurpose
GET/api/providersList providers in tenant
GET/api/stations/searchStation search
GET/api/linesList lines
GET/api/routesList routes

Content

MethodPathPurpose
*/api/[...slug]Payload (headless) REST API (all collections)
POST/api/graphqlPayload (headless) GraphQL API

CRM Sync

MethodPathPurpose
POST/api/crm/hubspot/contactUpsert HubSpot contact
POST/api/crm/hubspot/dealCreate HubSpot deal
POST/api/crm/braze/eventTrack Braze event
POST/api/crm/genericGeneric CRM webhook out

MCP

MethodPathPurpose
GET/api/mcp/manifestMCP server manifest
POST/api/mcp/tool/:nameInvoke MCP tool
GET/api/mcp/registryTenant-registered external MCP servers
POST/api/mcp/registryRegister external MCP server

Admin & Configuration

MethodPathPurpose
GET/api/admin/workflowsList workflows
POST/api/admin/workflowsCreate workflow
GET/api/admin/pricing-rulesList pricing rules
POST/api/admin/pricing-rulesCreate pricing rule
GET/api/admin/connectorsList connector configs
POST/api/admin/connectorsCreate connector config

Audit & Integration Events

MethodPathPurpose
GET/api/audit/booking/:idIntegration events for a booking
GET/api/audit/integration/:nameIntegration health and events

AI Concierge & Ops Copilot

MethodPathPurpose
POST/api/ai/concierge/messageSend message to concierge (streaming)
GET/api/ai/concierge/sessions/:idGet session history
POST/api/ai/copilot/messageSend message to ops copilot
POST/api/ai/copilot/documentsIngest a document for RAG
Example request

Create booking intent.

http

POST /api/stripe/create-booking-intent
Content-Type: application/json
Authorization: Bearer pk_tenant_xxx

{
  "tenant": "mob",
  "items": [
    {
      "type": "transport",
      "lineId": "gpx",
      "routeId": "montreux-interlaken",
      "scheduleId": "sch_2026_w08_sat_08:35",
      "passengers": [
        { "class": "1", "reduction": "halfFare", "firstName": "Anna", "lastName": "Mueller" }
      ],
      "ancillaries": ["gpx-dining-lunch"]
    },
    {
      "type": "accommodation",
      "providerId": "hotel-eden-spiez",
      "checkin": "2026-02-21",
      "checkout": "2026-02-23",
      "rateplan": "flex",
      "guests": 1
    }
  ],
  "currency": "CHF",
  "locale": "de",
  "customer": { "email": "anna@example.ch" }
}
Example response

Booking intent payload.

json

{
  "bookingId": "bkg_01HTABXYZ...",
  "paymentIntentClientSecret": "pi_xxx_secret_yyy",
  "total": { "amount": 64320, "currency": "CHF" },
  "lineItems": [
    { "type": "transport", "amount": 13800, "label": "GPX 1st class halfFare" },
    { "type": "ancillary", "amount": 4400, "label": "GPX dining" },
    { "type": "accommodation", "amount": 46120, "label": "Hotel Eden Spiez x 2 nights" }
  ],
  "expiresAt": "2026-05-25T14:32:00Z"
}

Keep reading