Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.
Protected. Send either Authorization: Bearer <jwt_token> or x-api-key: <api_key>. In sandbox, also send x-feature: decision-engine.For local development, start with:
Body: JSON body with merchantId, paymentId, gateway and status, plus optional gatewayReferenceId, enforceDynamicRoutingFailure, txnLatency, errorInfo and isSmartRetry.
status must be a transaction status value - CHARGED, AUTHORIZATION_FAILED,
AUTHENTICATION_FAILED, JUSPAY_DECLINED, FAILURE, and so on. Lowercase values such as
success are rejected with a 400.Payment attributes (amount, currency, payment method, auth type) are not part of this
payload - the engine already has them from the /decide-gateway call for this paymentId.
Any unrecognised field is silently ignored, so a misspelled key fails quietly rather than
erroring. Note in particular that latency goes in txnLatency.gatewayLatency, not latency.
When errorInfo is supplied in the request and matches a gateway status map rule, the response
also carries a gsm_info object describing the lookup result.
Gateway error details for the GSM-based scoring filter. When present and the merchant flag is on, user/issuer-originated failures are skipped so the gateway is not penalised.
GSM lookup result. Present only when errorInfo was supplied and a matching rule was found.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hyperswitch","colors":{"primary":"#4F8EFF","light":"#6BA3FF","dark":"#2563EB"},"logo":{"light":"/logo/light.svg","dark":"/logo/dark.svg"},"favicon":"/favicon.png","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/hyperswitch-open-source/overview"}},"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"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4064"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false},"customCss":[],"page":{"pagePath":"decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore","slug":"/decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore","pageMetadata":{"title":"Update Gateway Score","description":"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.","openapi":"decision_engine_openapi-specs.json POST /update-gateway-score","href":"/decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore"},"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: \"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`update-gateway-score`,children:`Update Gateway Score`}),`\n`,_jsx(Heading,{level:`2`,id:`use-case`,children:`Use case`}),`\n`,_jsx(_components.p,{children:`Records the observed transaction outcome for a previously selected gateway so auth-rate analytics can learn from real payment results.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Protected. Send either `,_jsx(_components.code,{children:`Authorization: Bearer \u003cjwt_token>`}),` or `,_jsx(_components.code,{children:`x-api-key: \u003capi_key>`}),`. In sandbox, also send `,_jsx(_components.code,{children:`x-feature: decision-engine`}),`.`]}),`\n`,_jsx(_components.p,{children:`For local development, start with:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`localhost`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`8080`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AUTH_HEADER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer \u003cjwt_token>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Sandbox only:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# export BASE_URL=https://sandbox.hyperswitch.io`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# export FEATURE_HEADER=\"x-feature: decision-engine\"`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Method and path: `,_jsx(_components.code,{children:`POST /update-gateway-score`})]}),`\n`,_jsx(_components.li,{children:`Parameters: none.`}),`\n`,_jsxs(_components.li,{children:[`Body: JSON body with `,_jsx(_components.code,{children:`merchantId`}),`, `,_jsx(_components.code,{children:`paymentId`}),`, `,_jsx(_components.code,{children:`gateway`}),` and `,_jsx(_components.code,{children:`status`}),`, plus optional `,_jsx(_components.code,{children:`gatewayReferenceId`}),`, `,_jsx(_components.code,{children:`enforceDynamicRoutingFailure`}),`, `,_jsx(_components.code,{children:`txnLatency`}),`, `,_jsx(_components.code,{children:`errorInfo`}),` and `,_jsx(_components.code,{children:`isSmartRetry`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(Heading,{level:`3`,id:`update-gateway-score-2`,children:`Update gateway score`}),`\n`,_jsx(CodeBlock,{numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$BASE_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/update-gateway-score\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$AUTH_HEADER`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"merchantId\": \"merchant_demo\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentId\": \"pay_sr_001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gateway\": \"stripe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\": \"CHARGED\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gatewayReferenceId\": \"stripe_ref_001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"enforceDynamicRoutingFailure\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"txnLatency\": { \"gatewayLatency\": 120.5 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`status`}),` must be a transaction status value - `,_jsx(_components.code,{children:`CHARGED`}),`, `,_jsx(_components.code,{children:`AUTHORIZATION_FAILED`}),`,\n`,_jsx(_components.code,{children:`AUTHENTICATION_FAILED`}),`, `,_jsx(_components.code,{children:`JUSPAY_DECLINED`}),`, `,_jsx(_components.code,{children:`FAILURE`}),`, and so on. Lowercase values such as\n`,_jsx(_components.code,{children:`success`}),` are rejected with a 400.`]}),`\n`,_jsxs(_components.p,{children:[`Payment attributes (amount, currency, payment method, auth type) are `,_jsx(_components.strong,{children:`not`}),` part of this\npayload - the engine already has them from the `,_jsx(_components.code,{children:`/decide-gateway`}),` call for this `,_jsx(_components.code,{children:`paymentId`}),`.\nAny unrecognised field is silently ignored, so a misspelled key fails quietly rather than\nerroring. Note in particular that latency goes in `,_jsx(_components.code,{children:`txnLatency.gatewayLatency`}),`, not `,_jsx(_components.code,{children:`latency`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gateway score updated successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"merchant_demo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gateway\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stripe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payment_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pay_sr_001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`errorInfo`}),` is supplied in the request and matches a gateway status map rule, the response\nalso carries a `,_jsx(_components.code,{children:`gsm_info`}),` object describing the lookup result.`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Do not call this after `,_jsx(_components.code,{children:`NTW_BASED_ROUTING`}),` just to record the selected debit network; debit audit comes from `,_jsx(_components.code,{children:`/decide-gateway`}),` analytics.`]}),`\n`,_jsx(_components.li,{children:`Call it after payment authorization completes, not before.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/decision-engine-api-reference/api-reference/endpoint/gateway-decision/decideGateway`,children:`Decide Gateway`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/decision-engine-api-reference/api-reference/endpoint/analytics/analyticsGatewayScores`,children:`Analytics Gateway Scores`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/decision-engine-api-reference/api-reference/guides/feedback-scoring/update-gateway-score`,children:`Update Gateway Score`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Gateway Score","description":"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.","openapi":"decision_engine_openapi-specs.json POST /update-gateway-score","href":"/decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Update Gateway Score","slug":"update-gateway-score","depth":1,"children":[]},{"title":"Use case","slug":"use-case","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[{"title":"Update gateway score","slug":"update-gateway-score-2","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateGatewayScore","tags":["Score Feedback"],"summary":"Update gateway score","description":"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.","requestBody":"80b82d5c-2924-4cd4-a897-0de662e8ef6d","responses":{"200":"6e462c5c-cb77-49d7-9e5b-4a11c6817b3c"},"security":["086e2d1d-0891-4126-bd6b-bf1dca60a61d","ccd9f803-dd95-493d-a3a1-ab9d3663621c"],"method":"post","type":"path","servers":["c3aa3e40-7de1-4b03-be3a-994983210394","9291536a-d6e4-4506-8a8f-1468a3f21a57"],"path":"/update-gateway-score","baseUrlOptions":["http://localhost:8080","https://sandbox.hyperswitch.io"],"title":"Update gateway score","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["merchantId","gateway","paymentId","status"],"properties":{"merchantId":{"type":"string","example":"test_merchant","isRequired":true,"uniqueKey":"merchantId","typeLabel":"string"},"gateway":{"type":"string","example":"stripe","isRequired":true,"uniqueKey":"gateway","typeLabel":"string"},"paymentId":{"type":"string","example":"pay_001","isRequired":true,"uniqueKey":"paymentId","typeLabel":"string"},"status":{"type":"string","enum":["STARTED","AUTHENTICATION_FAILED","JUSPAY_DECLINED","PENDING_VBV","VBV_SUCCESSFUL","AUTHORIZED","AUTHORIZATION_FAILED","CHARGED","AUTHORIZING","COD_INITIATED","VOIDED","VOID_INITIATED","NOP","CAPTURE_INITIATED","CAPTURE_FAILED","VOID_FAILED","AUTO_REFUNDED","PARTIAL_CHARGED","TO_BE_CHARGED","PENDING","FAILURE","DECLINED"],"example":"CHARGED","description":"Transaction status. Must be a TxnStatus value - lowercase values such as `success` are rejected with a 400.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"gatewayReferenceId":{"type":"string","example":"stripe_ref_001","uniqueKey":"gatewayReferenceId","typeLabel":"string"},"enforceDynamicRoutingFailure":{"type":"boolean","default":false,"uniqueKey":"enforceDynamicRoutingFailure","typeLabel":"boolean"},"txnLatency":{"oneOf":[{"type":"object","properties":{"gatewayLatency":{"oneOf":[{"type":"number","format":"double","example":120.5,"uniqueKey":"txnLatency.oneOf.0.gatewayLatency.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","example":120.5,"uniqueKey":"txnLatency.oneOf.0.gatewayLatency.oneOf.1","typeLabel":"null"}],"uniqueKey":"txnLatency.oneOf.0.gatewayLatency","typeLabel":"number\u003cdouble> | null"}},"description":"Observed gateway latency, in milliseconds.","uniqueKey":"txnLatency.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"gatewayLatency":{"oneOf":[{"type":"number","format":"double","example":120.5},{"type":"null","format":"double","example":120.5}]}},"description":"Observed gateway latency, in milliseconds.","uniqueKey":"txnLatency.oneOf.1","typeLabel":"null"}],"uniqueKey":"txnLatency","typeLabel":"object | null"},"errorInfo":{"oneOf":[{"type":"object","description":"Gateway error details for the GSM-based scoring filter. When present and the merchant flag is on, user/issuer-originated failures are skipped so the gateway is not penalised.","uniqueKey":"errorInfo.oneOf.0","typeLabel":"object"},{"type":"null","description":"Gateway error details for the GSM-based scoring filter. When present and the merchant flag is on, user/issuer-originated failures are skipped so the gateway is not penalised.","uniqueKey":"errorInfo.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorInfo","typeLabel":"object | null"},"isSmartRetry":{"oneOf":[{"type":"boolean","description":"Set by the orchestrator when this call is a smart-retry attempt.","uniqueKey":"isSmartRetry.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Set by the orchestrator when this call is a smart-retry attempt.","uniqueKey":"isSmartRetry.oneOf.1","typeLabel":"null"}],"uniqueKey":"isSmartRetry","typeLabel":"boolean | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"merchantId":"test_merchant","gateway":"stripe","paymentId":"pay_001","status":"CHARGED","gatewayReferenceId":"stripe_ref_001","enforceDynamicRoutingFailure":false},"examples":{"Example":{"title":"Example","value":{"merchantId":"test_merchant","gateway":"stripe","paymentId":"pay_001","status":"CHARGED","gatewayReferenceId":"stripe_ref_001","enforceDynamicRoutingFailure":false}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"6e462c5c-cb77-49d7-9e5b-4a11c6817b3c":{"description":"Score updated","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"merchant_id":{"type":"string","uniqueKey":"merchant_id","typeLabel":"string"},"gateway":{"type":"string","uniqueKey":"gateway","typeLabel":"string"},"payment_id":{"type":"string","uniqueKey":"payment_id","typeLabel":"string"},"gsm_info":{"oneOf":[{"type":"object","description":"GSM lookup result. Present only when `errorInfo` was supplied and a matching rule was found.","uniqueKey":"gsm_info.oneOf.0","typeLabel":"object"},{"type":"null","description":"GSM lookup result. Present only when `errorInfo` was supplied and a matching rule was found.","uniqueKey":"gsm_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"gsm_info","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Score updated","merchant_id":"test_merchant","gateway":"stripe","payment_id":"pay_001"},"examples":{"Example":{"title":"Example","value":{"message":"Score updated","merchant_id":"test_merchant","gateway":"stripe","payment_id":"pay_001"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"086e2d1d-0891-4126-bd6b-bf1dca60a61d":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from /auth/login","scopes":[],"schemeName":"BearerAuth"}},"ccd9f803-dd95-493d-a3a1-ab9d3663621c":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key created via /api-key/create","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"c3aa3e40-7de1-4b03-be3a-994983210394":{"url":"http://localhost:8080","description":"Local development"},"9291536a-d6e4-4506-8a8f-1468a3f21a57":{"url":"https://sandbox.hyperswitch.io","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":"docs.transactlyltd.com","siteName":"Hyperswitch","title":"Update Gateway Score - Hyperswitch","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore.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=\"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hyperswitch\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Gateway Score - Hyperswitch\">\u003cmeta data-mint-head property=\"og:description\" content=\"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hyperswitch\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"http://docs.transactlyltd.com/_mintlify/og/decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore.png\">\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=\"Update Gateway Score - Hyperswitch\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Feed a transaction outcome back into the success-rate model. Call this after every transaction so the engine has accurate SR data for future routing decisions.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"http://docs.transactlyltd.com/_mintlify/og/decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore.png\">\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=\"/favicons/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://local./decision-engine-api-reference/api-reference/endpoint/score-feedback/updateGatewayScore\">\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/score-feedback/updateGatewayScore.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hyperswitch\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Hyperswitch","nav":{"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":[{"title":"Setup instructions","sidebarTitle":"Setup Instructions","icon":"flag","iconType":"solid","href":"/v1/payments/setup--instructions"},{"title":"Payment flows","sidebarTitle":"Payment Flows","icon":"arrows-retweet","iconType":"solid","href":"/v1/payments/payment--flows"},{"group":"Payments","pages":[{"title":"Payments - Create","openapi":"post /payments","href":"/v1/payments/payments--create"},{"title":"Payments - Update","openapi":"post /payments/{payment_id}","href":"/v1/payments/payments--update"},{"title":"Payments - Confirm","openapi":"post /payments/{payment_id}/confirm","href":"/v1/payments/payments--confirm"},{"title":"Payments - Retrieve","openapi":"get /payments/{payment_id}","href":"/v1/payments/payments--retrieve"},{"title":"Payments - Cancel","openapi":"post /payments/{payment_id}/cancel","href":"/v1/payments/payments--cancel"},{"title":"Payments - Cancel Post Capture","openapi":"post /payments/{payment_id}/cancel_post_capture","href":"/v1/payments/payments--cancel-post-capture"},{"title":"Payments - Cancel Post Capture Retrieve","openapi":"get /payments/{payment_id}/cancel_post_capture","href":"/v1/payments/payments--cancel-post-capture-retrieve"},{"title":"Payments - Capture","openapi":"post /payments/{payment_id}/capture","href":"/v1/payments/payments--capture"},{"title":"Payments - Incremental Authorization","openapi":"post /payments/{payment_id}/incremental_authorization","href":"/v1/payments/payments--incremental-authorization"},{"title":"Payments - Extended Authorization","openapi":"post /payments/{payment_id}/extend_authorization","href":"/v1/payments/payments--extend-authorization"},{"title":"Payments - Session token","openapi":"post /payments/session_tokens","href":"/v1/payments/payments--session-token"},{"title":"Payments Link - Retrieve","openapi":"get /payment_link/{payment_link_id}","href":"/v1/payments/payments-link--retrieve"},{"title":"Payments - List","openapi":"get /payments/list","href":"/v1/payments/payments--list"},{"title":"Payments - External 3DS Authentication","openapi":"post /payments/{payment_id}/3ds/authentication","href":"/v1/payments/payments--external-3ds-authentication"},{"title":"Payments complete authorize","openapi":"post /{payment_id}/complete_authorize","href":"/v1/payments/payments--complete-authorize"},{"title":"Payments - Update Metadata","openapi":"post /payments/{payment_id}/update_metadata","href":"/v1/payments/payments--update-metadata"},{"title":"Payments - Submit Eligibility Data","openapi":"post /payments/{payment_id}/eligibility","href":"/v1/payments/payments--submit-eligibility-data"}]},{"group":"Payment Methods","pages":[{"title":"Payment Method - Create","openapi":"post /v1/payment-methods","href":"/v2/payment-methods/payment-method--create-v1"},{"title":"Payment method retrieve v1","openapi":"get /v1/payment-methods/{id}","href":"/v2/payment-methods/payment-method--retrieve-v1"},{"title":"Payment Method - Update","openapi":"put /v1/payment-methods/{id}/update-saved-payment-method","href":"/v2/payment-methods/payment-method--update-v1"},{"title":"Payment Method - Delete","openapi":"delete /v1/payment-methods/{id}","href":"/v2/payment-methods/payment-method--delete-v1"},{"title":"Payment Method - List Customer Saved Payment Methods","openapi":"get /v1/customers/{id}/saved-payment-methods","href":"/v2/payment-methods/payment-method--list-customer-saved-payment-methods-v1"},{"title":"Payment Method - Get Payment Method Token Data","openapi":"get /v1/payment-methods/token/{payment_method_temporary_token}/details","href":"/v2/payment-methods/payment-method--payment-method-token-to-payment-method-id-v1"},{"title":"Payment Method - Set Default Payment Method for Customer","openapi":"post /v1/{customer_id}/payment-methods/{payment_method_id}/default","href":"/v2/payment-methods/payment-method--set-default-payment-method-for-customer-v1"},{"title":"List payment methods for a Payment","openapi":"get /payments/{payment_id}/client","href":"/v1/payment-methods/list-payment-methods-for-a-payment-via-client-sdk"}]},{"group":"Customers","pages":[{"title":"Customers - Create","openapi":"post /v1/customers","href":"/v2/customers/customers--create-v1"},{"title":"Customers - Retrieve","openapi":"get /v1/customers/{id}","href":"/v2/customers/customers--retrieve-v1"},{"title":"Customers - Retrieve using Merchant Reference ID","openapi":"get /v1/customers/reference/{merchant_reference_id}","href":"/v1/customers/customers--retrieve-by-merchant-reference-id"},{"title":"Customers - Update","openapi":"put /v1/customers/{id}","href":"/v2/customers/customers--update-v1"},{"title":"Customers - Delete","openapi":"delete /v1/customers/{id}","href":"/v2/customers/customers--delete-v1"},{"title":"Customers - List","openapi":"get /v1/customers/list","href":"/v2/customers/customers--list-v1"}]},{"group":"Proxy","pages":[{"title":"Proxy","openapi":"post /v1/proxy","href":"/v2/proxy/proxy-v1"}]},{"group":"Payment Method Session","pages":[{"title":"Payment Method Session - Create","openapi":"post /v1/payment-method-sessions","href":"/v2/payment-method-session/payment-method-session--create-v1"},{"title":"Payment Method Session - Retrieve","openapi":"get /v1/payment-method-sessions/{id}","href":"/v2/payment-method-session/payment-method-session--retrieve-v1"},{"title":"Payment Method Session - List Payment Methods","openapi":"get /v1/payment-method-sessions/{id}/list-payment-methods","href":"/v2/payment-method-session/payment-method-session--list-payment-methods-v1"},{"title":"Payment Method Session - Update a saved payment method","openapi":"put /v1/payment-method-sessions/{id}/update-saved-payment-method","href":"/v2/payment-method-session/payment-method-session--update-a-saved-payment-method-v1"},{"title":"Payment Method Session - Confirm a payment method session","openapi":"post /v1/payment-method-sessions/{id}/confirm","href":"/v2/payment-method-session/payment-method-session--confirm-a-payment-method-session-v1"},{"title":"Payment Method Session - Delete a saved payment method","openapi":"delete /v1/payment-method-sessions/{id}","href":"/v2/payment-method-session/payment-method-session--delete-a-saved-payment-method-v1"}]},{"group":"Refunds","pages":[{"title":"Refunds - Create","openapi":"post /refunds","href":"/v1/refunds/refunds--create"},{"title":"Refunds - Update","openapi":"post /refunds/{refund_id}","href":"/v1/refunds/refunds--update"},{"title":"Refunds - Retrieve","openapi":"get /refunds/{refund_id}","href":"/v1/refunds/refunds--retrieve"},{"title":"Refunds - List","openapi":"post /refunds/list","href":"/v1/refunds/refunds--list"}]},{"group":"Disputes","pages":[{"title":"Disputes - Retrieve Dispute","openapi":"get /disputes/{dispute_id}","href":"/v1/disputes/disputes--retrieve"},{"title":"Disputes - List Disputes","openapi":"get /disputes/list","href":"/v1/disputes/disputes--list"},{"title":"Disputes - List Disputes for The Given Profiles","openapi":"get /disputes/profile/list","href":"/v1/disputes/disputes--list-profiles"},{"title":"Disputes - Accept Dispute","openapi":"post /disputes/accept/{dispute_id}","href":"/v1/disputes/disputes--accept"},{"title":"Disputes - Uploads Dispute Evidence","openapi":"post /disputes/evidence","href":"/v1/disputes/disputes--submit-evidence"},{"title":"Disputes - Attach Evidence to Dispute","openapi":"put /disputes/evidence","href":"/v1/disputes/disputes--attach-evidence"},{"title":"Disputes - Retrieve Dispute Evidence","openapi":"get /disputes/evidence/{dispute_id}","href":"/v1/disputes/disputes--retrieve-evidence"},{"title":"Disputes - Delete Evidence attached to a Dispute","openapi":"delete /disputes/evidence","href":"/v1/disputes/disputes--delete-evidence"},{"title":"Disputes - Get Disputes Aggregate","openapi":"get /disputes/aggregate","href":"/v1/disputes/disputes--get-aggregate"},{"title":"Disputes - Get Disputes Aggregate for Profiles","openapi":"get /disputes/profile/aggregate","href":"/v1/disputes/disputes--get-aggregate-profiles"},{"title":"Disputes - Disputes Filters","openapi":"get /disputes/filter","href":"/v1/disputes/disputes--get-filters"},{"title":"Disputes - Disputes Filters Profile","openapi":"get /disputes/profile/filter","href":"/v1/disputes/disputes--get-filters-profiles"}]},{"group":"Authentication","pages":[{"title":"Authentication - Create","openapi":"post /authentication","href":"/v1/authentication/authentication--create"},{"title":"Authentication - POST Eligibility Check","openapi":"post /authentication/{authentication_id}/eligibility-check","href":"/v1/authentication/authentication--post-eligibility-check"},{"title":"Authentication - GET Eligibility Check","openapi":"get /authentication/{authentication_id}/eligibility-check","href":"/v1/authentication/authentication--get-eligibility-check"}]},{"group":"Payouts","pages":[{"title":"Payouts - Create","openapi":"post /payouts/create","href":"/v1/payouts/payouts--create"},{"title":"Payouts - Update","openapi":"post /payouts/{payout_id}","href":"/v1/payouts/payouts--update"},{"title":"Payouts - Cancel","openapi":"post /payouts/{payout_id}/cancel","href":"/v1/payouts/payouts--cancel"},{"title":"Payouts - Fulfill","openapi":"post /payouts/{payout_id}/fulfill","href":"/v1/payouts/payouts--fulfill"},{"title":"Payouts - Confirm","openapi":"post /payouts/{payout_id}/confirm","href":"/v1/payouts/payouts--confirm"},{"title":"Payouts - Retrieve","openapi":"get /payouts/{payout_id}","href":"/v1/payouts/payouts--retrieve"},{"title":"Payouts - List","openapi":"get /payouts/list","href":"/v1/payouts/payouts--list"},{"title":"Payouts - List available filters","openapi":"post /payouts/filter","href":"/v1/payouts/payouts--list-filters"},{"title":"Payouts - List using filters","openapi":"post /payouts/list","href":"/v1/payouts/payouts--filter"}]}]},{"group":"Deprecated APIs","pages":[{"group":"Mandates","pages":[{"title":"Mandates - Revoke Mandate","openapi":"post /mandates/revoke/{mandate_id}","href":"/v1/mandates/mandates--revoke-mandate"},{"title":"Mandates - Retrieve Mandate","openapi":"get /mandates/{mandate_id}","href":"/v1/mandates/mandates--retrieve-mandate"},{"title":"Mandates customer mandates list","openapi":"post /customers/{customer_id}/mandates","href":"/v1/mandates/mandates--customer-mandates-list"}]},{"group":"Customers","pages":[{"title":"Customers - Create","openapi":"post /customers","href":"/v1/customers/customers--create"},{"title":"Customers - Retrieve","openapi":"get /customers/{customer_id}","href":"/v1/customers/customers--retrieve"},{"title":"Customers - Update","openapi":"post /customers/{customer_id}","href":"/v1/customers/customers--update"},{"title":"Customers - Delete","openapi":"delete /customers/{customer_id}","href":"/v1/customers/customers--delete"},{"title":"Customers - List","openapi":"get /customers/list","href":"/v1/customers/customers--list"}]},{"group":"Payment Methods","pages":[{"title":"PaymentMethods - Create","openapi":"post /payment_methods","href":"/v1/payment-methods/paymentmethods--create"},{"title":"Payment Method - Retrieve","openapi":"get /payment_methods/{method_id}","href":"/v1/payment-methods/payment-method--retrieve"},{"title":"Payment Method - Update","openapi":"post /payment_methods/{method_id}/update","href":"/v1/payment-methods/payment-method--update"},{"title":"Payment Method - Delete","openapi":"delete /payment_methods/{method_id}","href":"/v1/payment-methods/payment-method--delete"},{"title":"Payment Method - Set Default Payment Method for Customer","openapi":"post /{customer_id}/payment_methods/{payment_method_id}/default","href":"/v1/payment-methods/payment-method--set-default-payment-method-for-customer"},{"title":"List payment methods for a Merchant","openapi":"get /account/payment_methods","href":"/v1/payment-methods/list-payment-methods-for-a-merchant"},{"title":"List customer saved payment methods for a Payment","openapi":"get /customers/payment_methods","href":"/v1/payment-methods/list-customer-saved-payment-methods-for-a-payment"},{"title":"List payment methods for a Customer","openapi":"get /customers/{customer_id}/payment_methods","href":"/v1/payment-methods/list-payment-methods-for-a-customer"},{"title":"Payment Method - Set Default Payment Method for Customer","openapi":"post /{customer_id}/payment_methods/{payment_method_id}/default","href":"/v1/customer-set-default-payment-method/customers--set-default-payment-method"}]}]},{"group":"Account management APIs","pages":[{"group":"Organization","pages":[{"title":"Organization - Create","openapi":"post /organization","href":"/v1/organization/organization--create"},{"title":"Organization - Retrieve","openapi":"get /organization/{id}","href":"/v1/organization/organization--retrieve"},{"title":"Organization - Update","openapi":"put /organization/{id}","href":"/v1/organization/organization--update"}]},{"group":"Merchant Account","pages":[{"title":"Merchant Account - Create","openapi":"post /accounts","href":"/v1/merchant-account/merchant-account--create"},{"title":"Merchant Account - Retrieve","openapi":"get /accounts/{account_id}","href":"/v1/merchant-account/merchant-account--retrieve"},{"title":"Merchant Account - Update","openapi":"post /accounts/{account_id}","href":"/v1/merchant-account/merchant-account--update"},{"title":"Merchant Account - Delete","openapi":"delete /accounts/{account_id}","href":"/v1/merchant-account/merchant-account--delete"},{"title":"Merchant Account - KV Status","openapi":"post /accounts/{account_id}/kv","href":"/v1/merchant-account/merchant-account--kv-status"}]},{"group":"Business Profile","pages":[{"title":"Profile - Create","openapi":"post /account/{account_id}/business_profile","href":"/v1/business-profile/business-profile--create"},{"title":"Profile - Update","openapi":"post /account/{account_id}/business_profile/{profile_id}","href":"/v1/business-profile/business-profile--update"},{"title":"Profile - Retrieve","openapi":"get /account/{account_id}/business_profile/{profile_id}","href":"/v1/business-profile/business-profile--retrieve"},{"title":"Profile - Delete","openapi":"delete /account/{account_id}/business_profile/{profile_id}","href":"/v1/business-profile/business-profile--delete"},{"title":"Profile - List","openapi":"get /account/{account_id}/business_profile","href":"/v1/business-profile/business-profile--list"}]},{"group":"Platform Account","pages":[{"title":"Platform - Create","openapi":"post /user/create_platform","href":"/v1/platform/platform--create"}]},{"group":"API Key","pages":[{"title":"API Key - Create","openapi":"post /api_keys/{merchant_id}","href":"/v1/api-key/api-key--create"},{"title":"API Key - Retrieve","openapi":"get /api_keys/{merchant_id}/{key_id}","href":"/v1/api-key/api-key--retrieve"},{"title":"API Key - Update","openapi":"post /api_keys/{merchant_id}/{key_id}","href":"/v1/api-key/api-key--update"},{"title":"API Key - Revoke","openapi":"delete /api_keys/{merchant_id}/{key_id}","href":"/v1/api-key/api-key--revoke"},{"title":"API Key - List","openapi":"get /api_keys/{merchant_id}/list","href":"/v1/api-key/api-key--list"}]},{"group":"Merchant Connector Account","pages":[{"title":"Merchant Connector - Create","openapi":"post /account/{account_id}/connectors","href":"/v1/merchant-connector-account/merchant-connector--create"},{"title":"Merchant Connector - Retrieve","openapi":"get /account/{account_id}/connectors/{merchant_connector_id}","href":"/v1/merchant-connector-account/merchant-connector--retrieve"},{"title":"Merchant Connector - Update","openapi":"post /account/{account_id}/connectors/{merchant_connector_id}","href":"/v1/merchant-connector-account/merchant-connector--update"},{"title":"Merchant Connector - Delete","openapi":"delete /account/{account_id}/connectors/{merchant_connector_id}","href":"/v1/merchant-connector-account/merchant-connector--delete"},{"title":"Merchant Connector - List","openapi":"get /account/{account_id}/connectors","href":"/v1/merchant-connector-account/merchant-connector--list"}]},{"group":"GSM (Global Status Mapping)","pages":[{"title":"Gsm - Create","openapi":"post /gsm","href":"/v1/gsm/gsm--create"},{"title":"Gsm - Get","openapi":"post /gsm/get","href":"/v1/gsm/gsm--get"},{"title":"Gsm - Update","openapi":"post /gsm/update","href":"/v1/gsm/gsm--update"},{"title":"Gsm - Delete","openapi":"post /gsm/delete","href":"/v1/gsm/gsm--delete"}]}]},{"group":"Other APIs","pages":[{"group":"Event","pages":[{"title":"Events - List","openapi":"post /events/{merchant_id}","href":"/v1/event/events--list"},{"title":"Events - Delivery Attempt List","openapi":"get /events/{merchant_id}/{event_id}/attempts","href":"/v1/event/events--delivery-attempt-list"},{"title":"Events - Manual Retry","openapi":"post /events/{merchant_id}/{event_id}/retry","href":"/v1/event/events--manual-retry"}]},{"group":"Poll","pages":[{"title":"Poll - Retrieve Poll Status","openapi":"get /poll/status/{poll_id}","href":"/v1/poll/poll--retrieve-poll-status"}]},{"group":"Blocklist","pages":[{"title":"Get blocklist","openapi":"get /blocklist","href":"/v1/blocklist/get-blocklist"},{"title":"Post blocklist","openapi":"post /blocklist","href":"/v1/blocklist/post-blocklist"},{"title":"Delete blocklist","openapi":"delete /blocklist","href":"/v1/blocklist/delete-blocklist"},{"title":"Post blocklisttoggle","openapi":"post /blocklist/toggle","href":"/v1/blocklist/post-blocklisttoggle"},{"title":"Blocklist count","openapi":"get /blocklist/count","href":"/v1/blocklist/blocklist--count"},{"title":"Blocklist lookup","openapi":"get /blocklist/lookup","href":"/v1/blocklist/blocklist--lookup"},{"title":"Blocklist batch upload","openapi":"post /blocklist/batch","href":"/v1/blocklist/blocklist--batch-upload"},{"title":"Blocklist batch list","openapi":"get /blocklist/batch","href":"/v1/blocklist/blocklist--batch-list"},{"title":"Blocklist batch status","openapi":"get /blocklist/batch/{job_id}","href":"/v1/blocklist/blocklist--batch-status"},{"title":"Blocklist export create","openapi":"post /blocklist/export","href":"/v1/blocklist/blocklist--export-create"},{"title":"Blocklist - Clone Entries","openapi":"post /blocklist/clone","href":"/v1/blocklist/blocklist--clone"}]},{"group":"Routing","pages":[{"title":"Routing - List","openapi":"get /routing","href":"/v1/routing/routing--list"},{"title":"Routing - Create","openapi":"post /routing","href":"/v1/routing/routing--create"},{"title":"Routing - Auth Rate Based","openapi":"post /account/{account_id}/business_profile/{profile_id}/dynamic_routing/success_based/create","href":"/v1/routing/routing--success-based"},{"title":"Routing - Elimination","openapi":"post /account/{account_id}/business_profile/{profile_id}/dynamic_routing/elimination/create","href":"/v1/routing/routing--elimination"},{"title":"Routing - Retrieve Config","openapi":"get /routing/active","href":"/v1/routing/routing--retrieve-config"},{"title":"Routing - Deactivate","openapi":"post /routing/deactivate","href":"/v1/routing/routing--deactivate"},{"title":"Routing - Retrieve Default Config","openapi":"get /routing/default","href":"/v1/routing/routing--retrieve-default-config"},{"title":"Routing - Update Default Config","openapi":"post /routing/default","href":"/v1/routing/routing--update-default-config"},{"title":"Routing - Retrieve Default For Profile","openapi":"get /routing/default/profile","href":"/v1/routing/routing--retrieve-default-for-profile"},{"title":"Routing - Update Default For Profile","openapi":"post /routing/default/profile/{profile_id}","href":"/v1/routing/routing--update-default-for-profile"},{"title":"Routing - Retrieve","openapi":"get /routing/{routing_algorithm_id}","href":"/v1/routing/routing--retrieve"},{"title":"Routing - Activate config","openapi":"post /routing/{routing_algorithm_id}/activate","href":"/v1/routing/routing--activate-config"},{"title":"Routing - Evaluate","openapi":"post /routing/evaluate","href":"/v1/routing/routing--evaluate"},{"title":"Routing - Feedback","openapi":"post /routing/feedback","href":"/v1/routing/routing--feedback"},{"title":"Routing - Rule Evaluate","openapi":"post /routing/rule/evaluate","href":"/v1/routing/routing--rule-evaluate"}]},{"group":"Relay","pages":[{"title":"Relay - Create","openapi":"post /relay","href":"/v1/relay/relay"},{"title":"Relay - Retrieve","openapi":"get /relay/{relay_id}","href":"/v1/relay/relay--retrieve"}]},{"group":"Schemas","pages":[{"title":"Outgoing webhook","href":"/v1/schemas/outgoing--webhook"}]},{"group":"Subscriptions","pages":[{"title":"Subscription - Create","openapi":"post /subscriptions/create","href":"/v1/subscriptions/create"},{"title":"Subscription - Confirm","openapi":"post /subscriptions/{subscription_id}/confirm","href":"/v1/subscriptions/confirm"},{"title":"Subscription - Create and Confirm","openapi":"post /subscriptions","href":"/v1/subscriptions/create-and-confirm"},{"title":"Subscription - Update","openapi":"put /subscriptions/{subscription_id}/update","href":"/v1/subscriptions/update"},{"title":"Subscription - Retrieve","openapi":"get /subscriptions/{subscription_id}","href":"/v1/subscriptions/get"},{"title":"Get plans","href":"/v1/subscriptions/get-plans"},{"title":"Subscription - Get Estimate","openapi":"get /subscriptions/estimate","href":"/v1/subscriptions/estimate"},{"title":"Subscription - Pause Subscription","openapi":"post /subscriptions/{subscription_id}/pause","href":"/v1/subscriptions/pause"},{"title":"Subscription - Resume Subscription","openapi":"post /subscriptions/{subscription_id}/resume","href":"/v1/subscriptions/resume"},{"title":"Subscription - Cancel Subscription","openapi":"post /subscriptions/{subscription_id}/cancel","href":"/v1/subscriptions/cancel"}]}]}]},{"version":"2.0.0 [BETA]","pages":[{"title":"2.0.0 [BETA]","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","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 Gateway","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","description":"Register a new merchant account. The merchant ID is the primary identifier used in all subsequent routing and scoring calls.","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"}]},{"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":"Update Gateway Score - Hyperswitch","buildId":"223f4d0f93b3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DLP13Bsa.js","utils-LK_Rx0Zu.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BSq7eEfK.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bchcwpn2.js","snippetPresets-B-BsDEmk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CNoZnlAG.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DqKAmR6F.js","shallow-Dq5-SwG1.js","getApiPlaygroundDisplay-B6YMrfFr.js","CodeSnippet-DvvqqrVi.js","CodeSnippets-D6Vj56PD.js","Page-03hAnTHd.js","getPastedJson-BKlc8wx2.js","icon-HMNWawTa.js","MethodPill-Dd_Z_kqi.js","DuplicateIcon-DK5o2DOi.js","createIcon-BhUMOhLi.js","DynamicMarkdown-CoGC92CO.js","SectionHeading-K9MvhMbX.js","axios-vUo_bRtp.js","Markdown-DqqHYs0x.js","clsx-DfU2JnNK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C8phz87P.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BVRLOPpC.js"]}