The merchant to decide for. Optional with a session or API key, which defaults to its own merchant and may also name one of its sub-merchants. Required with a service credential.
The payment_type rule key: normal, new_mandate, update_mandate, setup_mandate, recurring_mandate, non_mandate or ppt_mandate. A rule that tests payment_type matches only when it is sent.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hyperswitch","colors":{"primary":"#4F8EFF","light":"#6BA3FF","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/juspay-78/Ofakw17OkkP9DV40/logo/light.svg?fit=max\u0026auto=format\u0026n=Ofakw17OkkP9DV40\u0026q=85\u0026s=c8a8a5613621b7f19e447e754f4a4ffa","dark":"https://mintcdn.com/juspay-78/Ofakw17OkkP9DV40/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ofakw17OkkP9DV40\u0026q=85\u0026s=ba1e1063c50d5e3e6814ac1394cbe0bd"},"favicon":"https://mintcdn.com/juspay-78/lgBtlsxwQg1XCgqU/favicon.png?fit=max\u0026auto=format\u0026n=lgBtlsxwQg1XCgqU\u0026q=85\u0026s=1e2ff54d240ff03d1e663390917f2fb6","api":{"openapi":["v1/openapi_spec_v1.json","v2/openapi_spec_v2.json","rust_locker_open_api_spec.yml","decision_engine_openapi-specs.json"]},"background":{"color":{"light":"#FAFBFC","dark":"#1d1d1d"}},"navbar":{"links":[{"href":"https://inviter.co/hyperswitch-slack","label":"Contact Us"},{"href":"https://deepwiki.com/juspay/hyperswitch","label":"Explore with Deepwiki"}],"primary":{"type":"button","label":"Self-Deploy","href":"https://docs.hyperswitch.io/self-hosting"}},"footer":{"socials":{"github":"https://github.com/juspay/hyperswitch","linkedin":"https://www.linkedin.com/company/hyperswitch"}},"integrations":{"gtm":{"tagId":"GTM-PLBNKQFQ"},"mixpanel":{"projectToken":"b00355f29d9548d1333608df71d5d53d"}},"contextual":{"options":["copy","claude","chatgpt","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"juspay-78","hasAudioNarration":false,"actualSubdomain":"juspay-78","customDomains":["api-reference.hyperswitch.io"],"gitSource":{"type":"github","owner":"juspay","repo":"hyperswitch","deployBranch":"main","contentDirectory":"api-reference","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af607d874c37478135a296e","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Documentation","count":223},{"language":"default","tag":"Decision Engine API Reference","count":121},{"language":"default","tag":"Payments Core APIs","count":69},{"language":"default","tag":"API Examples (curl flows)","count":44},{"language":"default","tag":"Other APIs","count":39},{"language":"default","tag":"Payments Core APIs [BETA]","count":33},{"language":"default","tag":"Account management APIs","count":28},{"language":"default","tag":"Payments","count":27},{"language":"default","tag":"Account management APIs [BETA]","count":27},{"language":"default","tag":"Payment Methods","count":24}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"decision-engine-api-reference/api-reference/endpoint/routing-rules/decide","slug":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide","pageMetadata":{"title":"Decide (MultiObjective)","description":"Evaluate routing with the unified payment payload.","openapi":"decision_engine_openapi-specs.json POST /decide","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Evaluate routing with the unified payment payload.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Decide (MultiObjective)","description":"Evaluate routing with the unified payment payload.","openapi":"decision_engine_openapi-specs.json POST /decide","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"decide","tags":["Routing Rules"],"summary":"Decide routing","description":"Evaluate routing with the unified payment payload.","security":["ec79f749-2956-49d6-a758-9707b4a72841","a80312f9-89e1-4603-8d68-6e96547b7acb"],"parameters":["c7d89c3d-f75f-48b9-93b7-bb16473f4622","7ebbbca1-5812-4464-b399-0ad6a42b8140"],"requestBody":"9e2e8cac-7117-409e-9db2-38841ea10514","responses":{"200":"ac8e9f13-4d74-4618-b283-f817c69d5cea","400":"08566eff-5e69-44eb-8904-84e7d325e65b"},"method":"post","type":"path","servers":["f2fa772c-464b-4144-af6f-c0314adb20b2","17511838-080e-4443-9615-d434a311c92b"],"path":"/decide","baseUrlOptions":["http://localhost:8080","https://sandbox.hyperswitch.io/decision-engine/api"],"title":"Decide routing","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c7d89c3d-f75f-48b9-93b7-bb16473f4622":{"name":"x-connected-merchant-id","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"The merchant to decide for. Optional with a session or API key, which defaults to its own merchant and may also name one of its sub-merchants. Required with a service credential.","uniqueKey":"","typeLabel":"string"},"description":"The merchant to decide for. Optional with a session or API key, which defaults to its own merchant and may also name one of its sub-merchants. Required with a service credential."},"7ebbbca1-5812-4464-b399-0ad6a42b8140":{"name":"x-request-id","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Identifies the call. One is generated if absent and returned as a response header.","uniqueKey":"","typeLabel":"string"},"description":"Identifies the call. One is generated if absent and returned as a response header."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["payment_id","amount","currency","routing_config"],"properties":{"payment_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"payment_id","typeLabel":"string"},"amount":{"type":"integer","minimum":0,"maximum":18446744073709552000,"description":"Amount in currency minor units.","isRequired":true,"uniqueKey":"amount","typeLabel":"integer"},"currency":{"type":"string","description":"Currency code, e.g. USD.","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"routing_config":{"type":"object","additionalProperties":false,"required":["algorithm_for","eligible_connectors"],"properties":{"algorithm_for":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"routing_config.algorithm_for","typeLabel":"string"},"eligible_connectors":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["connector"],"properties":{"connector":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"routing_config.eligible_connectors.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","minLength":1,"description":"The connector account. Omit to name the connector by name alone.","uniqueKey":"routing_config.eligible_connectors.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The connector account. Omit to name the connector by name alone.","uniqueKey":"routing_config.eligible_connectors.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.eligible_connectors.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"routing_config.eligible_connectors.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing_config.eligible_connectors","typeLabel":"object[]"},"decision_arm":{"oneOf":[{"type":"string","enum":["control","variant",null],"description":"Caller-assigned decision arm, retained in the request audit. Does not override Decision Engine's internal experiment assignment. Omit or send null when unspecified.","uniqueKey":"routing_config.decision_arm.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["control","variant",null],"description":"Caller-assigned decision arm, retained in the request audit. Does not override Decision Engine's internal experiment assignment. Omit or send null when unspecified.","uniqueKey":"routing_config.decision_arm.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.decision_arm","typeLabel":"enum\u003cstring> | null"},"elimination_enabled":{"oneOf":[{"type":"boolean","uniqueKey":"routing_config.elimination_enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"routing_config.elimination_enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.elimination_enabled","typeLabel":"boolean | null"},"enable_multi_objective":{"oneOf":[{"type":"boolean","uniqueKey":"routing_config.enable_multi_objective.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"routing_config.enable_multi_objective.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.enable_multi_objective","typeLabel":"boolean | null"},"ranking_algorithm":{"oneOf":[{"type":"string","enum":["SR_BASED_ROUTING","PL_BASED_ROUTING","NTW_BASED_ROUTING","NTW_SR_HYBRID_ROUTING",null],"uniqueKey":"routing_config.ranking_algorithm.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["SR_BASED_ROUTING","PL_BASED_ROUTING","NTW_BASED_ROUTING","NTW_SR_HYBRID_ROUTING",null],"uniqueKey":"routing_config.ranking_algorithm.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.ranking_algorithm","typeLabel":"enum\u003cstring> | null"},"preferred_connectors":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"required":["connector"],"properties":{"connector":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"routing_config.preferred_connectors.oneOf.0.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","minLength":1,"description":"The connector account. Omit to name the connector by name alone.","uniqueKey":"routing_config.preferred_connectors.oneOf.0.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"The connector account. Omit to name the connector by name alone.","uniqueKey":"routing_config.preferred_connectors.oneOf.0.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.preferred_connectors.oneOf.0.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"routing_config.preferred_connectors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routing_config.preferred_connectors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","additionalProperties":false,"required":["connector"],"properties":{"connector":{"type":"string","minLength":1},"merchant_connector_id":{"oneOf":[{"type":"string","minLength":1,"description":"The connector account. Omit to name the connector by name alone."},{"type":"null","minLength":1,"description":"The connector account. Omit to name the connector by name alone."}]}}},"uniqueKey":"routing_config.preferred_connectors.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing_config.preferred_connectors","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"routing_config","typeLabel":"object"},"merchant_reference_id":{"oneOf":[{"type":"string","description":"Your own reference, echoed in the response.","uniqueKey":"merchant_reference_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own reference, echoed in the response.","uniqueKey":"merchant_reference_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"merchant_reference_id","typeLabel":"string | null"},"payment_method_type":{"oneOf":[{"type":"string","description":"Payment method family, e.g. card.","uniqueKey":"payment_method_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment method family, e.g. card.","uniqueKey":"payment_method_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_method_type","typeLabel":"string | null"},"payment_method_sub_type":{"oneOf":[{"type":"string","description":"Payment method subtype, e.g. credit.","uniqueKey":"payment_method_sub_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment method subtype, e.g. credit.","uniqueKey":"payment_method_sub_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_method_sub_type","typeLabel":"string | null"},"authentication_type":{"oneOf":[{"type":"string","uniqueKey":"authentication_type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"authentication_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"authentication_type","typeLabel":"string | null"},"capture_method":{"oneOf":[{"type":"string","uniqueKey":"capture_method.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"capture_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"capture_method","typeLabel":"string | null"},"payment_type":{"oneOf":[{"type":"string","description":"The `payment_type` rule key: `normal`, `new_mandate`, `update_mandate`, `setup_mandate`, `recurring_mandate`, `non_mandate` or `ppt_mandate`. A rule that tests `payment_type` matches only when it is sent.","uniqueKey":"payment_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `payment_type` rule key: `normal`, `new_mandate`, `update_mandate`, `setup_mandate`, `recurring_mandate`, `non_mandate` or `ppt_mandate`. A rule that tests `payment_type` matches only when it is sent.","uniqueKey":"payment_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_type","typeLabel":"string | null"},"setup_future_usage":{"oneOf":[{"type":"string","uniqueKey":"setup_future_usage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"setup_future_usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"setup_future_usage","typeLabel":"string | null"},"transaction_initiator":{"oneOf":[{"type":"string","uniqueKey":"transaction_initiator.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction_initiator.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction_initiator","typeLabel":"string | null"},"surcharge_amount":{"oneOf":[{"type":"integer","minimum":0,"maximum":18446744073709552000,"description":"Amount in currency minor units.","uniqueKey":"surcharge_amount.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":18446744073709552000,"description":"Amount in currency minor units.","uniqueKey":"surcharge_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"surcharge_amount","typeLabel":"integer | null"},"business_country":{"oneOf":[{"type":"string","description":"ISO 3166 alpha-2 country code.","uniqueKey":"business_country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166 alpha-2 country code.","uniqueKey":"business_country.oneOf.1","typeLabel":"null"}],"uniqueKey":"business_country","typeLabel":"string | null"},"billing_country":{"oneOf":[{"type":"string","description":"ISO 3166 alpha-2 country code.","uniqueKey":"billing_country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166 alpha-2 country code.","uniqueKey":"billing_country.oneOf.1","typeLabel":"null"}],"uniqueKey":"billing_country","typeLabel":"string | null"},"business_label":{"oneOf":[{"type":"string","uniqueKey":"business_label.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"business_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"business_label","typeLabel":"string | null"},"card":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"card_isin":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_isin.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_isin.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_isin","typeLabel":"string | null"},"card_extended_bin":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_extended_bin.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_extended_bin.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_extended_bin","typeLabel":"string | null"},"card_network":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_network.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_network.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_network","typeLabel":"string | null"},"card_type":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_type","typeLabel":"string | null"},"card_issuer":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_issuer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_issuer.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_issuer","typeLabel":"string | null"},"card_issuing_country_code":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_issuing_country_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_issuing_country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_issuing_country_code","typeLabel":"string | null"},"card_subtype":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_subtype.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_subtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_subtype","typeLabel":"string | null"},"card_discovery":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_discovery.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_discovery.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_discovery","typeLabel":"string | null"},"card_switch_provider":{"oneOf":[{"type":"string","uniqueKey":"card.oneOf.0.card_switch_provider.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card.oneOf.0.card_switch_provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"card.oneOf.0.card_switch_provider","typeLabel":"string | null"}},"uniqueKey":"card.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"properties":{"card_isin":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_extended_bin":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_network":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_type":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_issuer":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_issuing_country_code":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_subtype":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_discovery":{"oneOf":[{"type":"string"},{"type":"null"}]},"card_switch_provider":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"card.oneOf.1","typeLabel":"null"}],"uniqueKey":"card","typeLabel":"object | null"},"customer_device_platform":{"oneOf":[{"type":"string","uniqueKey":"customer_device_platform.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"customer_device_platform.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_device_platform","typeLabel":"string | null"},"customer_device_type":{"oneOf":[{"type":"string","uniqueKey":"customer_device_type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"customer_device_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_device_type","typeLabel":"string | null"},"customer_device_display_size":{"oneOf":[{"type":"string","uniqueKey":"customer_device_display_size.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"customer_device_display_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_device_display_size","typeLabel":"string | null"},"pay_later":{"oneOf":[{"type":"string","uniqueKey":"pay_later.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"pay_later.oneOf.1","typeLabel":"null"}],"uniqueKey":"pay_later","typeLabel":"string | null"},"wallet":{"oneOf":[{"type":"string","uniqueKey":"wallet.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"wallet.oneOf.1","typeLabel":"null"}],"uniqueKey":"wallet","typeLabel":"string | null"},"upi":{"oneOf":[{"type":"string","uniqueKey":"upi.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"upi.oneOf.1","typeLabel":"null"}],"uniqueKey":"upi","typeLabel":"string | null"},"voucher":{"oneOf":[{"type":"string","uniqueKey":"voucher.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"voucher.oneOf.1","typeLabel":"null"}],"uniqueKey":"voucher","typeLabel":"string | null"},"bank_redirect":{"oneOf":[{"type":"string","uniqueKey":"bank_redirect.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"bank_redirect.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank_redirect","typeLabel":"string | null"},"bank_debit":{"oneOf":[{"type":"string","uniqueKey":"bank_debit.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"bank_debit.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank_debit","typeLabel":"string | null"},"bank_transfer":{"oneOf":[{"type":"string","uniqueKey":"bank_transfer.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"bank_transfer.oneOf.1","typeLabel":"null"}],"uniqueKey":"bank_transfer","typeLabel":"string | null"},"real_time_payment":{"oneOf":[{"type":"string","uniqueKey":"real_time_payment.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"real_time_payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"real_time_payment","typeLabel":"string | null"},"gift_card":{"oneOf":[{"type":"string","uniqueKey":"gift_card.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"gift_card.oneOf.1","typeLabel":"null"}],"uniqueKey":"gift_card","typeLabel":"string | null"},"card_redirect":{"oneOf":[{"type":"string","uniqueKey":"card_redirect.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"card_redirect.oneOf.1","typeLabel":"null"}],"uniqueKey":"card_redirect","typeLabel":"string | null"},"open_banking":{"oneOf":[{"type":"string","uniqueKey":"open_banking.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"open_banking.oneOf.1","typeLabel":"null"}],"uniqueKey":"open_banking","typeLabel":"string | null"},"mobile_payment":{"oneOf":[{"type":"string","uniqueKey":"mobile_payment.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"mobile_payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"mobile_payment","typeLabel":"string | null"},"crypto":{"oneOf":[{"type":"string","uniqueKey":"crypto.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"crypto.oneOf.1","typeLabel":"null"}],"uniqueKey":"crypto","typeLabel":"string | null"},"reward":{"oneOf":[{"type":"string","uniqueKey":"reward.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"reward.oneOf.1","typeLabel":"null"}],"uniqueKey":"reward","typeLabel":"string | null"},"network_token":{"oneOf":[{"type":"string","uniqueKey":"network_token.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"network_token.oneOf.1","typeLabel":"null"}],"uniqueKey":"network_token","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"customer_id":{"oneOf":[{"type":"string","uniqueKey":"customer_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"customer_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"customer_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"payment_id":"pay_demo","merchant_reference_id":"order_demo","amount":1000,"currency":"USD","payment_method_type":"card","payment_method_sub_type":"credit","authentication_type":null,"capture_method":null,"payment_type":null,"setup_future_usage":null,"transaction_initiator":null,"surcharge_amount":null,"business_country":null,"billing_country":"US","business_label":null,"card":{"card_isin":"001234","card_extended_bin":"00123456","card_network":"Visa","card_type":"credit","card_issuer":null,"card_issuing_country_code":"US","card_subtype":null,"card_discovery":null,"card_switch_provider":null},"customer_device_platform":null,"customer_device_type":null,"customer_device_display_size":null,"pay_later":null,"wallet":null,"upi":null,"voucher":null,"bank_redirect":null,"bank_debit":null,"bank_transfer":null,"real_time_payment":null,"gift_card":null,"card_redirect":null,"open_banking":null,"mobile_payment":null,"crypto":null,"reward":null,"network_token":null,"metadata":{"segment":"premium"},"customer_id":null,"routing_config":{"algorithm_for":"payment","decision_arm":null,"elimination_enabled":null,"enable_multi_objective":null,"ranking_algorithm":null,"eligible_connectors":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}],"preferred_connectors":null}},"examples":{"Example":{"title":"Example","value":{"payment_id":"pay_demo","merchant_reference_id":"order_demo","amount":1000,"currency":"USD","payment_method_type":"card","payment_method_sub_type":"credit","authentication_type":null,"capture_method":null,"payment_type":null,"setup_future_usage":null,"transaction_initiator":null,"surcharge_amount":null,"business_country":null,"billing_country":"US","business_label":null,"card":{"card_isin":"001234","card_extended_bin":"00123456","card_network":"Visa","card_type":"credit","card_issuer":null,"card_issuing_country_code":"US","card_subtype":null,"card_discovery":null,"card_switch_provider":null},"customer_device_platform":null,"customer_device_type":null,"customer_device_display_size":null,"pay_later":null,"wallet":null,"upi":null,"voucher":null,"bank_redirect":null,"bank_debit":null,"bank_transfer":null,"real_time_payment":null,"gift_card":null,"card_redirect":null,"open_banking":null,"mobile_payment":null,"crypto":null,"reward":null,"network_token":null,"metadata":{"segment":"premium"},"customer_id":null,"routing_config":{"algorithm_for":"payment","decision_arm":null,"elimination_enabled":null,"enable_multi_objective":null,"ranking_algorithm":null,"eligible_connectors":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}],"preferred_connectors":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ac8e9f13-4d74-4618-b283-f817c69d5cea":{"description":"Routing decision. `connectors` is the order to try: the first is the choice, the rest the retry order.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id","payment_id","merchant_reference_id","created_at","connectors","outcome","rule","success_rate","cost","volume_steering","debit_routing","warnings"],"properties":{"id":{"type":"string","description":"Unique per decision (`dec_` + a time-ordered UUID), so a retried payment's decisions stay apart.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"payment_id":{"type":"string","isRequired":true,"uniqueKey":"payment_id","typeLabel":"string"},"merchant_reference_id":{"oneOf":[{"type":"string","description":"The request's `merchant_reference_id`.","isRequired":true,"uniqueKey":"merchant_reference_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request's `merchant_reference_id`.","isRequired":true,"uniqueKey":"merchant_reference_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"merchant_reference_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"connectors":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"connectors.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"connectors.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"connectors.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"connectors.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"connectors.items.[INDEX]","typeLabel":"object"},"description":"The order to try connectors in: the first is the choice, the rest the retry order. Empty when no connector is left.","isRequired":true,"uniqueKey":"connectors","typeLabel":"object[]"},"outcome":{"type":"object","additionalProperties":false,"required":["type","strategy","reason","message"],"description":"How the order was reached. New values may be added to each enum, so treat an unknown value as its nearest documented meaning.","properties":{"type":{"type":"string","enum":["routed","fallback","no_connector"],"isRequired":true,"uniqueKey":"outcome.type","typeLabel":"enum\u003cstring>"},"strategy":{"type":"string","enum":["rule","success_rate","cost","volume_commitment","debit_network","candidate_order","none"],"description":"The layer that set the final order.","isRequired":true,"uniqueKey":"outcome.strategy","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["rule_matched","rule_default_selection","rule_output_partially_eligible","priority_logic","priority_logic_downtime","merchant_preference","experiment_rule","success_rate_ranked","success_rate_downtime","success_rate_exploration","decider_default","preferred_connector","cost_optimized","volume_commitment","debit_network_optimized","no_rule_matched","no_active_rule","rule_output_not_eligible","rule_input_invalid","success_rate_unavailable","no_eligible_connectors","no_active_rule_no_candidates"],"isRequired":true,"uniqueKey":"outcome.reason","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"For people reading logs. Not stable, so branch on `reason`.","isRequired":true,"uniqueKey":"outcome.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"outcome","typeLabel":"object"},"rule":{"oneOf":[{"type":"object","description":"The rule layer's result. Null when it failed, and a `warnings` entry then says why.","required":["status","output","selected","eligible"],"properties":{"status":{"type":"string","enum":["matched","default_selection","no_active_rule"],"isRequired":true,"uniqueKey":"rule.oneOf.0.status","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"The algorithm's output by `type` (`straight_through`, `priority`, `volume_split`, `volume_split_priority`), laid out as in `RoutingEvaluateResponse.output` with connectors in the `DecideResultConnector` shape.","isRequired":true,"uniqueKey":"rule.oneOf.0.output","typeLabel":"object"},"selected":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"rule.oneOf.0.selected.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"rule.oneOf.0.selected.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"rule.oneOf.0.selected.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rule.oneOf.0.selected.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"rule.oneOf.0.selected.items.[INDEX]","typeLabel":"object"},"description":"The connectors the rule layer chose, narrowed to the eligible ones.","isRequired":true,"uniqueKey":"rule.oneOf.0.selected","typeLabel":"object[]"},"eligible":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"rule.oneOf.0.eligible.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"rule.oneOf.0.eligible.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"rule.oneOf.0.eligible.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rule.oneOf.0.eligible.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"rule.oneOf.0.eligible.items.[INDEX]","typeLabel":"object"},"description":"The connectors the payment method can use.","isRequired":true,"uniqueKey":"rule.oneOf.0.eligible","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"rule.oneOf.0","typeLabel":"object"},{"type":"null","description":"The rule layer's result. Null when it failed, and a `warnings` entry then says why.","isRequired":true,"uniqueKey":"rule.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rule","typeLabel":"object | null"},"success_rate":{"oneOf":[{"type":"object","description":"Null when success-rate routing did not run (the `sr-routing` setting is off, or the A/B arm has no SR layer).","required":["status","approach","scores","diagnostics"],"properties":{"status":{"type":"string","enum":["applied","failed"],"isRequired":true,"uniqueKey":"success_rate.oneOf.0.status","typeLabel":"enum\u003cstring>"},"approach":{"oneOf":[{"type":"string","description":"The decider's approach, e.g. `sr_selection_v3_routing`.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.approach.oneOf.0","typeLabel":"string"},{"type":"null","description":"The decider's approach, e.g. `sr_selection_v3_routing`.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.approach.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"success_rate.oneOf.0.approach","typeLabel":"string | null"},"scores":{"type":"array","items":{"type":"object","required":["score","connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"success_rate.oneOf.0.scores.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.scores.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.scores.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"success_rate.oneOf.0.scores.items.[INDEX].merchant_connector_id","typeLabel":"string | null"},"score":{"type":"number","isRequired":true,"uniqueKey":"success_rate.oneOf.0.scores.items.[INDEX].score","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"success_rate.oneOf.0.scores.items.[INDEX]","typeLabel":"object"},"description":"Every scored connector, best first.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.scores","typeLabel":"object[]"},"diagnostics":{"oneOf":[{"type":"object","description":"The decider's internals, for support: `head_before_downtime_check`, `reset_approach`, `dimension {value, level}`, `filter_wise_connectors`, `priority_logic {tag, output}`, `dynamic_mga_enabled`, `connector_mga_id_map`, `rust_based_decider` and `latency_ms`. Not covered by compatibility guarantees.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.diagnostics.oneOf.0","typeLabel":"object"},{"type":"null","description":"The decider's internals, for support: `head_before_downtime_check`, `reset_approach`, `dimension {value, level}`, `filter_wise_connectors`, `priority_logic {tag, output}`, `dynamic_mga_enabled`, `connector_mga_id_map`, `rust_based_decider` and `latency_ms`. Not covered by compatibility guarantees.","isRequired":true,"uniqueKey":"success_rate.oneOf.0.diagnostics.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"success_rate.oneOf.0.diagnostics","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"success_rate.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null when success-rate routing did not run (the `sr-routing` setting is off, or the A/B arm has no SR layer).","isRequired":true,"uniqueKey":"success_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"success_rate","typeLabel":"object | null"},"cost":{"oneOf":[{"type":"object","description":"Null when the cost step did not run.","required":["status","message","cost_saved_bps","qualified_count","margin","ev_gap_top2","ranked"],"properties":{"status":{"type":"string","enum":["cost_won","auth_won"],"description":"`cost_won`: a cheaper connector won. `auth_won`: the success-rate head kept it.","isRequired":true,"uniqueKey":"cost.oneOf.0.status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable text. Branch on `status` instead.","isRequired":true,"uniqueKey":"cost.oneOf.0.message","typeLabel":"string"},"cost_saved_bps":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"cost.oneOf.0.cost_saved_bps.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"cost.oneOf.0.cost_saved_bps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost.oneOf.0.cost_saved_bps","typeLabel":"number | null"},"qualified_count":{"type":"integer","isRequired":true,"uniqueKey":"cost.oneOf.0.qualified_count","typeLabel":"integer"},"margin":{"type":"number","isRequired":true,"uniqueKey":"cost.oneOf.0.margin","typeLabel":"number"},"ev_gap_top2":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"cost.oneOf.0.ev_gap_top2.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"cost.oneOf.0.ev_gap_top2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost.oneOf.0.ev_gap_top2","typeLabel":"number | null"},"ranked":{"type":"array","items":{"type":"object","required":["auth_rate","cost_bps","cost_source","cost_model","ev","is_sr_head","is_chosen","connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].merchant_connector_id","typeLabel":"string | null"},"auth_rate":{"type":"number","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].auth_rate","typeLabel":"number"},"cost_bps":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_bps.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_bps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_bps","typeLabel":"number | null"},"cost_source":{"oneOf":[{"type":"string","enum":["in_house","seed","hypersense"],"isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["in_house","seed","hypersense"],"isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_source","typeLabel":"enum\u003cstring> | null"},"cost_model":{"oneOf":[{"type":"object","description":"`brand`, `variant`, `issuer`, `ccy`, `ic_category`, `pct_bps`, `fixed_fee`.","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_model.oneOf.0","typeLabel":"object"},{"type":"null","description":"`brand`, `variant`, `issuer`, `ccy`, `ic_category`, `pct_bps`, `fixed_fee`.","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].cost_model","typeLabel":"object | null"},"ev":{"type":"number","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].ev","typeLabel":"number"},"is_sr_head":{"type":"boolean","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].is_sr_head","typeLabel":"boolean"},"is_chosen":{"type":"boolean","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX].is_chosen","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"cost.oneOf.0.ranked.items.[INDEX]","typeLabel":"object"},"description":"Every connector ranked on expected value, best first.","isRequired":true,"uniqueKey":"cost.oneOf.0.ranked","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"cost.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null when the cost step did not run.","isRequired":true,"uniqueKey":"cost.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cost","typeLabel":"object | null"},"volume_steering":{"oneOf":[{"type":"object","description":"Null when no volume commitment was considered.","required":["status","message","sr_head","chosen","sr_gap_conceded","steer_rate","steering_count","run_id","blocked"],"properties":{"status":{"type":"string","enum":["steered","sr_prevailed"],"description":"`steered`: a connector behind on its commitment took it. `sr_prevailed`: normal routing kept it.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable text. Branch on `status` instead.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.message","typeLabel":"string"},"sr_head":{"oneOf":[{"type":"object","required":["connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head.oneOf.0.connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head.oneOf.0.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head.oneOf.0.merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head.oneOf.0.merchant_connector_id","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_head","typeLabel":"object | null"},"chosen":{"oneOf":[{"type":"object","required":["connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen.oneOf.0.connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen.oneOf.0.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen.oneOf.0.merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen.oneOf.0.merchant_connector_id","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.chosen","typeLabel":"object | null"},"sr_gap_conceded":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_gap_conceded.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_gap_conceded.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.sr_gap_conceded","typeLabel":"number | null"},"steer_rate":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.steer_rate.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.steer_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.steer_rate","typeLabel":"number | null"},"steering_count":{"type":"integer","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.steering_count","typeLabel":"integer"},"run_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.run_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.run_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.run_id","typeLabel":"string | null"},"blocked":{"type":"array","items":{"type":"object","required":["connector","reason"],"properties":{"connector":{"type":"object","additionalProperties":false,"required":["connector","merchant_connector_id"],"properties":{"connector":{"type":"string","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX].connector.connector","typeLabel":"string"},"merchant_connector_id":{"oneOf":[{"type":"string","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX].connector.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a connector named without an account.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX].connector.merchant_connector_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX].connector.merchant_connector_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX].connector","typeLabel":"object"},"reason":{"type":"string","enum":["already_chosen","not_offered","cycle_closed","outside_tolerance","lost_roll"],"description":"Why this commitment did not get the payment.","isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"volume_steering.oneOf.0.blocked.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"volume_steering.oneOf.0.blocked","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"volume_steering.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null when no volume commitment was considered.","isRequired":true,"uniqueKey":"volume_steering.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"volume_steering","typeLabel":"object | null"},"debit_routing":{"oneOf":[{"type":"object","properties":{"co_badged_card_networks_info":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string","example":"NYCE","uniqueKey":"debit_routing.oneOf.0.co_badged_card_networks_info.items.[INDEX].network","typeLabel":"string"},"saving_percentage":{"type":"number","example":1.2,"uniqueKey":"debit_routing.oneOf.0.co_badged_card_networks_info.items.[INDEX].saving_percentage","typeLabel":"number"}},"uniqueKey":"debit_routing.oneOf.0.co_badged_card_networks_info.items.[INDEX]","typeLabel":"object"},"uniqueKey":"debit_routing.oneOf.0.co_badged_card_networks_info","typeLabel":"object[]"},"issuer_country":{"type":"string","example":"US","uniqueKey":"debit_routing.oneOf.0.issuer_country","typeLabel":"string"},"is_regulated":{"type":"boolean","example":false,"uniqueKey":"debit_routing.oneOf.0.is_regulated","typeLabel":"boolean"},"regulated_name":{"oneOf":[{"type":"string","uniqueKey":"debit_routing.oneOf.0.regulated_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"debit_routing.oneOf.0.regulated_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"debit_routing.oneOf.0.regulated_name","typeLabel":"string | null"},"card_type":{"type":"string","example":"Debit","uniqueKey":"debit_routing.oneOf.0.card_type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"debit_routing.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"debit_routing.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"debit_routing","typeLabel":"object | null"},"warnings":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["code","param","message"],"properties":{"code":{"type":"string","enum":["rule_input_invalid","rule_evaluation_failed","rule_output_not_eligible","rule_output_partially_eligible","success_rate_failed"],"isRequired":true,"uniqueKey":"warnings.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"param":{"oneOf":[{"type":"string","description":"The request field the warning is about, such as `card.card_network`, when there is one.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request field the warning is about, such as `card.card_network`, when there is one.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"warnings.items.[INDEX].param","typeLabel":"string | null"},"message":{"type":"string","isRequired":true,"uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"description":"Problems the decision routed around. Routing problems never fail the call.","isRequired":true,"uniqueKey":"warnings","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"dec_1234","payment_id":"pay_demo","merchant_reference_id":"order_demo","created_at":"2026-10-30T09:12:44.518Z","connectors":[{"connector":"checkout","merchant_connector_id":"mca_cko"},{"connector":"worldpay","merchant_connector_id":"mca_wp"}],"outcome":{"type":"routed","strategy":"cost","reason":"cost_optimized","message":"checkout has higher expected value than SR head worldpay"},"rule":{"status":"matched","output":{"type":"priority","connectors":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}]},"selected":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}],"eligible":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}]},"success_rate":{"status":"applied","approach":"sr_selection_multi_objective","scores":[{"connector":"worldpay","merchant_connector_id":"mca_wp","score":0.98},{"connector":"checkout","merchant_connector_id":"mca_cko","score":0.97}],"diagnostics":{"head_before_downtime_check":{"connector":"worldpay","merchant_connector_id":"mca_wp"},"reset_approach":"no_reset","dimension":{"value":"ORDER_PAYMENT, CREDIT, CARD","level":"PM_LEVEL"},"filter_wise_connectors":null,"priority_logic":{"tag":null,"output":null},"dynamic_mga_enabled":false,"connector_mga_id_map":null,"rust_based_decider":true,"latency_ms":4}},"cost":{"status":"cost_won","message":"checkout has higher expected value than SR head worldpay","cost_saved_bps":1480,"qualified_count":2,"margin":1,"ev_gap_top2":0.1351,"ranked":[{"connector":"checkout","merchant_connector_id":"mca_cko","auth_rate":0.97,"cost_bps":20,"cost_source":"in_house","cost_model":null,"ev":0.9681,"is_sr_head":false,"is_chosen":true},{"connector":"worldpay","merchant_connector_id":"mca_wp","auth_rate":0.98,"cost_bps":1500,"cost_source":"in_house","cost_model":null,"ev":0.833,"is_sr_head":true,"is_chosen":false}]},"volume_steering":null,"debit_routing":null,"warnings":[]},"examples":{"Example":{"title":"Example","value":{"id":"dec_1234","payment_id":"pay_demo","merchant_reference_id":"order_demo","created_at":"2026-10-30T09:12:44.518Z","connectors":[{"connector":"checkout","merchant_connector_id":"mca_cko"},{"connector":"worldpay","merchant_connector_id":"mca_wp"}],"outcome":{"type":"routed","strategy":"cost","reason":"cost_optimized","message":"checkout has higher expected value than SR head worldpay"},"rule":{"status":"matched","output":{"type":"priority","connectors":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}]},"selected":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}],"eligible":[{"connector":"worldpay","merchant_connector_id":"mca_wp"},{"connector":"checkout","merchant_connector_id":"mca_cko"}]},"success_rate":{"status":"applied","approach":"sr_selection_multi_objective","scores":[{"connector":"worldpay","merchant_connector_id":"mca_wp","score":0.98},{"connector":"checkout","merchant_connector_id":"mca_cko","score":0.97}],"diagnostics":{"head_before_downtime_check":{"connector":"worldpay","merchant_connector_id":"mca_wp"},"reset_approach":"no_reset","dimension":{"value":"ORDER_PAYMENT, CREDIT, CARD","level":"PM_LEVEL"},"filter_wise_connectors":null,"priority_logic":{"tag":null,"output":null},"dynamic_mga_enabled":false,"connector_mga_id_map":null,"rust_based_decider":true,"latency_ms":4}},"cost":{"status":"cost_won","message":"checkout has higher expected value than SR head worldpay","cost_saved_bps":1480,"qualified_count":2,"margin":1,"ev_gap_top2":0.1351,"ranked":[{"connector":"checkout","merchant_connector_id":"mca_cko","auth_rate":0.97,"cost_bps":20,"cost_source":"in_house","cost_model":null,"ev":0.9681,"is_sr_head":false,"is_chosen":true},{"connector":"worldpay","merchant_connector_id":"mca_wp","auth_rate":0.98,"cost_bps":1500,"cost_source":"in_house","cost_model":null,"ev":0.833,"is_sr_head":true,"is_chosen":false}]},"volume_steering":null,"debit_routing":null,"warnings":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"08566eff-5e69-44eb-8904-84e7d325e65b":{"description":"`TE_03`: the request body or one of its fields is invalid, or the merchant's routing configuration could not route the payment.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"ec79f749-2956-49d6-a758-9707b4a72841":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from /auth/login","scopes":[],"schemeName":"BearerAuth"}},"a80312f9-89e1-4603-8d68-6e96547b7acb":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key created via /api-key/create","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"f2fa772c-464b-4144-af6f-c0314adb20b2":{"url":"http://localhost:8080","description":"Local development"},"17511838-080e-4443-9615-d434a311c92b":{"url":"https://sandbox.hyperswitch.io/decision-engine/api","description":"Hyperswitch sandbox with x-feature: decision-engine"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from /auth/login","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"JWT token obtained from /auth/login","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key created via /api-key/create","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key created via /api-key/create","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"decision_engine_openapi-specs.json"},"subdomain":"juspay-78","siteName":"Hyperswitch","title":"Decide (MultiObjective) - Hyperswitch","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T13:25:24.575Z","originalFileLocation":"decision-engine-api-reference/api-reference/endpoint/routing-rules/decide.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Evaluate routing with the unified payment payload.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hyperswitch\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Decide (MultiObjective) - Hyperswitch\">\u003cmeta data-mint-head property=\"og:description\" content=\"Evaluate routing with the unified payment payload.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hyperswitch\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://juspay-78.mintlify.site/_mintlify/api/og/v2?division=OpenAPI%3A+Gateway+Decision\u0026amp;title=Decide+%28MultiObjective%29\u0026amp;description=Evaluate+routing+with+the+unified+payment+payload.\u0026amp;theme=04960c3cf57346633e90bf0d\u0026amp;signature=698a3d399954f4c9eb83434f26fdabc5cdf676c46308a0006e6ca642c40a273e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Decide (MultiObjective) - Hyperswitch\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Evaluate routing with the unified payment payload.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://juspay-78.mintlify.site/_mintlify/api/og/v2?division=OpenAPI%3A+Gateway+Decision\u0026amp;title=Decide+%28MultiObjective%29\u0026amp;description=Evaluate+routing+with+the+unified+payment+payload.\u0026amp;theme=04960c3cf57346633e90bf0d\u0026amp;signature=698a3d399954f4c9eb83434f26fdabc5cdf676c46308a0006e6ca642c40a273e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/juspay-78/qt73Hm6Kezxnik3v/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hyperswitch\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4F8EFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api-reference.hyperswitch.io/#organization\",\"name\":\"Hyperswitch\",\"url\":\"https://api-reference.hyperswitch.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/juspay-78/Ofakw17OkkP9DV40/logo/light.svg?fit=max\u0026auto=format\u0026n=Ofakw17OkkP9DV40\u0026q=85\u0026s=c8a8a5613621b7f19e447e754f4a4ffa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-reference.hyperswitch.io#website\",\"name\":\"Hyperswitch\",\"url\":\"https://api-reference.hyperswitch.io\",\"publisher\":{\"@id\":\"https://api-reference.hyperswitch.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide#webpage\",\"url\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide\",\"name\":\"Decide (MultiObjective)\",\"description\":\"Evaluate routing with the unified payment payload.\",\"dateModified\":\"2026-10-29T13:25:24.575Z\",\"isPartOf\":{\"@id\":\"https://api-reference.hyperswitch.io#website\"},\"breadcrumb\":{\"@id\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hyperswitch\",\"item\":\"https://api-reference.hyperswitch.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Decide (MultiObjective)\",\"item\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide#apireference\",\"headline\":\"Decide (MultiObjective)\",\"name\":\"Decide (MultiObjective)\",\"description\":\"Evaluate routing with the unified payment payload.\",\"url\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide\",\"mainEntityOfPage\":{\"@id\":\"https://api-reference.hyperswitch.io/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide#webpage\"},\"dateModified\":\"2026-10-29T13:25:24.575Z\",\"publisher\":{\"@id\":\"https://api-reference.hyperswitch.io/#organization\"},\"isPartOf\":{\"@id\":\"https://api-reference.hyperswitch.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hyperswitch\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hyperswitch\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide.md","siteName":"Hyperswitch","nav":{"global":null,"tabs":[{"tab":"Documentation","versions":[{"version":"1.0.0","groups":[{"group":"Get Started","pages":[{"title":"👋 Welcome to Hyperswitch API Reference","sidebarTitle":"Introduction","icon":"rectangle-code","iconType":"solid","href":"/introduction"}]},{"group":"Essentials","pages":[{"title":"Authentication Types","href":"/essentials/authentication"},{"title":"Error Codes","href":"/essentials/error_codes"},{"title":"Rate Limits","href":"/essentials/rate_limit"},{"title":"Go-live Checklist","href":"/essentials/go-live"}]},{"group":"Payments Core APIs","pages":[{"sidebarTitle":"Setup Instructions","icon":"flag","iconType":"solid","title":null,"href":"/v1/payments/setup--instructions"},{"sidebarTitle":"Payment Flows","icon":"arrows-retweet","iconType":"solid","title":null,"href":"/v1/payments/payment--flows"},{"group":"Payments","pages":[{"openapi":"post /payments","title":"Payments - Create","href":"/v1/payments/payments--create"},{"openapi":"post /payments/{payment_id}","title":"Payments - Update","href":"/v1/payments/payments--update"},{"openapi":"post /payments/{payment_id}/confirm","title":"Payments - Confirm","href":"/v1/payments/payments--confirm"},{"openapi":"get /payments/{payment_id}","title":"Payments - Retrieve","href":"/v1/payments/payments--retrieve"},{"openapi":"post /payments/{payment_id}/cancel","title":"Payments - Cancel","href":"/v1/payments/payments--cancel"},{"openapi":"post /payments/{payment_id}/cancel_post_capture","title":"Payments - Cancel Post Capture","href":"/v1/payments/payments--cancel-post-capture"},{"openapi":"get /payments/{payment_id}/cancel_post_capture","title":"Payments - Cancel Post Capture Retrieve","href":"/v1/payments/payments--cancel-post-capture-retrieve"},{"openapi":"post /payments/{payment_id}/capture","title":"Payments - Capture","href":"/v1/payments/payments--capture"},{"openapi":"post /payments/{payment_id}/incremental_authorization","title":"Payments - Incremental Authorization","href":"/v1/payments/payments--incremental-authorization"},{"openapi":"post /payments/{payment_id}/extend_authorization","title":"Payments - Extended Authorization","href":"/v1/payments/payments--extend-authorization"},{"openapi":"post /payments/session_tokens","title":"Payments - Session token","href":"/v1/payments/payments--session-token"},{"openapi":"get /payment_link/{payment_link_id}","title":"Payments Link - Retrieve","href":"/v1/payments/payments-link--retrieve"},{"openapi":"get /payments/list","title":"Payments - List","href":"/v1/payments/payments--list"},{"openapi":"post /payments/{payment_id}/3ds/authentication","title":"Payments - External 3DS Authentication","href":"/v1/payments/payments--external-3ds-authentication"},{"openapi":"post /{payment_id}/complete_authorize","title":null,"href":"/v1/payments/payments--complete-authorize"},{"openapi":"post /payments/{payment_id}/update_metadata","title":"Payments - Update Metadata","href":"/v1/payments/payments--update-metadata"},{"openapi":"post /payments/{payment_id}/eligibility","title":"Payments - Submit Eligibility Data","href":"/v1/payments/payments--submit-eligibility-data"}]},{"group":"Payment Methods","pages":[{"openapi":"post /v1/payment-methods","title":"Payment Method - Create","href":"/v2/payment-methods/payment-method--create-v1"},{"openapi":"get /v1/payment-methods/{id}","title":null,"href":"/v2/payment-methods/payment-method--retrieve-v1"},{"openapi":"put /v1/payment-methods/{id}/update-saved-payment-method","title":"Payment Method - Update","href":"/v2/payment-methods/payment-method--update-v1"},{"openapi":"delete /v1/payment-methods/{id}","title":"Payment Method - Delete","href":"/v2/payment-methods/payment-method--delete-v1"},{"openapi":"get /v1/customers/{id}/saved-payment-methods","title":"Payment Method - List Customer Saved Payment Methods","href":"/v2/payment-methods/payment-method--list-customer-saved-payment-methods-v1"},{"openapi":"get /v1/payment-methods/token/{payment_method_temporary_token}/details","title":"Payment Method - Get Payment Method Token Data","href":"/v2/payment-methods/payment-method--payment-method-token-to-payment-method-id-v1"},{"openapi":"post /v1/{customer_id}/payment-methods/{payment_method_id}/default","title":"Payment Method - Set Default Payment Method for Customer","href":"/v2/payment-methods/payment-method--set-default-payment-method-for-customer-v1"},{"openapi":"get /payments/{payment_id}/client","title":"List payment methods for a Payment","href":"/v1/payment-methods/list-payment-methods-for-a-payment-via-client-sdk"}]},{"group":"Customers","pages":[{"openapi":"post /v1/customers","title":"Customers - Create","href":"/v2/customers/customers--create-v1"},{"openapi":"get /v1/customers/{id}","title":"Customers - Retrieve","href":"/v2/customers/customers--retrieve-v1"},{"openapi":"get /v1/customers/reference/{merchant_reference_id}","title":"Customers - Retrieve using Merchant Reference ID","href":"/v1/customers/customers--retrieve-by-merchant-reference-id"},{"openapi":"put /v1/customers/{id}","title":"Customers - Update","href":"/v2/customers/customers--update-v1"},{"openapi":"delete /v1/customers/{id}","title":"Customers - Delete","href":"/v2/customers/customers--delete-v1"},{"openapi":"get /v1/customers/list","title":"Customers - List","href":"/v2/customers/customers--list-v1"}]},{"group":"Proxy","pages":[{"openapi":"post /v1/proxy","title":"Proxy","href":"/v2/proxy/proxy-v1"}]},{"group":"Telephone Order","pages":[{"openapi":"post /telephone_order/{merchant_id}/{provider}","title":"Telephone Order - Charge","href":"/v1/telephone-order/telephone-order--charge"}]},{"group":"Payment Method Session","pages":[{"openapi":"post /v1/payment-method-sessions","title":"Payment Method Session - Create","href":"/v2/payment-method-session/payment-method-session--create-v1"},{"openapi":"get /v1/payment-method-sessions/{id}","title":"Payment Method Session - Retrieve","href":"/v2/payment-method-session/payment-method-session--retrieve-v1"},{"openapi":"get /v1/payment-method-sessions/{id}/list-payment-methods","title":"Payment Method Session - List Payment Methods","href":"/v2/payment-method-session/payment-method-session--list-payment-methods-v1"},{"openapi":"put /v1/payment-method-sessions/{id}/update-saved-payment-method","title":"Payment Method Session - Update a saved payment method","href":"/v2/payment-method-session/payment-method-session--update-a-saved-payment-method-v1"},{"openapi":"post /v1/payment-method-sessions/{id}/confirm","title":"Payment Method Session - Confirm a payment method session","href":"/v2/payment-method-session/payment-method-session--confirm-a-payment-method-session-v1"},{"openapi":"delete /v1/payment-method-sessions/{id}","title":"Payment Method Session - Delete a saved payment method","href":"/v2/payment-method-session/payment-method-session--delete-a-saved-payment-method-v1"}]},{"group":"Refunds","pages":[{"openapi":"post /refunds","title":"Refunds - Create","href":"/v1/refunds/refunds--create"},{"openapi":"post /refunds/{refund_id}","title":"Refunds - Update","href":"/v1/refunds/refunds--update"},{"openapi":"get /refunds/{refund_id}","title":"Refunds - Retrieve","href":"/v1/refunds/refunds--retrieve"},{"openapi":"post /refunds/list","title":"Refunds - List","href":"/v1/refunds/refunds--list"}]},{"group":"Disputes","pages":[{"openapi":"get /disputes/{dispute_id}","title":"Disputes - Retrieve Dispute","href":"/v1/disputes/disputes--retrieve"},{"openapi":"get /disputes/list","title":"Disputes - List Disputes","href":"/v1/disputes/disputes--list"},{"openapi":"get /disputes/profile/list","title":"Disputes - List Disputes for The Given Profiles","href":"/v1/disputes/disputes--list-profiles"},{"openapi":"post /disputes/accept/{dispute_id}","title":"Disputes - Accept Dispute","href":"/v1/disputes/disputes--accept"},{"openapi":"post /disputes/evidence","title":"Disputes - Uploads Dispute Evidence","href":"/v1/disputes/disputes--submit-evidence"},{"openapi":"put /disputes/evidence","title":"Disputes - Attach Evidence to Dispute","href":"/v1/disputes/disputes--attach-evidence"},{"openapi":"get /disputes/evidence/{dispute_id}","title":"Disputes - Retrieve Dispute Evidence","href":"/v1/disputes/disputes--retrieve-evidence"},{"openapi":"delete /disputes/evidence","title":"Disputes - Delete Evidence attached to a Dispute","href":"/v1/disputes/disputes--delete-evidence"},{"openapi":"get /disputes/aggregate","title":"Disputes - Get Disputes Aggregate","href":"/v1/disputes/disputes--get-aggregate"},{"openapi":"get /disputes/profile/aggregate","title":"Disputes - Get Disputes Aggregate for Profiles","href":"/v1/disputes/disputes--get-aggregate-profiles"},{"openapi":"get /disputes/filter","title":"Disputes - Disputes Filters","href":"/v1/disputes/disputes--get-filters"},{"openapi":"get /disputes/profile/filter","title":"Disputes - Disputes Filters Profile","href":"/v1/disputes/disputes--get-filters-profiles"}]},{"group":"Authentication","pages":[{"openapi":"post /authentication","title":"Authentication - Create","href":"/v1/authentication/authentication--create"},{"openapi":"post /authentication/{authentication_id}/eligibility-check","title":"Authentication - POST Eligibility Check","href":"/v1/authentication/authentication--post-eligibility-check"},{"openapi":"get /authentication/{authentication_id}/eligibility-check","title":"Authentication - GET Eligibility Check","href":"/v1/authentication/authentication--get-eligibility-check"}]},{"group":"Payouts","pages":[{"openapi":"post /payouts/create","title":"Payouts - Create","href":"/v1/payouts/payouts--create"},{"openapi":"post /payouts/{payout_id}","title":"Payouts - Update","href":"/v1/payouts/payouts--update"},{"openapi":"post /payouts/{payout_id}/cancel","title":"Payouts - Cancel","href":"/v1/payouts/payouts--cancel"},{"openapi":"post /payouts/{payout_id}/fulfill","title":"Payouts - Fulfill","href":"/v1/payouts/payouts--fulfill"},{"openapi":"post /payouts/{payout_id}/confirm","title":"Payouts - Confirm","href":"/v1/payouts/payouts--confirm"},{"openapi":"get /payouts/{payout_id}","title":"Payouts - Retrieve","href":"/v1/payouts/payouts--retrieve"},{"openapi":"get /payouts/list","title":"Payouts - List","href":"/v1/payouts/payouts--list"},{"openapi":"post /payouts/filter","title":"Payouts - List available filters","href":"/v1/payouts/payouts--list-filters"},{"openapi":"post /payouts/list","title":"Payouts - List using filters","href":"/v1/payouts/payouts--filter"}]}]},{"group":"Deprecated APIs","pages":[{"group":"Mandates","pages":[{"openapi":"post /mandates/revoke/{mandate_id}","title":"Mandates - Revoke Mandate","href":"/v1/mandates/mandates--revoke-mandate"},{"openapi":"get /mandates/{mandate_id}","title":"Mandates - Retrieve Mandate","href":"/v1/mandates/mandates--retrieve-mandate"},{"openapi":"post /customers/{customer_id}/mandates","title":null,"href":"/v1/mandates/mandates--customer-mandates-list"}]},{"group":"Customers","pages":[{"openapi":"post /customers","title":"Customers - Create","href":"/v1/customers/customers--create"},{"openapi":"get /customers/{customer_id}","title":"Customers - Retrieve","href":"/v1/customers/customers--retrieve"},{"openapi":"post /customers/{customer_id}","title":"Customers - Update","href":"/v1/customers/customers--update"},{"openapi":"delete /customers/{customer_id}","title":"Customers - Delete","href":"/v1/customers/customers--delete"},{"openapi":"get /customers/list","title":"Customers - List","href":"/v1/customers/customers--list"}]},{"group":"Payment Methods","pages":[{"openapi":"post /payment_methods","title":"PaymentMethods - Create","href":"/v1/payment-methods/paymentmethods--create"},{"openapi":"get /payment_methods/{method_id}","title":"Payment Method - Retrieve","href":"/v1/payment-methods/payment-method--retrieve"},{"openapi":"post /payment_methods/{method_id}/update","title":"Payment Method - Update","href":"/v1/payment-methods/payment-method--update"},{"openapi":"delete /payment_methods/{method_id}","title":"Payment Method - Delete","href":"/v1/payment-methods/payment-method--delete"},{"openapi":"post /{customer_id}/payment_methods/{payment_method_id}/default","title":"Payment Method - Set Default Payment Method for Customer","href":"/v1/payment-methods/payment-method--set-default-payment-method-for-customer"},{"openapi":"get /account/payment_methods","title":"List payment methods for a Merchant","href":"/v1/payment-methods/list-payment-methods-for-a-merchant"},{"openapi":"get /customers/payment_methods","title":"List customer saved payment methods for a Payment","href":"/v1/payment-methods/list-customer-saved-payment-methods-for-a-payment"},{"openapi":"get /customers/{customer_id}/payment_methods","title":"List payment methods for a Customer","href":"/v1/payment-methods/list-payment-methods-for-a-customer"},{"openapi":"post /{customer_id}/payment_methods/{payment_method_id}/default","title":"Payment Method - Set Default Payment Method for Customer","href":"/v1/customer-set-default-payment-method/customers--set-default-payment-method"}]}]},{"group":"Account management APIs","pages":[{"group":"Organization","pages":[{"openapi":"post /organization","title":"Organization - Create","href":"/v1/organization/organization--create"},{"openapi":"get /organization/{id}","title":"Organization - Retrieve","href":"/v1/organization/organization--retrieve"},{"openapi":"put /organization/{id}","title":"Organization - Update","href":"/v1/organization/organization--update"}]},{"group":"Merchant Account","pages":[{"openapi":"post /accounts","title":"Merchant Account - Create","href":"/v1/merchant-account/merchant-account--create"},{"openapi":"get /accounts/{account_id}","title":"Merchant Account - Retrieve","href":"/v1/merchant-account/merchant-account--retrieve"},{"openapi":"post /accounts/{account_id}","title":"Merchant Account - Update","href":"/v1/merchant-account/merchant-account--update"},{"openapi":"delete /accounts/{account_id}","title":"Merchant Account - Delete","href":"/v1/merchant-account/merchant-account--delete"},{"openapi":"post /accounts/{account_id}/kv","title":"Merchant Account - KV Status","href":"/v1/merchant-account/merchant-account--kv-status"}]},{"group":"Business Profile","pages":[{"openapi":"post /account/{account_id}/business_profile","title":"Profile - Create","href":"/v1/business-profile/business-profile--create"},{"openapi":"post /account/{account_id}/business_profile/{profile_id}","title":"Profile - Update","href":"/v1/business-profile/business-profile--update"},{"openapi":"get /account/{account_id}/business_profile/{profile_id}","title":"Profile - Retrieve","href":"/v1/business-profile/business-profile--retrieve"},{"openapi":"delete /account/{account_id}/business_profile/{profile_id}","title":"Profile - Delete","href":"/v1/business-profile/business-profile--delete"},{"openapi":"get /account/{account_id}/business_profile","title":"Profile - List","href":"/v1/business-profile/business-profile--list"}]},{"group":"Platform Account","pages":[{"openapi":"post /user/create_platform","title":"Platform - Create","href":"/v1/platform/platform--create"}]},{"group":"API Key","pages":[{"openapi":"post /api_keys/{merchant_id}","title":"API Key - Create","href":"/v1/api-key/api-key--create"},{"openapi":"get /api_keys/{merchant_id}/{key_id}","title":"API Key - Retrieve","href":"/v1/api-key/api-key--retrieve"},{"openapi":"post /api_keys/{merchant_id}/{key_id}","title":"API Key - Update","href":"/v1/api-key/api-key--update"},{"openapi":"delete /api_keys/{merchant_id}/{key_id}","title":"API Key - Revoke","href":"/v1/api-key/api-key--revoke"},{"openapi":"get /api_keys/{merchant_id}/list","title":"API Key - List","href":"/v1/api-key/api-key--list"}]},{"group":"Merchant Connector Account","pages":[{"openapi":"post /account/{account_id}/connectors","title":"Merchant Connector - Create","href":"/v1/merchant-connector-account/merchant-connector--create"},{"openapi":"get /account/{account_id}/connectors/{merchant_connector_id}","title":"Merchant Connector - Retrieve","href":"/v1/merchant-connector-account/merchant-connector--retrieve"},{"openapi":"post /account/{account_id}/connectors/{merchant_connector_id}","title":"Merchant Connector - Update","href":"/v1/merchant-connector-account/merchant-connector--update"},{"openapi":"delete /account/{account_id}/connectors/{merchant_connector_id}","title":"Merchant Connector - Delete","href":"/v1/merchant-connector-account/merchant-connector--delete"},{"openapi":"get /account/{account_id}/connectors","title":"Merchant Connector - List","href":"/v1/merchant-connector-account/merchant-connector--list"}]},{"group":"GSM (Global Status Mapping)","pages":[{"openapi":"post /gsm","title":"Gsm - Create","href":"/v1/gsm/gsm--create"},{"openapi":"post /gsm/get","title":"Gsm - Get","href":"/v1/gsm/gsm--get"},{"openapi":"post /gsm/update","title":"Gsm - Update","href":"/v1/gsm/gsm--update"},{"openapi":"post /gsm/delete","title":"Gsm - Delete","href":"/v1/gsm/gsm--delete"}]}]},{"group":"Other APIs","pages":[{"group":"Event","pages":[{"openapi":"post /events/{merchant_id}","title":"Events - List","href":"/v1/event/events--list"},{"openapi":"get /events/{merchant_id}/{event_id}/attempts","title":"Events - Delivery Attempt List","href":"/v1/event/events--delivery-attempt-list"},{"openapi":"post /events/{merchant_id}/{event_id}/retry","title":"Events - Manual Retry","href":"/v1/event/events--manual-retry"}]},{"group":"Poll","pages":[{"openapi":"get /poll/status/{poll_id}","title":"Poll - Retrieve Poll Status","href":"/v1/poll/poll--retrieve-poll-status"}]},{"group":"Blocklist","pages":[{"openapi":"get /blocklist","title":null,"href":"/v1/blocklist/get-blocklist"},{"openapi":"post /blocklist","title":null,"href":"/v1/blocklist/post-blocklist"},{"openapi":"delete /blocklist","title":null,"href":"/v1/blocklist/delete-blocklist"},{"openapi":"post /blocklist/toggle","title":null,"href":"/v1/blocklist/post-blocklisttoggle"},{"openapi":"get /blocklist/count","title":null,"href":"/v1/blocklist/blocklist--count"},{"openapi":"get /blocklist/lookup","title":null,"href":"/v1/blocklist/blocklist--lookup"},{"openapi":"post /blocklist/batch","title":null,"href":"/v1/blocklist/blocklist--batch-upload"},{"openapi":"get /blocklist/batch","title":null,"href":"/v1/blocklist/blocklist--batch-list"},{"openapi":"get /blocklist/batch/{job_id}","title":null,"href":"/v1/blocklist/blocklist--batch-status"},{"openapi":"post /blocklist/export","title":null,"href":"/v1/blocklist/blocklist--export-create"},{"openapi":"post /blocklist/clone","title":"Blocklist - Clone Entries","href":"/v1/blocklist/blocklist--clone"}]},{"group":"Routing","pages":[{"openapi":"get /routing","title":"Routing - List","href":"/v1/routing/routing--list"},{"openapi":"post /routing","title":"Routing - Create","href":"/v1/routing/routing--create"},{"openapi":"post /account/{account_id}/business_profile/{profile_id}/dynamic_routing/success_based/create","title":"Routing - Auth Rate Based","href":"/v1/routing/routing--success-based"},{"openapi":"post /account/{account_id}/business_profile/{profile_id}/dynamic_routing/elimination/create","title":"Routing - Elimination","href":"/v1/routing/routing--elimination"},{"openapi":"get /routing/active","title":"Routing - Retrieve Config","href":"/v1/routing/routing--retrieve-config"},{"openapi":"post /routing/deactivate","title":"Routing - Deactivate","href":"/v1/routing/routing--deactivate"},{"openapi":"get /routing/default","title":"Routing - Retrieve Default Config","href":"/v1/routing/routing--retrieve-default-config"},{"openapi":"post /routing/default","title":"Routing - Update Default Config","href":"/v1/routing/routing--update-default-config"},{"openapi":"get /routing/default/profile","title":"Routing - Retrieve Default For Profile","href":"/v1/routing/routing--retrieve-default-for-profile"},{"openapi":"post /routing/default/profile/{profile_id}","title":"Routing - Update Default For Profile","href":"/v1/routing/routing--update-default-for-profile"},{"openapi":"get /routing/{routing_algorithm_id}","title":"Routing - Retrieve","href":"/v1/routing/routing--retrieve"},{"openapi":"post /routing/{routing_algorithm_id}/activate","title":"Routing - Activate config","href":"/v1/routing/routing--activate-config"}]},{"group":"Relay","pages":[{"openapi":"post /relay","title":"Relay - Create","href":"/v1/relay/relay"},{"openapi":"get /relay/{relay_id}","title":"Relay - Retrieve","href":"/v1/relay/relay--retrieve"}]},{"group":"Schemas","pages":[{"title":null,"href":"/v1/schemas/outgoing--webhook"}]},{"group":"Subscriptions","pages":[{"openapi":"post /subscriptions/create","title":"Subscription - Create","href":"/v1/subscriptions/create"},{"openapi":"post /subscriptions/{subscription_id}/confirm","title":"Subscription - Confirm","href":"/v1/subscriptions/confirm"},{"openapi":"post /subscriptions","title":"Subscription - Create and Confirm","href":"/v1/subscriptions/create-and-confirm"},{"openapi":"put /subscriptions/{subscription_id}/update","title":"Subscription - Update","href":"/v1/subscriptions/update"},{"openapi":"get /subscriptions/{subscription_id}","title":"Subscription - Retrieve","href":"/v1/subscriptions/get"},{"title":"Get plans","href":"/v1/subscriptions/get-plans"},{"openapi":"get /subscriptions/estimate","title":"Subscription - Get Estimate","href":"/v1/subscriptions/estimate"},{"openapi":"post /subscriptions/{subscription_id}/pause","title":"Subscription - Pause Subscription","href":"/v1/subscriptions/pause"},{"openapi":"post /subscriptions/{subscription_id}/resume","title":"Subscription - Resume Subscription","href":"/v1/subscriptions/resume"},{"openapi":"post /subscriptions/{subscription_id}/cancel","title":"Subscription - Cancel Subscription","href":"/v1/subscriptions/cancel"}]}]}]},{"version":"2.0.0","pages":[{"title":"2.0.0","href":"/introduction"}]}]},{"tab":"Locker API Reference","pages":[{"title":"Locker API Reference","href":"/locker-api-reference/overview"}]},{"tab":"Decision Engine API Reference","groups":[{"group":"Overview","pages":[{"title":"Decision Engine","href":"/decision-engine-api-reference/introduction"},{"group":"Installation","pages":[{"title":"Installation","href":"/decision-engine-api-reference/installation"},{"title":"Local Setup","href":"/decision-engine-api-reference/local-setup"},{"title":"PostgreSQL Setup","href":"/decision-engine-api-reference/setup-guide-postgres"},{"title":"MySQL Setup","href":"/decision-engine-api-reference/setup-guide-mysql"},{"title":"Configuration","href":"/decision-engine-api-reference/configuration"},{"title":"Dashboard","href":"/decision-engine-api-reference/dashboard-guide"}]},{"title":"API Guide","href":"/decision-engine-api-reference/api-reference/guides/api-ref"},{"title":"Analytics","href":"/decision-engine-api-reference/analytics"},{"title":"Payment Audit","href":"/decision-engine-api-reference/payment-audit"},{"title":"ClickHouse Analytics","href":"/decision-engine-api-reference/clickhouse-analytics"},{"title":"Performance Benchmarks","href":"/decision-engine-api-reference/benchmarks"}]},{"group":"OpenAPI: Health","pages":[{"title":"Health Check","openapi":"decision_engine_openapi-specs.json GET /health","href":"/decision-engine-api-reference/api-reference/endpoint/health/healthCheck"},{"title":"Health Ready","openapi":"decision_engine_openapi-specs.json GET /health/ready","href":"/decision-engine-api-reference/api-reference/endpoint/health/healthReady"},{"title":"Health Diagnostics","description":"Database diagnostics for local and deployment troubleshooting.","openapi":"decision_engine_openapi-specs.json GET /health/diagnostics","href":"/decision-engine-api-reference/api-reference/endpoint/health/healthDiagnostics"}]},{"group":"OpenAPI: Gateway Decision","pages":[{"title":"Decide (MultiObjective)","openapi":"decision_engine_openapi-specs.json POST /decide","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/decide"},{"title":"Decide Gateway (Auth Rate)","description":"Core routing decision API. Given a payment context and a list of eligible gateways, returns the optimal gateway to route to.","openapi":"decision_engine_openapi-specs.json POST /decide-gateway","href":"/decision-engine-api-reference/api-reference/endpoint/gateway-decision/decideGateway"}]},{"group":"OpenAPI: Score Feedback","pages":[{"title":"Update Gateway Score","openapi":"decision_engine_openapi-specs.json POST /update-gateway-score","href":"/decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore"}]},{"group":"OpenAPI: Merchant Account","pages":[{"title":"Create Merchant","openapi":"decision_engine_openapi-specs.json POST /merchant-account/create","href":"/decision-engine-api-reference/api-reference/endpoint/merchant-account/createMerchant"},{"title":"Get Merchant","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}","href":"/decision-engine-api-reference/api-reference/endpoint/merchant-account/getMerchant"},{"title":"Delete Merchant","openapi":"decision_engine_openapi-specs.json DELETE /merchant-account/{merchant_id}","href":"/decision-engine-api-reference/api-reference/endpoint/merchant-account/deleteMerchant"},{"title":"Get Merchant Debit Routing","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/debit-routing","href":"/decision-engine-api-reference/api-reference/endpoint/merchant-account/getMerchantDebitRouting"},{"title":"Update Merchant Debit Routing","openapi":"decision_engine_openapi-specs.json POST /merchant-account/{merchant_id}/debit-routing","href":"/decision-engine-api-reference/api-reference/endpoint/merchant-account/updateMerchantDebitRouting"}]},{"group":"OpenAPI: Routing Rules","pages":[{"title":"Create Routing Rule","openapi":"decision_engine_openapi-specs.json POST /routing/create","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/createRoutingRule"},{"title":"Activate Routing Rule","openapi":"decision_engine_openapi-specs.json POST /routing/activate","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/activateRoutingRule"},{"title":"Deactivate Routing Rule","openapi":"decision_engine_openapi-specs.json POST /routing/deactivate","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/deactivateRoutingRule"},{"title":"List Routing Rules","openapi":"decision_engine_openapi-specs.json POST /routing/list/{created_by}","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/listRoutingRules"},{"title":"Get Active Routing Rule","openapi":"decision_engine_openapi-specs.json POST /routing/list/active/{created_by}","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/getActiveRoutingRule"},{"title":"Evaluate Routing Rule","openapi":"decision_engine_openapi-specs.json POST /routing/evaluate","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/evaluateRoutingRule"},{"title":"Hybrid Routing","openapi":"decision_engine_openapi-specs.json POST /routing/hybrid","href":"/decision-engine-api-reference/api-reference/endpoint/routing-rules/hybridRouting"}]},{"group":"OpenAPI: Rule Configuration","pages":[{"title":"Create Rule Config","openapi":"decision_engine_openapi-specs.json POST /rule/create","href":"/decision-engine-api-reference/api-reference/endpoint/rule-configuration/createRuleConfig"},{"title":"Get Rule Config","openapi":"decision_engine_openapi-specs.json POST /rule/get","href":"/decision-engine-api-reference/api-reference/endpoint/rule-configuration/getRuleConfig"},{"title":"Update Rule Config","openapi":"decision_engine_openapi-specs.json POST /rule/update","href":"/decision-engine-api-reference/api-reference/endpoint/rule-configuration/updateRuleConfig"},{"title":"Delete Rule Config","openapi":"decision_engine_openapi-specs.json POST /rule/delete","href":"/decision-engine-api-reference/api-reference/endpoint/rule-configuration/deleteRuleConfig"}]},{"group":"OpenAPI: Auth And API Keys","pages":[{"title":"Signup","openapi":"decision_engine_openapi-specs.json POST /auth/signup","href":"/decision-engine-api-reference/api-reference/endpoint/auth/signup"},{"title":"Login","openapi":"decision_engine_openapi-specs.json POST /auth/login","href":"/decision-engine-api-reference/api-reference/endpoint/auth/login"},{"title":"Logout","openapi":"decision_engine_openapi-specs.json POST /auth/logout","href":"/decision-engine-api-reference/api-reference/endpoint/auth/logout"},{"title":"Current User","openapi":"decision_engine_openapi-specs.json GET /auth/me","href":"/decision-engine-api-reference/api-reference/endpoint/auth/me"},{"title":"List User Merchants","openapi":"decision_engine_openapi-specs.json GET /auth/merchants","href":"/decision-engine-api-reference/api-reference/endpoint/auth/listUserMerchants"},{"title":"Switch Merchant","openapi":"decision_engine_openapi-specs.json POST /auth/switch-merchant","href":"/decision-engine-api-reference/api-reference/endpoint/auth/switchMerchant"},{"title":"Onboard Merchant","openapi":"decision_engine_openapi-specs.json POST /onboarding/merchant","href":"/decision-engine-api-reference/api-reference/endpoint/auth/onboardMerchant"},{"title":"Create API Key","openapi":"decision_engine_openapi-specs.json POST /api-key/create","href":"/decision-engine-api-reference/api-reference/endpoint/auth/createApiKey"},{"title":"List API Keys","openapi":"decision_engine_openapi-specs.json GET /api-key/list/{merchant_id}","href":"/decision-engine-api-reference/api-reference/endpoint/auth/listApiKeys"},{"title":"Revoke API Key","openapi":"decision_engine_openapi-specs.json DELETE /api-key/{key_id}","href":"/decision-engine-api-reference/api-reference/endpoint/auth/revokeApiKey"}]},{"group":"OpenAPI: Analytics","pages":[{"title":"Analytics Overview","openapi":"decision_engine_openapi-specs.json GET /analytics/overview","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsOverview"},{"title":"Analytics Gateway Scores","openapi":"decision_engine_openapi-specs.json GET /analytics/gateway-scores","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsGatewayScores"},{"title":"Analytics Decisions","openapi":"decision_engine_openapi-specs.json GET /analytics/decisions","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsDecisions"},{"title":"Analytics Routing Stats","openapi":"decision_engine_openapi-specs.json GET /analytics/routing-stats","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsRoutingStats"},{"title":"Analytics Log Summaries","openapi":"decision_engine_openapi-specs.json GET /analytics/log-summaries","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsLogSummaries"},{"title":"Payment Audit","openapi":"decision_engine_openapi-specs.json GET /analytics/payment-audit","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsPaymentAudit"},{"title":"Preview Trace","openapi":"decision_engine_openapi-specs.json GET /analytics/preview-trace","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsPreviewTrace"},{"title":"Cost Savings","openapi":"decision_engine_openapi-specs.json GET /analytics/cost-savings","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsCostSavings"},{"title":"Routing Events","openapi":"decision_engine_openapi-specs.json GET /analytics/routing-events","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsRoutingEvents"},{"title":"A/B Test Experiment Results","openapi":"decision_engine_openapi-specs.json GET /analytics/experiment/{experiment_id}/results","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsExperimentResults"},{"title":"A/B Test Experiment Transactions","openapi":"decision_engine_openapi-specs.json GET /analytics/experiment/{experiment_id}/transactions","href":"/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsExperimentTransactions"}]},{"group":"OpenAPI: Compatibility And Config","pages":[{"title":"Legacy Decision Gateway","openapi":"decision_engine_openapi-specs.json POST /decision_gateway","href":"/decision-engine-api-reference/api-reference/endpoint/compatibility/legacyDecisionGateway"},{"title":"Legacy Update Score","openapi":"decision_engine_openapi-specs.json POST /update-score","href":"/decision-engine-api-reference/api-reference/endpoint/compatibility/legacyUpdateScore"},{"title":"Get Routing Config","openapi":"decision_engine_openapi-specs.json GET /config/routing-keys","href":"/decision-engine-api-reference/api-reference/endpoint/compatibility/getRoutingConfig"},{"title":"Configure SR Dimensions","openapi":"decision_engine_openapi-specs.json POST /config-sr-dimension","href":"/decision-engine-api-reference/api-reference/endpoint/compatibility/configSrDimension"},{"title":"Get SR Dimensions","openapi":"decision_engine_openapi-specs.json GET /config-sr-dimension/{merchant_id}","href":"/decision-engine-api-reference/api-reference/endpoint/compatibility/getSrDimensions"}]},{"group":"OpenAPI: Connector Costs \u0026 Ingestion","pages":[{"title":"List Connector Credentials","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/connectors","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/listConnectorCredentials"},{"title":"Set Connector Credentials","openapi":"decision_engine_openapi-specs.json POST /merchant-account/{merchant_id}/connectors/{connector}/credentials","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/setConnectorCredentials"},{"title":"Delete Connector Credentials","openapi":"decision_engine_openapi-specs.json DELETE /merchant-account/{merchant_id}/connectors/{connector}/credentials/{account}","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/deleteConnectorCredentials"},{"title":"List Connector Fees","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/connector-fees","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/listConnectorFees"},{"title":"Set Connector Fee Override","openapi":"decision_engine_openapi-specs.json PUT /merchant-account/{merchant_id}/connectors/{connector}/fee-override","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/setFeeOverride"},{"title":"List Cost Clusters","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/cost-clusters","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/listCostClusters"},{"title":"Set Cost Cluster Override","openapi":"decision_engine_openapi-specs.json PUT /merchant-account/{merchant_id}/cost-clusters/{cluster_key}/fee-override","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/setClusterOverride"},{"title":"Get Cost Coverage","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/cost-coverage","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/getCostCoverage"},{"title":"List Cost Ingestions","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/cost-ingestions","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/listCostIngestions"},{"title":"Delete Cost Ingestion","openapi":"decision_engine_openapi-specs.json DELETE /merchant-account/{merchant_id}/cost-ingestions/{ingestion_id}","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/deleteCostIngestion"},{"title":"List Cost Price Changes","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/cost-price-changes","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/listCostPriceChanges"},{"title":"List Invoice Add-ons","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/invoice-addons","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/listInvoiceAddons"},{"title":"Delete Invoice Add-on","openapi":"decision_engine_openapi-specs.json DELETE /merchant-account/{merchant_id}/connectors/{connector}/invoice-addon","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/deleteInvoiceAddon"},{"title":"Get Invoice Reconciliation","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/invoice-reconciliation","href":"/decision-engine-api-reference/api-reference/endpoint/connector-costs/getInvoiceReconciliation"}]},{"group":"OpenAPI: Feature Flags \u0026 Autopilot","pages":[{"title":"Get Merchant Features","openapi":"decision_engine_openapi-specs.json GET /merchant-account/{merchant_id}/features","href":"/decision-engine-api-reference/api-reference/endpoint/features/getMerchantFeatures"},{"title":"Update Merchant Feature","openapi":"decision_engine_openapi-specs.json POST /merchant-account/{merchant_id}/features/{feature}","href":"/decision-engine-api-reference/api-reference/endpoint/features/updateMerchantFeature"},{"title":"Reset Gateway Scores","openapi":"decision_engine_openapi-specs.json POST /gateway-score/reset","href":"/decision-engine-api-reference/api-reference/endpoint/features/resetGatewayScores"}]},{"group":"API Examples (curl flows)","pages":[{"group":"Health \u0026 Status","pages":[{"title":"Health Checks","href":"/decision-engine-api-reference/api-reference/guides/health-status/health-check"}]},{"group":"Authentication \u0026 Onboarding","pages":[{"title":"Auth And Onboarding","href":"/decision-engine-api-reference/api-reference/guides/auth-onboarding/auth-and-onboarding"},{"title":"API Keys","href":"/decision-engine-api-reference/api-reference/guides/auth-onboarding/api-keys"}]},{"group":"Merchant Accounts","pages":[{"title":"Create Merchant Account","href":"/decision-engine-api-reference/api-reference/guides/merchant-accounts/merchant-account-create"},{"title":"Get Merchant Account","href":"/decision-engine-api-reference/api-reference/guides/merchant-accounts/merchant-account-get"},{"title":"Delete Merchant Account","href":"/decision-engine-api-reference/api-reference/guides/merchant-accounts/merchant-account-delete"},{"title":"Merchant Debit Routing Flag","href":"/decision-engine-api-reference/api-reference/guides/merchant-accounts/merchant-debit-routing"}]},{"group":"Configure Routing","pages":[{"title":"Create Routing Algorithm","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-create"},{"title":"Single Connector Example","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-single-connector-example"},{"title":"Priority Routing Example","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-priority-example"},{"title":"Volume Split Example","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-volume-split-example"},{"title":"Advanced Routing Example","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-advanced-example"},{"title":"Activate Routing Algorithm","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-activate"},{"title":"Deactivate Routing Algorithm","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-deactivate"},{"title":"Update \u0026 Delete Routing Algorithm","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-update-delete"},{"title":"List Routing Algorithms","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-list"},{"title":"List Active Routing Algorithms","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-list-active"},{"title":"Evaluate Routing Algorithm","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-algorithm-evaluate"},{"title":"Hybrid Routing Evaluation","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-hybrid"},{"title":"Decide","href":"/decision-engine-api-reference/api-reference/guides/configure-routing/routing-decide"}]},{"group":"Scoring Configuration","pages":[{"title":"Create Success Rate Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/success-rate-config-create"},{"title":"Get Success Rate Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/success-rate-config-get"},{"title":"Update Success Rate Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/success-rate-config-update"},{"title":"Delete Success Rate Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/success-rate-config-delete"},{"title":"Create Elimination Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/elimination-config-create"},{"title":"Get Elimination Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/elimination-config-get"},{"title":"Update Elimination Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/elimination-config-update"},{"title":"Delete Elimination Config","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/elimination-config-delete"},{"title":"Routing Config Endpoints","href":"/decision-engine-api-reference/api-reference/guides/scoring-config/config-endpoints"}]},{"group":"Cost Data Ingestion","pages":[{"title":"Cost Ingestion: Connector Setup","href":"/decision-engine-api-reference/api-reference/guides/cost-ingestion/cost-ingestion-setup"},{"title":"Cost Ingestion: Uploads","href":"/decision-engine-api-reference/api-reference/guides/cost-ingestion/cost-ingestion-uploads"},{"title":"Cost Ingestion: Fees \u0026 Coverage","href":"/decision-engine-api-reference/api-reference/guides/cost-ingestion/cost-ingestion-fees"}]},{"group":"A/B Testing","pages":[{"title":"A/B Testing: Create An Experiment","href":"/decision-engine-api-reference/api-reference/guides/ab-testing/ab-testing-create"},{"title":"A/B Testing: Results","href":"/decision-engine-api-reference/api-reference/guides/ab-testing/ab-testing-results"}]},{"group":"Autopilot \u0026 Feature Flags","pages":[{"title":"Merchant Features: Autopilot \u0026 Feature Flags","href":"/decision-engine-api-reference/api-reference/guides/autopilot/merchant-features"}]},{"group":"Run Transactions","pages":[{"title":"Decide Gateway: SR Based Routing","href":"/decision-engine-api-reference/api-reference/guides/run-transactions/decide-gateway-sr-based"},{"title":"Decide Gateway: Priority List Based","href":"/decision-engine-api-reference/api-reference/guides/run-transactions/decide-gateway-pl-based"},{"title":"Decide Gateway: Debit Routing","href":"/decision-engine-api-reference/api-reference/guides/run-transactions/decide-gateway-debit-routing"},{"title":"Decide Gateway: Network + SR Hybrid","href":"/decision-engine-api-reference/api-reference/guides/run-transactions/decide-gateway-hybrid-routing"},{"title":"Decide Gateway: Multi-Objective Routing","href":"/decision-engine-api-reference/api-reference/guides/run-transactions/decide-gateway-multi-objective"}]},{"group":"Feedback \u0026 Scoring","pages":[{"title":"Update Gateway Score","href":"/decision-engine-api-reference/api-reference/guides/feedback-scoring/update-gateway-score"}]},{"group":"Analytics \u0026 Audit","pages":[{"title":"Analytics Endpoints","href":"/decision-engine-api-reference/api-reference/guides/analytics-audit/analytics-endpoints"}]},{"group":"Legacy \u0026 Compatibility","pages":[{"title":"Legacy Decision Gateway","href":"/decision-engine-api-reference/api-reference/guides/legacy/decision-gateway-legacy"},{"title":"Legacy Update Score","href":"/decision-engine-api-reference/api-reference/guides/legacy/update-score-legacy"}]}]}]}]},"basePath":"","title":"Decide (MultiObjective) - Hyperswitch","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}