API Reference

July 28, 2026 · View on GitHub

This is the schema-backed reference for every Decision Engine endpoint. Each page below shows the full request and response model and includes an interactive playground, generated from the OpenAPI contract.

Looking for copy-paste examples and end-to-end flows instead? Start with the API Guide.

Two ways to read the API

SurfaceBest for
API GuideTask-oriented curl examples, complete flows, and request variants.
API Reference (this section)Exact request/response schemas and an interactive playground, one page per endpoint.

For advanced rule examples — AND, OR, nested AND+OR, volume_split_priority, enum arrays, and number-array matching — see the Advanced Routing Example. For the exact POST /routing/create schema, use Create Routing Rule.

Access classes

ClassRoutesAuthentication
PublicGET /health, GET /health/ready, GET /health/diagnostics, POST /auth/signup, POST /auth/loginNone
Admin bootstrapPOST /merchant-account/createAdmin secret
ProtectedAll routing, decision, score update, rule config, API key, merchant read/delete, analytics, audit, config, and authenticated auth routesAuthorization: Bearer <jwt_token> or x-api-key: <api_key>
SandboxAny Decision Engine route served through https://sandbox.hyperswitch.ioSame auth rules plus x-feature: decision-engine

Endpoint Families

Health

Auth And Onboarding

API Keys

Merchant Account

Gateway Decision

Routing Rules

Rule Configuration

Config

Analytics

Curl Examples

For local and sandbox smoke-test examples, use API Examples.