Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.
{"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":"6af1c16677b2275ecbcccde8","clientVersion":"0.0.4094","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":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"v2/routing/routing--retrieve","slug":"/v2/routing/routing--retrieve","pageMetadata":{"openapi":"get /v2/routing-algorithms/{id}","title":"Routing - Retrieve","description":"Retrieve a routing algorithm with its algorithm id","href":"/v2/routing/routing--retrieve"},"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: \"Retrieve a routing algorithm with its algorithm id\"\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":{"openapi":"get /v2/routing-algorithms/{id}","title":"Routing - Retrieve","description":"Retrieve a routing algorithm with its algorithm id","href":"/v2/routing/routing--retrieve"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Routing"],"summary":"Routing - Retrieve","description":"Retrieve a routing algorithm with its algorithm id","operationId":"Retrieve a routing algorithm with its algorithm id","parameters":["5abacfb4-b855-4fef-8962-91d559a122a5"],"responses":{"200":"1c24a6db-da80-48bf-894c-536ef8ad0628","403":"da229a0e-57be-4a24-bb06-e9d964c03b34","404":"92c3ebe0-d855-4eec-b4cb-a5c8fb23b3ec","500":"ac6a35c8-fe03-4df4-a6c5-9ad39ec4422a"},"security":["57c1fa80-3871-428d-aee6-7153306ca834","a44e5c0b-ec8b-4223-bca8-b90d0120f063"],"method":"get","type":"path","servers":["798369e5-a998-4cd3-a6f3-d6a8770529e0"],"path":"/v2/routing-algorithms/{id}","baseUrlOptions":["https://sandbox.hyperswitch.io"],"title":"Routing - Retrieve","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5abacfb4-b855-4fef-8962-91d559a122a5":{"name":"id","in":"path","description":"The unique identifier for a routing algorithm","required":true,"schema":{"type":"string","isRequired":true,"description":"The unique identifier for a routing algorithm","uniqueKey":"","typeLabel":"string"}}},"responses":{"1c24a6db-da80-48bf-894c-536ef8ad0628":{"description":"Successfully fetched routing algorithm","content":{"application/json":{"schema":{"type":"object","description":"Routing algorithm configuration created for a merchant.\n\nRepresents a fully defined routing strategy scoped to a profile\nand transaction type.","required":["id","profile_id","name","description","algorithm","created_at","modified_at","algorithm_for"],"properties":{"id":{"type":"string","description":"Unique identifier of the routing configuration.\n\nExample:\n```json\n\"routing_abc123\"\n```","example":"routing_abc123","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"profile_id":{"type":"string","description":"Profile ID to which this routing configuration belongs.\n\nExample:\n```json\n\"profile_123\"\n```","example":"profile_123","isRequired":true,"uniqueKey":"profile_id","typeLabel":"string"},"name":{"type":"string","description":"Human-readable name of the routing configuration.\n\nExample:\n```json\n\"default_card_routing\"\n```","example":"default_card_routing","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","description":"Description explaining the purpose of this routing configuration.\n\nExample:\n```json\n\"Primary routing strategy for card payments\"\n```","example":"Primary routing strategy for card payments","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"algorithm":{"oneOf":[{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["single"],"isRequired":true,"uniqueKey":"algorithm.oneOf.0.type","typeLabel":"enum\u003cstring>"},"data":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.0.data.connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.0.data.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.0.data.merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.0.data.merchant_connector_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.0.data","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["priority"],"isRequired":true,"uniqueKey":"algorithm.oneOf.1.type","typeLabel":"enum\u003cstring>"},"data":{"type":"array","items":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.1.data.items.[INDEX].connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.1.data.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.1.data.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.1.data.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"algorithm.oneOf.1.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.1.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["volume_split"],"isRequired":true,"uniqueKey":"algorithm.oneOf.2.type","typeLabel":"enum\u003cstring>"},"data":{"type":"array","items":{"type":"object","required":["connector","split"],"properties":{"connector":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.2.data.items.[INDEX].connector.connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.2.data.items.[INDEX].connector.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.2.data.items.[INDEX].connector.merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.2.data.items.[INDEX].connector.merchant_connector_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.2.data.items.[INDEX].connector","typeLabel":"object"},"split":{"type":"integer","format":"int32","minimum":0,"isRequired":true,"uniqueKey":"algorithm.oneOf.2.data.items.[INDEX].split","typeLabel":"integer\u003cint32>"}},"uniqueKey":"algorithm.oneOf.2.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.2.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.2","typeLabel":"object"},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["advanced"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.type","typeLabel":"enum\u003cstring>"},"data":{"type":"object","description":"The program, having a default connector selection and\na bunch of rules. Also can hold arbitrary metadata.","required":["defaultSelection","rules","metadata"],"properties":{"defaultSelection":{"oneOf":[{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["priority"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.type","typeLabel":"enum\u003cstring>"},"data":{"type":"array","items":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.data.items.[INDEX].connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.data.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.data.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.data.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["volume_split"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.type","typeLabel":"enum\u003cstring>"},"data":{"type":"array","items":{"type":"object","required":["connector","split"],"properties":{"connector":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX].connector.connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX].connector.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX].connector.merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX].connector.merchant_connector_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX].connector","typeLabel":"object"},"split":{"type":"integer","format":"int32","minimum":0,"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX].split","typeLabel":"integer\u003cint32>"}},"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.defaultSelection","typeLabel":"object"},"rules":{"type":"object","description":"Represents a rule\n\n```text\nrule_name: [stripe, adyen, checkout]\n{\npayment.method = card {\npayment.method.cardtype = (credit, debit) {\npayment.method.network = (amex, rupay, diners)\n}\n\npayment.method.cardtype = credit\n}\n}\n```","required":["name","connectorSelection","statements"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.name","typeLabel":"string"},"connectorSelection":{"oneOf":[{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["priority"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.type","typeLabel":"enum\u003cstring>"},"data":{"type":"array","items":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.data.items.[INDEX].connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.data.items.[INDEX].merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.data.items.[INDEX].merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.data.items.[INDEX].merchant_connector_id","typeLabel":"string | null"}},"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["volume_split"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.type","typeLabel":"enum\u003cstring>"},"data":{"type":"array","items":{"type":"object","required":["connector","split"],"properties":{"connector":{"type":"object","description":"Routable Connector chosen for a payment","required":["connector"],"properties":{"connector":{"type":"string","description":"RoutableConnectors are the subset of Connectors that are eligible for payments routing","enum":["absa_sanlam","authipay","adyenplatform","stripe_billing_test","phonypay","fauxpay","pretendpay","stripe_test","adyen_test","checkout_test","paypal_test","aci","adyen","affirm","airwallex","amazonpay","archipel","authorizedotnet","bankofamerica","barclaycard","betterpayment","billwerk","bitpay","bambora","blackhawknetwork","bamboraapac","bluesnap","calida","boku","braintree","breadpay","cashtocode","celero","chargebee","custombilling","checkbook","checkout","citigate","coinbase","coingate","cryptopay","cybersource","cybersourcedecisionmanager","d24","datatrans","deutschebank","digitalvirgo","dlocal","dwolla","ebanx","ecommpay","elavon","elavon_pg","envoy","etisalat","facilitapay","finix","fiserv","fiservemea","fiservcommercehub","fiuu","flexiti","forte","getnet","gigadat","givepayments","globalpay","globalpayments_heartland","globalpayments_realex","globepay","gocardless","gotyme_sanlam","hipay","helcim","hyperpg","iatapay","ilixium","imerchantsolutions","inespay","interpayments","itaubank","jpmorgan","jpmorgan_orbital","klarna","loonio","merchante","mifinity","mollie","moneris","multisafepay","nexinets","nexixpay","nmi","nomupay","noon","nordea","novalnet","nuvei","opennode","paybox","paydotcom","payme","paynearme","payload","payone","paypal","paysafe","paystack","paytm","payconex","payu","peachpayments","payjustnow","payjustnowinstore","phonepe","placetopay","powertranz","prophetpay","rapyd","razorpay","recurly","redsys","revolv3","riskified","saferpay","sanlam_payshield","santander","shift4","signifyd","nsure","silverflow","square","stax","stripe","stripebilling","tesouro","truelayer","trustly","trustpay","trustpayments","tokenio","tsys","tsys_transit","volt","wellsfargo","wise","worldline","worldpay","worldpaymodular","worldpayraft","worldpayvantiv","worldpayxml","xendit","zen","zift","plaid","zsl","juspaythreedsserver","ctp_mastercard","ctp_visa","netcetera","vgs","cardinal","threedsecureio"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX].connector.connector","typeLabel":"enum\u003cstring>"},"merchant_connector_id":{"oneOf":[{"type":"string","uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX].connector.merchant_connector_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX].connector.merchant_connector_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX].connector.merchant_connector_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX].connector","typeLabel":"object"},"split":{"type":"integer","format":"int32","minimum":0,"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX].split","typeLabel":"integer\u003cint32>"}},"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1.data","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.connectorSelection","typeLabel":"object"},"statements":{"type":"array","items":{"type":"object","description":"Represents an IF statement with conditions and optional nested IF statements\n\n```text\npayment.method = card {\npayment.method.cardtype = (credit, debit) {\npayment.method.network = (amex, rupay, diners)\n}\n}\n```","required":["condition"],"properties":{"condition":{"type":"array","items":{"type":"object","description":"Represents a single comparison condition.","required":["lhs","comparison","value","metadata"],"properties":{"lhs":{"type":"string","description":"The left hand side which will always be a domain input identifier like \"payment.method.cardtype\"","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].lhs","typeLabel":"string"},"comparison":{"type":"string","description":"Conditional comparison type","enum":["equal","not_equal","less_than","less_than_equal","greater_than","greater_than_equal"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].comparison","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.0.value","typeLabel":"integer\u003cint64>"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.0","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["enum_variant"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Represents an enum variant","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.1.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.1","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["metadata_variant"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.type","typeLabel":"enum\u003cstring>"},"value":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.value.key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.value.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.value","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["str_value"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.3.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Represents a arbitrary String value","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.3.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.3","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number_array"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4.type","typeLabel":"enum\u003cstring>"},"value":{"type":"array","items":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4.value.items.[INDEX]","typeLabel":"integer\u003cint64>"},"description":"Represents an array of numbers. This is basically used for\n\"one of the given numbers\" operations\neg: payment.method.amount = (1, 2, 3)","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4.value","typeLabel":"integer\u003cint64>[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["enum_variant_array"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5.type","typeLabel":"enum\u003cstring>"},"value":{"type":"array","items":{"type":"string","uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5.value.items.[INDEX]","typeLabel":"string"},"description":"Similar to NumberArray but for enum variants\neg: payment.method.cardtype = (debit, credit)","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5.value","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number_comparison_array"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.type","typeLabel":"enum\u003cstring>"},"value":{"type":"array","items":{"type":"object","description":"Represents a number comparison for \"NumberComparisonArrayValue\"","required":["comparisonType","number"],"properties":{"comparisonType":{"type":"string","description":"Conditional comparison type","enum":["equal","not_equal","less_than","less_than_equal","greater_than","greater_than_equal"],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value.items.[INDEX].comparisonType","typeLabel":"enum\u003cstring>"},"number":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value.items.[INDEX].number","typeLabel":"integer\u003cint64>"}},"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value.items.[INDEX]","typeLabel":"object"},"description":"Like a number array but can include comparisons. Useful for\nconditions like \"500 \u003c amount \u003c 1000\"\neg: payment.amount = (> 500, \u003c 1000)","isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].value","typeLabel":"object"},"metadata":{"type":"object","description":"Additional metadata that the Static Analyzer and Backend does not touch.\nThis can be used to store useful information for the frontend and is required for communication\nbetween the static analyzer and the frontend.","additionalProperties":{"oneOf":[{}],"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].metadata.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].condition","typeLabel":"object[]"},"nested":{"oneOf":[{"type":"array","items":{"$circularRef":"c20d657a-f897-402d-9028-f20e2c883748"},"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].nested.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"c20d657a-f897-402d-9028-f20e2c883748"},"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].nested.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX].nested","typeLabel":"array | null"}},"uniqueKey":"algorithm.oneOf.3.data.rules.statements.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules.statements","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.rules","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"algorithm.oneOf.3.data.metadata.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3.data","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.3","typeLabel":"object"},{"type":"object","required":["type","data"],"properties":{"type":{"type":"string","enum":["three_ds_decision_rule"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.type","typeLabel":"enum\u003cstring>"},"data":{"type":"object","required":["defaultSelection","rules","metadata"],"properties":{"defaultSelection":{"type":"object","description":"Struct representing the output configuration for the 3DS Decision Rule Engine.","required":["decision"],"properties":{"decision":{"type":"string","description":"Enum representing the possible outcomes of the 3DS Decision Rule Engine.","enum":["no_three_ds","challenge_requested","challenge_preferred","no_preference","three_ds_exemption_requested_tra","three_ds_exemption_requested_low_value","issuer_three_ds_exemption_requested"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.defaultSelection.decision","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.defaultSelection","typeLabel":"object"},"rules":{"type":"object","required":["name","connectorSelection","statements"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.name","typeLabel":"string"},"connectorSelection":{"type":"string","description":"Enum representing the possible outcomes of the 3DS Decision Rule Engine.","enum":["no_three_ds","challenge_requested","challenge_preferred","no_preference","three_ds_exemption_requested_tra","three_ds_exemption_requested_low_value","issuer_three_ds_exemption_requested"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.connectorSelection","typeLabel":"enum\u003cstring>"},"statements":{"type":"array","items":{"type":"object","description":"Represents an IF statement with conditions and optional nested IF statements\n\n```text\npayment.method = card {\npayment.method.cardtype = (credit, debit) {\npayment.method.network = (amex, rupay, diners)\n}\n}\n```","required":["condition"],"properties":{"condition":{"type":"array","items":{"type":"object","description":"Represents a single comparison condition.","required":["lhs","comparison","value","metadata"],"properties":{"lhs":{"type":"string","description":"The left hand side which will always be a domain input identifier like \"payment.method.cardtype\"","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].lhs","typeLabel":"string"},"comparison":{"type":"string","description":"Conditional comparison type","enum":["equal","not_equal","less_than","less_than_equal","greater_than","greater_than_equal"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].comparison","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.0.value","typeLabel":"integer\u003cint64>"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.0","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["enum_variant"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.1.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Represents an enum variant","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.1.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.1","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["metadata_variant"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.type","typeLabel":"enum\u003cstring>"},"value":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.value.key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.value.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2.value","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.2","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["str_value"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.3.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Represents a arbitrary String value","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.3.value","typeLabel":"string"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.3","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number_array"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4.type","typeLabel":"enum\u003cstring>"},"value":{"type":"array","items":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4.value.items.[INDEX]","typeLabel":"integer\u003cint64>"},"description":"Represents an array of numbers. This is basically used for\n\"one of the given numbers\" operations\neg: payment.method.amount = (1, 2, 3)","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4.value","typeLabel":"integer\u003cint64>[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.4","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["enum_variant_array"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5.type","typeLabel":"enum\u003cstring>"},"value":{"type":"array","items":{"type":"string","uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5.value.items.[INDEX]","typeLabel":"string"},"description":"Similar to NumberArray but for enum variants\neg: payment.method.cardtype = (debit, credit)","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5.value","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.5","typeLabel":"object"},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number_comparison_array"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.type","typeLabel":"enum\u003cstring>"},"value":{"type":"array","items":{"type":"object","description":"Represents a number comparison for \"NumberComparisonArrayValue\"","required":["comparisonType","number"],"properties":{"comparisonType":{"type":"string","description":"Conditional comparison type","enum":["equal","not_equal","less_than","less_than_equal","greater_than","greater_than_equal"],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value.items.[INDEX].comparisonType","typeLabel":"enum\u003cstring>"},"number":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value.items.[INDEX].number","typeLabel":"integer\u003cint64>"}},"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value.items.[INDEX]","typeLabel":"object"},"description":"Like a number array but can include comparisons. Useful for\nconditions like \"500 \u003c amount \u003c 1000\"\neg: payment.amount = (> 500, \u003c 1000)","isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6.value","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].value","typeLabel":"object"},"metadata":{"type":"object","description":"Additional metadata that the Static Analyzer and Backend does not touch.\nThis can be used to store useful information for the frontend and is required for communication\nbetween the static analyzer and the frontend.","additionalProperties":{"oneOf":[{}],"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].metadata.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].condition","typeLabel":"object[]"},"nested":{"oneOf":[{"type":"array","items":{"$circularRef":"c20d657a-f897-402d-9028-f20e2c883748"},"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].nested.oneOf.0","typeLabel":"array"},{"type":"null","items":{"$circularRef":"c20d657a-f897-402d-9028-f20e2c883748"},"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].nested.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX].nested","typeLabel":"array | null"}},"uniqueKey":"algorithm.oneOf.4.data.rules.statements.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules.statements","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.rules","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"algorithm.oneOf.4.data.metadata.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4.data","typeLabel":"object"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.4","typeLabel":"object"},{"type":"object","required":["decision_engine_configs"],"properties":{"decision_engine_configs":{"type":"object","required":["threshold"],"properties":{"threshold":{"type":"number","format":"double","description":"Threshold for elimination logic in gateway selection","example":0.3,"isRequired":true,"uniqueKey":"algorithm.oneOf.5.decision_engine_configs.threshold","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.5.decision_engine_configs","typeLabel":"object"},"params":{"oneOf":[{"type":"array","items":{"type":"string","enum":["PaymentMethod","PaymentMethodType","AuthenticationType","Currency","Country","CardNetwork","CardBin"],"uniqueKey":"algorithm.oneOf.5.params.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"deprecated":true,"uniqueKey":"algorithm.oneOf.5.params.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","items":{"type":"string","enum":["PaymentMethod","PaymentMethodType","AuthenticationType","Currency","Country","CardNetwork","CardBin"]},"deprecated":true,"uniqueKey":"algorithm.oneOf.5.params.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.5.params","typeLabel":"enum\u003cstring>[] | null"},"elimination_analyser_config":{"oneOf":[{"type":"object","properties":{"bucket_size":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0.bucket_size.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0.bucket_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0.bucket_size","typeLabel":"integer\u003cint64> | null"},"bucket_leak_interval_in_secs":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0.bucket_leak_interval_in_secs.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0.bucket_leak_interval_in_secs.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0.bucket_leak_interval_in_secs","typeLabel":"integer\u003cint64> | null"}},"additionalProperties":false,"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"algorithm.oneOf.5.elimination_analyser_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.5.elimination_analyser_config","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"algorithm.oneOf.5","typeLabel":"object"},{"type":"object","required":["decision_engine_configs"],"properties":{"decision_engine_configs":{"type":"object","description":"Configuration for Decision Engine success rate based routing","properties":{"defaultLatencyThreshold":{"oneOf":[{"type":"number","format":"double","description":"Default latency threshold in percentile for gateway selection","example":90,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultLatencyThreshold.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Default latency threshold in percentile for gateway selection","example":90,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultLatencyThreshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultLatencyThreshold","typeLabel":"number\u003cdouble> | null"},"defaultBucketSize":{"oneOf":[{"type":"integer","format":"int32","description":"Default number of transactions to consider for success rate calculation","example":100,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultBucketSize.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Default number of transactions to consider for success rate calculation","example":100,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultBucketSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultBucketSize","typeLabel":"integer\u003cint32> | null"},"defaultHedgingPercent":{"oneOf":[{"type":"number","format":"double","description":"Default percentage of traffic to route for exploration/hedging","example":5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultHedgingPercent.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Default percentage of traffic to route for exploration/hedging","example":5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultHedgingPercent.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultHedgingPercent","typeLabel":"number\u003cdouble> | null"},"defaultLowerResetFactor":{"oneOf":[{"type":"number","format":"double","description":"Lower reset factor for adjusting gateway scores","example":0.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultLowerResetFactor.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Lower reset factor for adjusting gateway scores","example":0.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultLowerResetFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultLowerResetFactor","typeLabel":"number\u003cdouble> | null"},"defaultUpperResetFactor":{"oneOf":[{"type":"number","format":"double","description":"Upper reset factor for adjusting gateway scores","example":1.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultUpperResetFactor.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Upper reset factor for adjusting gateway scores","example":1.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultUpperResetFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultUpperResetFactor","typeLabel":"number\u003cdouble> | null"},"defaultGatewayExtraScore":{"oneOf":[{"type":"array","items":{"type":"object","required":["gatewayName","gatewaySigmaFactor"],"properties":{"gatewayName":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultGatewayExtraScore.oneOf.0.items.[INDEX].gatewayName","typeLabel":"string"},"gatewaySigmaFactor":{"type":"number","format":"double","isRequired":true,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultGatewayExtraScore.oneOf.0.items.[INDEX].gatewaySigmaFactor","typeLabel":"number\u003cdouble>"}},"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultGatewayExtraScore.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Gateway-specific extra scoring factors","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultGatewayExtraScore.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["gatewayName","gatewaySigmaFactor"],"properties":{"gatewayName":{"type":"string"},"gatewaySigmaFactor":{"type":"number","format":"double"}}},"description":"Gateway-specific extra scoring factors","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultGatewayExtraScore.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.defaultGatewayExtraScore","typeLabel":"object[] | null"},"subLevelInputConfig":{"oneOf":[{"type":"array","items":{"type":"object","description":"Payment method level configuration for success rate based routing","properties":{"paymentMethodType":{"oneOf":[{"type":"string","description":"Payment method type (e.g., \"card\", \"wallet\")","example":"card","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].paymentMethodType.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment method type (e.g., \"card\", \"wallet\")","example":"card","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].paymentMethodType.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].paymentMethodType","typeLabel":"string | null"},"paymentMethod":{"oneOf":[{"type":"string","description":"Specific payment method (e.g., \"credit\", \"debit\")","example":"credit","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].paymentMethod.oneOf.0","typeLabel":"string"},{"type":"null","description":"Specific payment method (e.g., \"credit\", \"debit\")","example":"credit","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].paymentMethod.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].paymentMethod","typeLabel":"string | null"},"latencyThreshold":{"oneOf":[{"type":"number","format":"double","description":"Latency threshold in percentile for this payment method","example":90,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].latencyThreshold.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Latency threshold in percentile for this payment method","example":90,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].latencyThreshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].latencyThreshold","typeLabel":"number\u003cdouble> | null"},"bucketSize":{"oneOf":[{"type":"integer","format":"int32","description":"Number of transactions to consider for this payment method","example":100,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].bucketSize.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Number of transactions to consider for this payment method","example":100,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].bucketSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].bucketSize","typeLabel":"integer\u003cint32> | null"},"hedgingPercent":{"oneOf":[{"type":"number","format":"double","description":"Percentage of traffic to route for exploration for this payment method","example":5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].hedgingPercent.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Percentage of traffic to route for exploration for this payment method","example":5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].hedgingPercent.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].hedgingPercent","typeLabel":"number\u003cdouble> | null"},"lowerResetFactor":{"oneOf":[{"type":"number","format":"double","description":"Lower reset factor for this payment method","example":0.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].lowerResetFactor.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Lower reset factor for this payment method","example":0.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].lowerResetFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].lowerResetFactor","typeLabel":"number\u003cdouble> | null"},"upperResetFactor":{"oneOf":[{"type":"number","format":"double","description":"Upper reset factor for this payment method","example":1.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].upperResetFactor.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Upper reset factor for this payment method","example":1.5,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].upperResetFactor.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].upperResetFactor","typeLabel":"number\u003cdouble> | null"},"gatewayExtraScore":{"oneOf":[{"type":"array","items":{"type":"object","required":["gatewayName","gatewaySigmaFactor"],"properties":{"gatewayName":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].gatewayExtraScore.oneOf.0.items.[INDEX].gatewayName","typeLabel":"string"},"gatewaySigmaFactor":{"type":"number","format":"double","isRequired":true,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].gatewayExtraScore.oneOf.0.items.[INDEX].gatewaySigmaFactor","typeLabel":"number\u003cdouble>"}},"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].gatewayExtraScore.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Gateway-specific extra scoring factors for this payment method","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].gatewayExtraScore.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["gatewayName","gatewaySigmaFactor"],"properties":{"gatewayName":{"type":"string"},"gatewaySigmaFactor":{"type":"number","format":"double"}}},"description":"Gateway-specific extra scoring factors for this payment method","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].gatewayExtraScore.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX].gatewayExtraScore","typeLabel":"object[] | null"}},"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Payment method level specific configurations","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Payment method level configuration for success rate based routing","properties":{"paymentMethodType":{"oneOf":[{"type":"string","description":"Payment method type (e.g., \"card\", \"wallet\")","example":"card"},{"type":"null","description":"Payment method type (e.g., \"card\", \"wallet\")","example":"card"}]},"paymentMethod":{"oneOf":[{"type":"string","description":"Specific payment method (e.g., \"credit\", \"debit\")","example":"credit"},{"type":"null","description":"Specific payment method (e.g., \"credit\", \"debit\")","example":"credit"}]},"latencyThreshold":{"oneOf":[{"type":"number","format":"double","description":"Latency threshold in percentile for this payment method","example":90},{"type":"null","format":"double","description":"Latency threshold in percentile for this payment method","example":90}]},"bucketSize":{"oneOf":[{"type":"integer","format":"int32","description":"Number of transactions to consider for this payment method","example":100},{"type":"null","format":"int32","description":"Number of transactions to consider for this payment method","example":100}]},"hedgingPercent":{"oneOf":[{"type":"number","format":"double","description":"Percentage of traffic to route for exploration for this payment method","example":5},{"type":"null","format":"double","description":"Percentage of traffic to route for exploration for this payment method","example":5}]},"lowerResetFactor":{"oneOf":[{"type":"number","format":"double","description":"Lower reset factor for this payment method","example":0.5},{"type":"null","format":"double","description":"Lower reset factor for this payment method","example":0.5}]},"upperResetFactor":{"oneOf":[{"type":"number","format":"double","description":"Upper reset factor for this payment method","example":1.5},{"type":"null","format":"double","description":"Upper reset factor for this payment method","example":1.5}]},"gatewayExtraScore":{"oneOf":[{"type":"array","items":{"type":"object","required":["gatewayName","gatewaySigmaFactor"],"properties":{"gatewayName":{"type":"string"},"gatewaySigmaFactor":{"type":"number","format":"double"}}},"description":"Gateway-specific extra scoring factors for this payment method"},{"type":"null","items":{"type":"object","required":["gatewayName","gatewaySigmaFactor"],"properties":{"gatewayName":{"type":"string"},"gatewaySigmaFactor":{"type":"number","format":"double"}}},"description":"Gateway-specific extra scoring factors for this payment method"}]}}},"description":"Payment method level specific configurations","uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.decision_engine_configs.subLevelInputConfig","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.6.decision_engine_configs","typeLabel":"object"},"params":{"oneOf":[{"type":"array","items":{"type":"string","enum":["PaymentMethod","PaymentMethodType","AuthenticationType","Currency","Country","CardNetwork","CardBin"],"uniqueKey":"algorithm.oneOf.6.params.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"deprecated":true,"uniqueKey":"algorithm.oneOf.6.params.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","items":{"type":"string","enum":["PaymentMethod","PaymentMethodType","AuthenticationType","Currency","Country","CardNetwork","CardBin"]},"deprecated":true,"uniqueKey":"algorithm.oneOf.6.params.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.params","typeLabel":"enum\u003cstring>[] | null"},"config":{"oneOf":[{"type":"object","properties":{"min_aggregates_size":{"oneOf":[{"type":"integer","format":"int32","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.min_aggregates_size.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.min_aggregates_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.min_aggregates_size","typeLabel":"integer\u003cint32> | null"},"default_success_rate":{"oneOf":[{"type":"number","format":"double","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.default_success_rate.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.default_success_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.default_success_rate","typeLabel":"number\u003cdouble> | null"},"max_aggregates_size":{"oneOf":[{"type":"integer","format":"int32","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.max_aggregates_size.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.max_aggregates_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.max_aggregates_size","typeLabel":"integer\u003cint32> | null"},"current_block_threshold":{"oneOf":[{"type":"object","properties":{"duration_in_mins":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0.duration_in_mins.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0.duration_in_mins.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0.duration_in_mins","typeLabel":"integer\u003cint64> | null"},"max_total_count":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0.max_total_count.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0.max_total_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0.max_total_count","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.current_block_threshold","typeLabel":"object | null"},"specificity_level":{"type":"string","enum":["merchant","global"],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.specificity_level","typeLabel":"enum\u003cstring>"},"exploration_percent":{"oneOf":[{"type":"number","format":"double","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.exploration_percent.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.exploration_percent.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.exploration_percent","typeLabel":"number\u003cdouble> | null"},"shuffle_on_tie_during_exploitation":{"oneOf":[{"type":"boolean","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.shuffle_on_tie_during_exploitation.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"algorithm.oneOf.6.config.oneOf.0.shuffle_on_tie_during_exploitation.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config.oneOf.0.shuffle_on_tie_during_exploitation","typeLabel":"boolean | null"}},"uniqueKey":"algorithm.oneOf.6.config.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"algorithm.oneOf.6.config.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.6.config","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"algorithm.oneOf.6","typeLabel":"object"},{"type":"object","properties":{"config":{"oneOf":[{"type":"object","properties":{"constants":{"oneOf":[{"type":"array","items":{"type":"number","format":"double","uniqueKey":"algorithm.oneOf.7.config.oneOf.0.constants.oneOf.0.items.[INDEX]","typeLabel":"number\u003cdouble>"},"uniqueKey":"algorithm.oneOf.7.config.oneOf.0.constants.oneOf.0","typeLabel":"number\u003cdouble>[]"},{"type":"null","items":{"type":"number","format":"double"},"uniqueKey":"algorithm.oneOf.7.config.oneOf.0.constants.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.7.config.oneOf.0.constants","typeLabel":"number\u003cdouble>[] | null"},"time_scale":{"oneOf":[{"type":"string","enum":["day","month"],"uniqueKey":"algorithm.oneOf.7.config.oneOf.0.time_scale.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"algorithm.oneOf.7.config.oneOf.0.time_scale.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.7.config.oneOf.0.time_scale","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"algorithm.oneOf.7.config.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"algorithm.oneOf.7.config.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.7.config","typeLabel":"object | null"},"label_info":{"oneOf":[{"type":"array","items":{"type":"object","required":["label","target_count","target_time","mca_id"],"properties":{"label":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.0.items.[INDEX].label","typeLabel":"string"},"target_count":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.0.items.[INDEX].target_count","typeLabel":"integer\u003cint64>"},"target_time":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.0.items.[INDEX].target_time","typeLabel":"integer\u003cint64>"},"mca_id":{"type":"string","isRequired":true,"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.0.items.[INDEX].mca_id","typeLabel":"string"}},"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["label","target_count","target_time","mca_id"],"properties":{"label":{"type":"string"},"target_count":{"type":"integer","format":"int64","minimum":0},"target_time":{"type":"integer","format":"int64","minimum":0},"mca_id":{"type":"string"}}},"uniqueKey":"algorithm.oneOf.7.label_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"algorithm.oneOf.7.label_info","typeLabel":"object[] | null"}},"isRequired":true,"uniqueKey":"algorithm.oneOf.7","typeLabel":"object"}],"isRequired":true,"uniqueKey":"algorithm","typeLabel":"object"},"created_at":{"type":"integer","format":"int64","description":"Timestamp (in milliseconds since epoch) when the routing\nconfiguration was created.\n\nExample:\n```json\n1718000000000\n```","example":1718000000000,"isRequired":true,"uniqueKey":"created_at","typeLabel":"integer\u003cint64>"},"modified_at":{"type":"integer","format":"int64","description":"Timestamp (in milliseconds since epoch) when the routing\nconfiguration was last modified.\n\nExample:\n```json\n1718050000000\n```","example":1718050000000,"isRequired":true,"uniqueKey":"modified_at","typeLabel":"integer\u003cint64>"},"algorithm_for":{"type":"string","enum":["payment","payout","three_ds_authentication"],"isRequired":true,"uniqueKey":"algorithm_for","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"routing_abc123","profile_id":"profile_123","name":"default_card_routing","description":"Primary routing strategy for card payments","algorithm":{"type":"single","data":{"connector":"absa_sanlam","merchant_connector_id":"\u003cstring>"}},"created_at":1718000000000,"modified_at":1718050000000,"algorithm_for":"payment"}}},"exampleType":"generated"}},"exampleType":"generated"},"da229a0e-57be-4a24-bb06-e9d964c03b34":{"description":"Forbidden","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"92c3ebe0-d855-4eec-b4cb-a5c8fb23b3ec":{"description":"Resource missing","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ac6a35c8-fe03-4df4-a6c5-9ad39ec4422a":{"description":"Internal server error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"57c1fa80-3871-428d-aee6-7153306ca834":{"api_key":{"type":"apiKey","in":"header","name":"Authorization","description":"Format: `api-key=\u003capi_key>`\n\nUse the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.","scopes":[],"schemeName":"api_key"}},"a44e5c0b-ec8b-4223-bca8-b90d0120f063":{"jwt_key":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"jwt_key"}}},"servers":{"798369e5-a998-4cd3-a6f3-d6a8770529e0":{"url":"https://sandbox.hyperswitch.io","description":"Sandbox Environment"}},"schemas":{"c20d657a-f897-402d-9028-f20e2c883748":{"type":"object","description":"Represents an IF statement with conditions and optional nested IF statements\n\n```text\npayment.method = card {\npayment.method.cardtype = (credit, debit) {\npayment.method.network = (amex, rupay, diners)\n}\n}\n```","required":["condition"],"properties":{"condition":{"type":"array","items":{"type":"object","description":"Represents a single comparison condition.","required":["lhs","comparison","value","metadata"],"properties":{"lhs":{"type":"string","description":"The left hand side which will always be a domain input identifier like \"payment.method.cardtype\"","isRequired":true},"comparison":{"type":"string","description":"Conditional comparison type","enum":["equal","not_equal","less_than","less_than_equal","greater_than","greater_than_equal"],"isRequired":true},"value":{"oneOf":[{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number"],"isRequired":true},"value":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","isRequired":true}},"isRequired":true},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["enum_variant"],"isRequired":true},"value":{"type":"string","description":"Represents an enum variant","isRequired":true}},"isRequired":true},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["metadata_variant"],"isRequired":true},"value":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","isRequired":true},"value":{"type":"string","isRequired":true}},"isRequired":true}},"isRequired":true},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["str_value"],"isRequired":true},"value":{"type":"string","description":"Represents a arbitrary String value","isRequired":true}},"isRequired":true},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number_array"],"isRequired":true},"value":{"type":"array","items":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works"},"description":"Represents an array of numbers. This is basically used for\n\"one of the given numbers\" operations\neg: payment.method.amount = (1, 2, 3)","isRequired":true}},"isRequired":true},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["enum_variant_array"],"isRequired":true},"value":{"type":"array","items":{"type":"string"},"description":"Similar to NumberArray but for enum variants\neg: payment.method.cardtype = (debit, credit)","isRequired":true}},"isRequired":true},{"type":"object","description":"Represents a value in the DSL","required":["type","value"],"properties":{"type":{"type":"string","enum":["number_comparison_array"],"isRequired":true},"value":{"type":"array","items":{"type":"object","description":"Represents a number comparison for \"NumberComparisonArrayValue\"","required":["comparisonType","number"],"properties":{"comparisonType":{"type":"string","description":"Conditional comparison type","enum":["equal","not_equal","less_than","less_than_equal","greater_than","greater_than_equal"],"isRequired":true},"number":{"type":"integer","format":"int64","description":"This Unit struct represents MinorUnit in which core amount works","isRequired":true}}},"description":"Like a number array but can include comparisons. Useful for\nconditions like \"500 \u003c amount \u003c 1000\"\neg: payment.amount = (> 500, \u003c 1000)","isRequired":true}},"isRequired":true}],"isRequired":true},"metadata":{"type":"object","description":"Additional metadata that the Static Analyzer and Backend does not touch.\nThis can be used to store useful information for the frontend and is required for communication\nbetween the static analyzer and the frontend.","additionalProperties":{"oneOf":[{}]},"isRequired":true}}},"isRequired":true},"nested":{"oneOf":[{"type":"array","items":{"oneOf":[{}]}},{"type":"null"}]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Format: `api-key=\u003capi_key>`\n\nUse the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.","scopes":[],"schemeName":"api_key"},"schema":{"title":"Authorization","type":"string","description":"Format: `api-key=\u003capi_key>`\n\nUse the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api_key","name":"Authorization"}],"title":"api_key"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"jwt_key"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"jwt_key","name":"Authorization"}],"title":"jwt_key"}]},"originalFileLocation":"v2/openapi_spec_v2.json"},"subdomain":"juspay-78","siteName":"Hyperswitch","title":"Routing - Retrieve - Hyperswitch","navMaps":{"firstHrefInVersion":{"1.0.0":{"href":"/v1/routing/routing--retrieve","matchLevel":1},"2.0.0":{"href":"/v2/routing/routing--retrieve","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T04:55:59.560Z","originalFileLocation":"v2/routing/routing--retrieve.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=\"Retrieve a routing algorithm with its algorithm id\">\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=\"Routing - Retrieve - Hyperswitch\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a routing algorithm with its algorithm id\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hyperswitch\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve\">\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=Routing\u0026amp;title=Routing+-+Retrieve\u0026amp;description=Retrieve+a+routing+algorithm+with+its+algorithm+id\u0026amp;theme=04960c3cf57346633e90bf0d\u0026amp;signature=34a91fc802dddbadf63f03849b5f67224f30d29c158cdb990cffdbc0f01dac1b\">\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=\"Routing - Retrieve - Hyperswitch\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a routing algorithm with its algorithm id\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://juspay-78.mintlify.site/_mintlify/api/og/v2?division=Routing\u0026amp;title=Routing+-+Retrieve\u0026amp;description=Retrieve+a+routing+algorithm+with+its+algorithm+id\u0026amp;theme=04960c3cf57346633e90bf0d\u0026amp;signature=34a91fc802dddbadf63f03849b5f67224f30d29c158cdb990cffdbc0f01dac1b\">\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/v2/routing/routing--retrieve\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/routing/routing--retrieve.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/v2/routing/routing--retrieve#webpage\",\"url\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve\",\"name\":\"Routing - Retrieve\",\"description\":\"Retrieve a routing algorithm with its algorithm id\",\"dateModified\":\"2026-01-28T04:55:59.560Z\",\"isPartOf\":{\"@id\":\"https://api-reference.hyperswitch.io#website\"},\"breadcrumb\":{\"@id\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Account management APIs [BETA]\",\"item\":\"https://api-reference.hyperswitch.io/v2/organization/organization--create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Routing\",\"item\":\"https://api-reference.hyperswitch.io/v2/routing/routing--create\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Routing - Retrieve\",\"item\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve#apireference\",\"headline\":\"Routing - Retrieve\",\"name\":\"Routing - Retrieve\",\"description\":\"Retrieve a routing algorithm with its algorithm id\",\"url\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve\",\"mainEntityOfPage\":{\"@id\":\"https://api-reference.hyperswitch.io/v2/routing/routing--retrieve#webpage\"},\"dateModified\":\"2026-01-28T04:55:59.560Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Hyperswitch","nav":{"global":null,"tabs":[{"tab":"Documentation","versions":[{"version":"1.0.0","pages":[{"title":"1.0.0","href":"/v1/routing/routing--retrieve"}]},{"version":"2.0.0","groups":[{"group":"Get Started [BETA]","pages":[{"title":"👋 Welcome to Hyperswitch API Reference","sidebarTitle":"Introduction","icon":"rectangle-code","iconType":"solid","href":"/introduction"}]},{"group":"Essentials [BETA]","pages":[{"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 [BETA]","pages":[{"group":"Payments","pages":[{"openapi":"post /v2/payments/create-intent","title":"Payments - Create Intent","href":"/v2/payments/payments--create-intent"},{"openapi":"get /v2/payments/{id}/get-intent","title":"Payments - Get Intent","href":"/v2/payments/payments--get-intent"},{"openapi":"put /v2/payments/{id}/update-intent","title":"Payments - Update Intent","href":"/v2/payments/payments--update-intent"},{"openapi":"post /v2/payments/{payment_id}/create-external-sdk-tokens","title":"Payments - Session token","href":"/v2/payments/payments--session-token"},{"openapi":"get /v2/payments/{id}/payment-methods","title":"Payments - Payment Methods List","href":"/v2/payments/payments--payment-methods-list"},{"openapi":"post /v2/payments/{id}/confirm-intent","title":"Payments - Confirm Intent","href":"/v2/payments/payments--confirm-intent"},{"openapi":"get /v2/payments/{id}","title":"Payments - Get","href":"/v2/payments/payments--get"},{"openapi":"post /v2/payments","title":"Payments - Create and Confirm Intent","href":"/v2/payments/payments--create-and-confirm-intent"},{"openapi":"get /v2/payments/list","title":"Payments - List","href":"/v2/payments/payments--list"},{"openapi":"post /v2/payments/{id}/eligibility/check-balance-and-apply-pm-data","title":"Payments - Check Balance and Apply PM Data","href":"/v2/payments/payments--check-balance-and-apply-pm-data"}]},{"group":"Payment Methods","pages":[{"openapi":"post /v2/payment-methods","title":"Payment Method - Create","href":"/v2/payment-methods/payment-method--create"},{"openapi":"post /v2/payment-methods/create-intent","title":"Payment Method - Create Intent","href":"/v2/payment-methods/payment-method--create-intent"},{"openapi":"post /v2/payment-methods/{id}/confirm-intent","title":"Payment Method - Confirm Intent","href":"/v2/payment-methods/payment-method--confirm-intent"},{"openapi":"put /v2/payment-methods/{id}/update-saved-payment-method","title":"Payment Method - Update","href":"/v2/payment-methods/payment-method--update"},{"openapi":"get /v2/payment-methods/{id}","title":"Payment Method - Retrieve","href":"/v2/payment-methods/payment-method--retrieve"},{"openapi":"delete /v2/payment-methods/{id}","title":"Payment Method - Delete","href":"/v2/payment-methods/payment-method--delete"},{"openapi":"get /v2/customers/{id}/saved-payment-methods","title":"Payment Method - List Customer Saved Payment Methods","href":"/v2/payment-methods/payment-method--list-customer-saved-payment-methods"},{"title":"List saved payment methods for a customer","href":"/v2/payment-methods/list-saved-payment-methods-for-a-customer"}]},{"group":"Network Tokenization","pages":[{"title":"Check network token status","href":"/v2/payment-methods/check-network-token-status"}]},{"group":"Payment Method Session","pages":[{"openapi":"post /v2/payment-method-sessions","title":"Payment Method Session - Create","href":"/v2/payment-method-session/payment-method-session--create"},{"openapi":"get /v2/payment-method-sessions/{id}","title":"Payment Method Session - Retrieve","href":"/v2/payment-method-session/payment-method-session--retrieve"},{"openapi":"get /v2/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"},{"openapi":"put /v2/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"},{"openapi":"post /v2/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"},{"openapi":"delete /v2/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"}]},{"group":"Customers","pages":[{"openapi":"post /v2/customers","title":"Customers - Create","href":"/v2/customers/customers--create"},{"openapi":"get /v2/customers/{id}","title":"Customers - Retrieve","href":"/v2/customers/customers--retrieve"},{"openapi":"get /v2/customers/reference/{merchant_reference_id}","title":"Customers - Retrieve using Merchant Reference ID","href":"/v2/customers/customers--retrieve-by-merchant-reference-id"},{"openapi":"put /v2/customers/{id}","title":"Customers - Update","href":"/v2/customers/customers--update"},{"openapi":"delete /v2/customers/{id}","title":"Customers - Delete","href":"/v2/customers/customers--delete"},{"openapi":"get /v2/customers/list","title":"Customers - List","href":"/v2/customers/customers--list"}]},{"group":"Refunds","pages":[{"openapi":"post /v2/refunds","title":"Refunds - Create","href":"/v2/refunds/refunds--create"},{"openapi":"put /v2/refunds/{id}/update_metadata","title":null,"href":"/v2/refunds/refunds--metadata-update"},{"openapi":"get /v2/refunds/{id}","title":"Refunds - Retrieve","href":"/v2/refunds/refunds--retrieve"},{"openapi":"post /v2/refunds/list","title":"Refunds - List","href":"/v2/refunds/refunds--list"}]}]},{"group":"Account management APIs [BETA]","pages":[{"group":"Organization","pages":[{"openapi":"post /v2/organizations","title":"Organization - Create","href":"/v2/organization/organization--create"},{"openapi":"get /v2/organizations/{id}","title":"Organization - Retrieve","href":"/v2/organization/organization--retrieve"},{"openapi":"put /v2/organizations/{id}","title":"Organization - Update","href":"/v2/organization/organization--update"},{"openapi":"get /v2/organizations/{id}/merchant-accounts","title":"Organization - Merchant Account - List","href":"/v2/organization/organization--merchant-account--list"}]},{"group":"Merchant Account","pages":[{"openapi":"post /v2/merchant-accounts","title":"Merchant Account - Create","href":"/v2/merchant-account/merchant-account--create"},{"openapi":"get /v2/merchant-accounts/{id}","title":"Merchant Account - Retrieve","href":"/v2/merchant-account/merchant-account--retrieve"},{"openapi":"put /v2/merchant-accounts/{id}","title":"Merchant Account - Update","href":"/v2/merchant-account/merchant-account--update"},{"openapi":"get /v2/merchant-accounts/{id}/profiles","title":"Merchant Account - Profile List","href":"/v2/merchant-account/business-profile--list"}]},{"group":"Profile","pages":[{"openapi":"post /v2/profiles","title":"Profile - Create","href":"/v2/profile/profile--create"},{"openapi":"put /v2/profiles/{id}","title":"Profile - Update","href":"/v2/profile/profile--update"},{"openapi":"patch /v2/profiles/{id}/activate-routing-algorithm","title":"Profile - Activate routing algorithm","href":"/v2/profile/profile--activate-routing-algorithm"},{"openapi":"patch /v2/profiles/{id}/fallback-routing","title":"Profile - Update Default Fallback Routing Algorithm","href":"/v2/profile/profile--update-default-fallback-routing-algorithm"},{"openapi":"patch /v2/profiles/{id}/deactivate-routing-algorithm","title":"Profile - Deactivate routing algorithm","href":"/v2/profile/profile--deactivate-routing-algorithm"},{"openapi":"get /v2/profiles/{id}","title":"Profile - Retrieve","href":"/v2/profile/profile--retrieve"},{"openapi":"get /v2/profiles/{id}/connector-accounts","title":"Profile - Connector Accounts List","href":"/v2/profile/merchant-connector--list"},{"openapi":"get /v2/profiles/{id}/routing-algorithm","title":"Profile - Retrieve Active Routing Algorithm","href":"/v2/profile/profile--retrieve-active-routing-algorithm"},{"openapi":"get /v2/profiles/{id}/fallback-routing","title":"Profile - Retrieve Default Fallback Routing Algorithm","href":"/v2/profile/profile--retrieve-default-fallback-routing-algorithm"}]},{"group":"Connector Account","pages":[{"openapi":"post /v2/connector-accounts","title":"Connector Account - Create","href":"/v2/connector-account/connector-account--create"},{"openapi":"get /v2/connector-accounts/{id}","title":"Connector Account - Retrieve","href":"/v2/connector-account/connector-account--retrieve"},{"openapi":"put /v2/connector-accounts/{id}","title":"Connector Account - Update","href":"/v2/connector-account/connector-account--update"}]},{"group":"API Key","pages":[{"openapi":"post /v2/api-keys","title":"API Key - Create","href":"/v2/api-key/api-key--create"},{"openapi":"get /v2/api-keys/{id}","title":"API Key - Retrieve","href":"/v2/api-key/api-key--retrieve"},{"openapi":"put /v2/api-keys/{id}","title":"API Key - Update","href":"/v2/api-key/api-key--update"},{"openapi":"delete /v2/api-keys/{id}","title":"API Key - Revoke","href":"/v2/api-key/api-key--revoke"},{"openapi":"get /v2/api-keys/list","title":"API Key - List","href":"/v2/api-key/api-key--list"}]},{"group":"Routing","pages":[{"openapi":"post /v2/routing-algorithms","title":"Routing - Create","description":"Create a routing algorithm","href":"/v2/routing/routing--create"},{"openapi":"get /v2/routing-algorithms/{id}","title":"Routing - Retrieve","href":"/v2/routing/routing--retrieve"}]}]},{"group":"Other APIs [BETA]","pages":[{"group":"Proxy","pages":[{"openapi":"post /v2/proxy","title":"Proxy","description":"Create a proxy request","href":"/v2/proxy/proxy"}]},{"group":"Tokenization","pages":[{"openapi":"post /v2/tokenize","title":"Tokenization - Create","href":"/v2/tokenization/tokenization--create"}]},{"group":"Schemas","pages":[{"title":null,"href":"/v2/schemas/outgoing--webhook"}]}]},{"group":"Revenue Recovery","pages":[{"openapi":"post /v2/recovery","title":"Revenue Recovery - Create","href":"/v2/revenue-recovery/revenue-recovery--create"},{"openapi":"post /v2/recovery/{merchant_reference_id}/cancel","title":"Revenue Recovery - Cancel","href":"/v2/revenue-recovery/revenue-recovery--cancel"}]}]}]},{"tab":"Locker API Reference","pages":[{"title":"Locker API Reference","href":"/locker-api-reference/overview"}]},{"tab":"Decision Engine API Reference","pages":[{"title":"Decision Engine API Reference","href":"/decision-engine-api-reference/introduction"}]}]},"basePath":"","title":"Routing - Retrieve - Hyperswitch","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}