{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sudo Developer Documentation","colors":{"primary":"#000","light":"#FFF","dark":"#737373"},"logo":{"light":"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/images/333e137-small-sudo-black.png?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=f1abf960ebbfc77f55d8421c9fdbfe16","dark":"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/images/logo-white.svg?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=90e01bf5d44d3867db97f52970f543ec"},"favicon":"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/favicon.svg?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=b913c1ed730c4061e789e41fe2862ed2","api":{"openapi":["openapi.json"],"mdx":{"auth":{"method":"bearer"},"server":["https://api.sandbox.sudo.cards"]}},"navbar":{"links":[{"href":"mailto:root@sudo.africa","label":"Support"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.sudo.africa"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sudoafricainc","hasAudioNarration":false,"actualSubdomain":"sudoafricainc","customDomains":["docs.sudo.africa"],"gitSource":{"type":"github","owner":"sudoafrica","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada1cb71cd014c88d98c536","collectionId":"3e34d7da-5153-46e7-9c5f-d145ff205d52","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada1cb71cd014c88d98c536"},"feedback":{"edits":true},"entitlements":{},"buildId":"6ada1cb71cd014c88d98c536","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Guides","count":39},{"language":"default","tag":"Cards","count":16},{"language":"default","tag":"Webhooks","count":9},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Accounts","count":8},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Simulator (Sandbox Only)","count":6},{"language":"default","tag":"Card Programs","count":6},{"language":"default","tag":"Customers","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".mdx-content :not(pre)>code{margin:0;padding:1px 3px;border-radius:4px}"}],"page":{"pagePath":"reference/simulate-authorization","slug":"/reference/simulate-authorization","pageMetadata":{"openapi":"openapi.json post /cards/simulator/authorization","title":"Simulate Authorization","description":"Simulates different types of authorizations across several merchant categories and channels.","href":"/reference/simulate-authorization"},"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: \"Simulates different types of authorizations across several merchant categories and channels.\"\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":"openapi.json post /cards/simulator/authorization","title":"Simulate Authorization","description":"Simulates different types of authorizations across several merchant categories and channels.","href":"/reference/simulate-authorization"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Simulate Authorization","description":"Simulates different types of authorizations across several merchant categories and channels.","operationId":"simulate-authorization","requestBody":"4bcd2979-a204-4f0e-ae0e-c9b9696083ce","responses":{"200":"fe74b106-e500-4534-9f4d-37c74307db9f","400":"02303f28-5192-4eee-8731-6de963a2985a","401":"56d7e78b-278e-400d-be78-4b2652523793"},"deprecated":false,"method":"post","type":"path","servers":["cf545e2d-d094-497e-b3d3-01d65265413d"],"security":["382c7c40-6f98-4695-a479-e95030640a06"],"path":"/cards/simulator/authorization","baseUrlOptions":["https://api.sandbox.sudo.cards"],"title":"Simulate Authorization","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["cardId","channel","type","amount","currency","merchant"],"properties":{"cardId":{"type":"string","description":"The `_id` of the card.","isRequired":true,"uniqueKey":"cardId","typeLabel":"string"},"channel":{"type":"string","description":"The channel to simulate the authorization on.","default":"web","enum":["web","pos","atm"],"isRequired":true,"uniqueKey":"channel","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"The authorization type.","default":"purchase","enum":["purchase","cash_withdrawal","deposit","transfer","payment"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"The amount to simulate.","format":"float","isRequired":true,"uniqueKey":"amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","description":"The currency type.","default":"NGN","enum":["NGN","USD"],"isRequired":true,"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"merchant":{"type":"object","description":"The merchant information.","required":["category","merchantId","name","city","state","country"],"properties":{"category":{"type":"string","description":"The merchant category","isRequired":true,"uniqueKey":"merchant.category","typeLabel":"string"},"merchantId":{"type":"string","description":"The `_id` of the merchant.","isRequired":true,"uniqueKey":"merchant.merchantId","typeLabel":"string"},"name":{"type":"string","description":"The merchant name.","isRequired":true,"uniqueKey":"merchant.name","typeLabel":"string"},"city":{"type":"string","description":"The city the merchant is located.","isRequired":true,"uniqueKey":"merchant.city","typeLabel":"string"},"state":{"type":"string","description":"The two letter code of the state the merchant is located in.","isRequired":true,"uniqueKey":"merchant.state","typeLabel":"string"},"country":{"type":"string","description":"The two letter code of the country the merchant is located in.","isRequired":true,"uniqueKey":"merchant.country","typeLabel":"string"}},"isRequired":true,"uniqueKey":"merchant","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"cardId":"\u003cstring>","channel":"web","type":"purchase","amount":123,"currency":"NGN","merchant":{"category":"\u003cstring>","merchantId":"\u003cstring>","name":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"fe74b106-e500-4534-9f4d-37c74307db9f":{"description":"Simulated successfully.","headers":{"X-Powered-By":{"schema":{"type":"string"},"example":"Express"},"Access-Control-Allow-Origin":{"schema":{"type":"string"},"example":"*"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"example":"250000"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"example":"249999"},"X-RateLimit-Reset":{"schema":{"type":"integer"},"example":"0"},"Content-Type":{"schema":{"type":"string"},"example":"application/json; charset=utf-8"},"ETag":{"schema":{"type":"string"},"example":"W/\"2dd-sfRBgLV2BqnKnzwqFCi2UGdBgUQ\""},"Connection":{"schema":{"type":"string"},"example":"keep-alive"},"Keep-Alive":{"schema":{"type":"string"},"example":"timeout=5"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","description":"HTTP status code returned by the API.","uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the result.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":200,"message":"Simulated successfully."},"examples":{"Example":{"title":"Example","value":{"statusCode":200,"message":"Simulated successfully."}}},"exampleType":"examples"}},"exampleType":"examples"},"02303f28-5192-4eee-8731-6de963a2985a":{"description":"Validation error.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code for the failed request.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"null","description":"No response payload is returned for an error.","uniqueKey":"data","typeLabel":"null"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":400,"message":"Invalid card id.","data":null},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Invalid card id.","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"56d7e78b-278e-400d-be78-4b2652523793":{"description":"Authentication failed — missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code for the failed request.","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable description of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"null","description":"No response payload is returned for an error.","uniqueKey":"data","typeLabel":"null"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":401,"message":"Unauthorized. Provide a valid API key in the Authorization header.","data":null},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"message":"Unauthorized. Provide a valid API key in the Authorization header.","data":null}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"382c7c40-6f98-4695-a479-e95030640a06":{"sec0":{"type":"apiKey","in":"header","name":"Authorization","x-bearer-format":"bearer","x-default":"{{APIKey}}","scopes":[],"schemeName":"sec0"}}},"servers":{"cf545e2d-d094-497e-b3d3-01d65265413d":{"url":"https://api.sandbox.sudo.cards","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","x-bearer-format":"bearer","x-default":"{{APIKey}}","scopes":[],"schemeName":"sec0"},"schema":{"title":"Authorization","type":"string","isRequired":true,"default":"{{APIKey}}","typeLabel":"string","deprecated":false},"schemeName":"sec0","name":"Authorization"}],"title":"sec0"}]},"originalFileLocation":"openapi.json"},"subdomain":"sudoafricainc","siteName":"Sudo Developer Documentation","title":"Simulate Authorization - Sudo Developer Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-09-25T20:39:43.655Z","originalFileLocation":"reference/simulate-authorization.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=\"Simulates different types of authorizations across several merchant categories and channels.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sudo Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_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/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Simulate Authorization - Sudo Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Simulates different types of authorizations across several merchant categories and channels.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sudo Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sudo.africa/reference/simulate-authorization\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sudoafricainc.mintlify.app/_mintlify/api/og/v2?division=Simulator+%28Sandbox+Only%29\u0026amp;title=Simulate+Authorization\u0026amp;description=Simulates+different+types+of+authorizations+across+several+merchant+categories+and+channels.\u0026amp;theme=41b0407a45f05dc9293b858a\u0026amp;signature=12960b63c55f498ef4519a4c9d9a97cb13329de3e2617c8c2e3e6ac1e5b83d5f\">\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=\"Simulate Authorization - Sudo Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Simulates different types of authorizations across several merchant categories and channels.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sudoafricainc.mintlify.app/_mintlify/api/og/v2?division=Simulator+%28Sandbox+Only%29\u0026amp;title=Simulate+Authorization\u0026amp;description=Simulates+different+types+of+authorizations+across+several+merchant+categories+and+channels.\u0026amp;theme=41b0407a45f05dc9293b858a\u0026amp;signature=12960b63c55f498ef4519a4c9d9a97cb13329de3e2617c8c2e3e6ac1e5b83d5f\">\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/sudoafricainc/oq71R5vBAPrTjBZS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sudo Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sudo.africa/reference/simulate-authorization\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/simulate-authorization.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sudo.africa/#organization\",\"name\":\"Sudo Developer Documentation\",\"url\":\"https://docs.sudo.africa\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sudoafricainc/0rYEZ-verRngCGW6/images/333e137-small-sudo-black.png?fit=max\u0026auto=format\u0026n=0rYEZ-verRngCGW6\u0026q=85\u0026s=f1abf960ebbfc77f55d8421c9fdbfe16\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sudo.africa#website\",\"name\":\"Sudo Developer Documentation\",\"url\":\"https://docs.sudo.africa\",\"publisher\":{\"@id\":\"https://docs.sudo.africa/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sudo.africa/reference/simulate-authorization#webpage\",\"url\":\"https://docs.sudo.africa/reference/simulate-authorization\",\"name\":\"Simulate Authorization\",\"description\":\"Simulates different types of authorizations across several merchant categories and channels.\",\"dateModified\":\"2025-09-25T20:39:43.655Z\",\"isPartOf\":{\"@id\":\"https://docs.sudo.africa#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sudo.africa/reference/simulate-authorization#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sudo.africa/reference/simulate-authorization#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Simulator (Sandbox Only)\",\"item\":\"https://docs.sudo.africa/reference/simulators\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simulate Authorization\",\"item\":\"https://docs.sudo.africa/reference/simulate-authorization\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sudo.africa/reference/simulate-authorization#apireference\",\"headline\":\"Simulate Authorization\",\"name\":\"Simulate Authorization\",\"description\":\"Simulates different types of authorizations across several merchant categories and channels.\",\"url\":\"https://docs.sudo.africa/reference/simulate-authorization\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sudo.africa/reference/simulate-authorization#webpage\"},\"dateModified\":\"2025-09-25T20:39:43.655Z\",\"publisher\":{\"@id\":\"https://docs.sudo.africa/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sudo.africa#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sudo Developer Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sudo Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/getting-started"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/reference/introduction"}]},{"group":"Customers","pages":[{"title":"Overview","href":"/reference/customers"},{"openapi":"openapi.json post /customers","title":"Create Customer","href":"/reference/create-customer"},{"openapi":"openapi.json get /customers","title":"Get Customers","href":"/reference/get-customers"},{"openapi":"openapi.json get /customers/{id}","title":"Get Customer","href":"/reference/get-customer"},{"openapi":"openapi.json put /customers/{id}","title":"Update Customer","href":"/reference/update-customer"},{"openapi":"openapi.json put /customers/{id}/documents/url","title":"Generate Customer Document URL","href":"/reference/generate-customer-document-url"}]},{"group":"Funding Sources","pages":[{"title":"Overview","href":"/reference/funding-sources"},{"openapi":"openapi.json post /fundingsources","title":"Create Funding Source","href":"/reference/create-funding-source"},{"openapi":"openapi.json get /fundingsources","title":"Get Funding Sources","href":"/reference/get-funding-sources"},{"openapi":"openapi.json get /fundingsources/{id}","title":"Get Funding Source","href":"/reference/get-funding-source"},{"openapi":"openapi.json put /fundingsources/{id}","title":"Update Funding Source","href":"/reference/update-funding-source"}]},{"group":"Card Programs","pages":[{"title":"Overview","href":"/reference/card-programs"},{"openapi":"openapi.json post /card-programs","title":"Create Card Program","href":"/reference/create-card-program"},{"openapi":"openapi.json get /card-programs","title":"Get Card Programs","href":"/reference/get-card-programs"},{"openapi":"openapi.json get /card-programs/{id}","title":"Get a Card Program","href":"/reference/get-card-program"},{"openapi":"openapi.json get /card-programs/{id}/cards","title":"Get Cards By a Program","href":"/reference/get-card-program-cards"},{"openapi":"openapi.json patch /card-programs/{id}","title":"Update a Card Program","href":"/reference/update-card-program"}]},{"group":"Cards","pages":[{"title":"Overview","href":"/reference/cards"},{"openapi":"openapi.json post /cards","title":"Create Card","href":"/reference/create-card"},{"openapi":"openapi.json get /cards","title":"Get Cards","href":"/reference/get-cards"},{"openapi":"openapi.json get /cards/customer/{id}","title":"Get Customer Cards","href":"/reference/get-customer-cards"},{"openapi":"openapi.json get /cards/{id}","title":"Get Card","href":"/reference/get-card"},{"openapi":"openapi.json get /cards/{id}/balance","title":"Get Card Balance","href":"/reference/get-card-balance"},{"openapi":"openapi.json put /cards/{id}/send-pin","title":"Send Default Card PIN","href":"/reference/send-default-card-pin"},{"openapi":"openapi.json put /cards/{id}/pin","title":"Change Card PIN","href":"/reference/change-card-pin"},{"openapi":"openapi.json put /cards/{id}/enroll2fa","title":"Enroll Card for 2FA","href":"/reference/enroll-card-for-2fa"},{"openapi":"openapi.json put /cards/{id}","title":"Update Card","href":"/reference/update-card"},{"openapi":"openapi.json get /cards/{id}/token","title":"Generate Card Token","href":"/reference/generate-card-token"},{"openapi":"openapi.json put /cards/digitalize/{id}","title":"Digitalize Card","href":"/reference/card-digitalization"},{"openapi":"openapi.json post /cards/order","title":"Order Cards","href":"/reference/order-cards"}]},{"group":"Accounts","pages":[{"title":"Overview","href":"/reference/accounts"},{"openapi":"openapi.json post /accounts","title":"Create Account","href":"/reference/create-account"},{"openapi":"openapi.json get /accounts","title":"Get Accounts","href":"/reference/get-accounts"},{"openapi":"openapi.json get /accounts/{id}","title":"Get Account","href":"/reference/get-account"},{"openapi":"openapi.json get /accounts/{id}/balance","title":"Get Account Balance","href":"/reference/get-account-balance"},{"openapi":"openapi.json get /accounts/{id}/transactions","title":"Get Account Transactions","href":"/reference/get-account-transactions"},{"openapi":"openapi.json post /accounts/transfer","title":"Fund Transfer","href":"/reference/fund-transfer"},{"openapi":"openapi.json get /accounts/transfer/rate/{currencyPair}","title":"Transfer Rate","href":"/reference/transfer-rate"}]},{"group":"Authorizations","pages":[{"title":"Overview","href":"/reference/authorizations"},{"openapi":"openapi.json get /cards/authorizations","title":"Get Authorizations","href":"/reference/get-authorizations"},{"openapi":"openapi.json get /cards/{id}/authorizations","title":"Get Card Authorizations","href":"/reference/get-card-authorizations"},{"openapi":"openapi.json get /cards/authorizations/{id}","title":"Get Authorization","href":"/reference/get-authorization"},{"openapi":"openapi.json put /cards/authorizations/{id}","title":"Update Authorization","href":"/reference/update-authorization"}]},{"group":"Transactions","pages":[{"title":"Overview","href":"/reference/transactions"},{"openapi":"openapi.json get /cards/transactions","title":"Get Transactions","href":"/reference/get-transactions"},{"openapi":"openapi.json get /cards/{id}/transactions","title":"Get Card Transactions","href":"/reference/get-card-transactions"},{"openapi":"openapi.json get /cards/transactions/{id}","title":"Get Transaction","href":"/reference/get-transaction"},{"openapi":"openapi.json put /cards/transactions/{id}","title":"Update Transaction","href":"/reference/update-transaction"}]},{"group":"Disputes","pages":[{"title":"Overview","href":"/reference/disputes"},{"openapi":"openapi.json post /cards/disputes","title":"Create Dispute","href":"/reference/create-dispute"},{"openapi":"openapi.json get /cards/disputes","title":"Get Disputes","href":"/reference/get-disputes"},{"openapi":"openapi.json get /cards/disputes/{id}","title":"Get Dispute","href":"/reference/get-dispute"},{"openapi":"openapi.json put /cards/disputes/{id}","title":"Update Dispute","href":"/reference/update-dispute"}]},{"group":"Simulator (Sandbox Only)","pages":[{"title":"Overview","href":"/reference/simulators"},{"openapi":"openapi.json post /accounts/simulator/fund","title":"Fund Account","href":"/reference/fund-account"},{"openapi":"openapi.json get /cards/simulator/generate","title":"Generate Test Physical Card","href":"/reference/generate-test-card"},{"openapi":"openapi.json post /cards/simulator/balance_enqiry","title":"Balance Enquiry","description":"Simulates card enquiry for a specific card.","href":"/reference/balance-enquiry"},{"openapi":"openapi.json post /cards/simulator/authorization","title":"Simulate Authorization","href":"/reference/simulate-authorization"},{"openapi":"openapi.json get /cards/simulator/authorization/{id}/reversal","title":"Simulate Authorization Reversal","description":"Simulates different types of authorizations across several merchant categories and channels.","href":"/reference/simulate-authorization-reversal"}]}]}]},"basePath":"","title":"Simulate Authorization - Sudo Developer Documentation","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}