Which credential you use depends on the endpoint. The endpoint auth matrix in API keys and authentication lists every endpoint group and the keys it accepts today.See Authentication & credentials for SDK setup, curl examples, and the temporary-token minting endpoint.
Last modified on September 19, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ArcenPay","description":"ArcenPay - Web3 billing and autonomous payment infrastructure. Subscription plans, embedded checkout, payment links, entitlements, and AI agent payments across EVM, Stellar, and Solana.","colors":{"primary":"#0D0D0D","light":"#FAFAFA","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/arcenpay/QxlAGGmfM91vWPZV/images/logo.png?fit=max\u0026auto=format\u0026n=QxlAGGmfM91vWPZV\u0026q=85\u0026s=db4209f029e2989f6ed198f959f4e67a","dark":"https://mintcdn.com/arcenpay/QxlAGGmfM91vWPZV/images/logo-light.png?fit=max\u0026auto=format\u0026n=QxlAGGmfM91vWPZV\u0026q=85\u0026s=d173bb2df66a7d7bfbe823f0ff413ddd"},"favicon":"https://mintcdn.com/arcenpay/qB1-KUDiGqvj8GQo/images/icon.svg?fit=max\u0026auto=format\u0026n=qB1-KUDiGqvj8GQo\u0026q=85\u0026s=68aa60b40d6793acf6b5c4cd67c2ebc6","api":{"openapi":"openapi.yaml"},"appearance":{"default":"system"},"navbar":{"links":[{"href":"/arcenpay-token","label":"Token Live"},{"href":"/llms.txt","label":"LLMs.txt"}],"primary":{"type":"button","label":"Get started","href":"https://app.arcenpay.com"}},"footer":{"socials":{"website":"https://arcenpay.com"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"contextual":{"options":["assistant","copy","view","claude","chatgpt"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"arcenpay","hasAudioNarration":false,"actualSubdomain":"arcenpay","customDomains":["docs.arcenpay.com"],"gitSource":{"type":"github","owner":"arcenpay","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9b5673f287dbf34eb482a","collectionId":"466e931e-f1ef-4b25-b3a1-bbd90aa7c955","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9b5673f287dbf34eb482a"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad9b5673f287dbf34eb482a","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Core concepts","count":18},{"language":"default","tag":"SDK Reference","count":14},{"language":"default","tag":"Invoices","count":12},{"language":"default","tag":"Companies","count":9},{"language":"default","tag":"Autonomous agents","count":8},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"Subscriptions","count":6},{"language":"default","tag":"Agent SDK","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@keyframes slideUpExplorer{0%{transform:translateY(100%);opacity:.85}to{transform:translateY(0);opacity:1}}@keyframes slideDownExplorer{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}#navbar a[href=\"https://www.circle.com/arc\"]{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:0 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(13,13,13,.88)}#navbar a[href=\"https://www.circle.com/arc\"]::before{content:\"\";width:7px;height:7px;border-radius:999px;background:#34d399;box-shadow:0 0 0 3px rgba(52,211,153,.16);flex:0 0 auto}#navbar a[href=\"https://www.circle.com/arc\"] img{height:15px;width:auto;display:block}:root{--arcen-navbar-height:112px}#navbar{z-index:60!important}.z-40.fixed.inset-0:has([data-testid=api-playground-modal]),div.z-40.fixed.inset-0{top:var(--arcen-navbar-height, 112px)!important;height:calc(100dvh - var(--arcen-navbar-height, 112px))!important;padding:0!important;margin:0!important;overflow:hidden!important;z-index:40!important;background:0 0!important}.backdrop-blur-sm,.z-40.fixed.inset-0 .backdrop-blur-sm,.z-40.fixed.inset-0>div.fixed.inset-0,div.fixed.z-0.inset-0,div.fixed.z-0.inset-0.bg-background-dark\\/20{display:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:0!important;background:0 0!important;pointer-events:none!important}.z-40.fixed.inset-0:has(>[data-testid=api-playground-modal].opacity-0),.z-40.fixed.inset-0:has(>div.opacity-0),.z-40.fixed.inset-0:not(:has([data-testid=api-playground-modal])),.z-40.fixed.inset-0[data-closed],.z-40.fixed.inset-0[data-leave]{pointer-events:none!important;display:none!important}[data-testid=api-playground-modal]{position:fixed!important;top:var(--arcen-navbar-height, 112px)!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;max-width:100vw!important;height:calc(100dvh - var(--arcen-navbar-height, 112px))!important;max-height:calc(100dvh - var(--arcen-navbar-height, 112px))!important;margin:0!important;border-radius:0!important;border-top:1px solid rgba(228,228,231,.8)!important;border-left:none!important;border-right:none!important;border-bottom:none!important;box-shadow:0 -4px 24px rgba(0,0,0,.08)!important;animation:slideUpExplorer .28s cubic-bezier(.16,1,.3,1) forwards!important;display:flex!important;flex-direction:column!important;z-index:45!important;overflow-y:auto!important;background:#fff!important}.dark [data-testid=api-playground-modal],html.dark [data-testid=api-playground-modal]{border-top-color:rgba(255,255,255,.1)!important;box-shadow:0 -4px 24px rgba(0,0,0,.35)!important;background:#0d0d0d!important}[data-testid=api-playground-modal].slide-down{animation:slideDownExplorer .2s cubic-bezier(.16,1,.3,1) forwards!important}[data-testid=api-playground-modal]>.sticky{border-bottom:1px solid rgba(255,255,255,.08)!important;padding:14px 28px!important;backdrop-filter:blur(16px)!important;flex-shrink:0!important}[data-testid=api-playground-modal]>.grid{padding:24px 32px!important;flex:1 1 auto!important;max-width:1600px!important;margin:0 auto!important;width:100%!important}.arcen-explorer-close-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;border-radius:10px!important;cursor:pointer!important;transition:all .15s ease!important;background:#f4f4f5!important;color:#18181b!important;border:1px solid #d4d4d8!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;margin-left:10px!important;user-select:none!important}.arcen-explorer-close-btn:hover{background:#e4e4e7!important;color:#09090b!important;border-color:#a1a1aa!important}.arcen-explorer-close-btn:active{transform:scale(.94)!important}.arcen-explorer-close-btn svg{width:16px!important;height:16px!important;stroke:currentColor!important;stroke-width:2.2!important}.dark .arcen-explorer-close-btn,html.dark .arcen-explorer-close-btn{background:#27272a!important;color:#f4f4f5!important;border:1px solid #3f3f46!important;box-shadow:0 1px 2px rgba(0,0,0,.3)!important}.dark .arcen-explorer-close-btn:hover,html.dark .arcen-explorer-close-btn:hover{background:#3f3f46!important;color:#fff!important;border-color:#52525b!important}"}],"page":{"pagePath":"concepts/credentials","slug":"/concepts/credentials","pageMetadata":{"title":"Credentials \u0026 environments","description":"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.","href":"/concepts/credentials"},"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: \"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`ArcenPay credentials follow the same mental model as Stripe: `,_jsx(_components.strong,{children:`what leaks matters less than what it can do`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Credential`}),_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Trust boundary`}),_jsx(_components.th,{children:`Permissions`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Secret key`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sk_live_…`}),` / `,_jsx(_components.code,{children:`sk_test_…`})]}),_jsx(_components.td,{children:`Server only`}),_jsx(_components.td,{children:`Full, or the explicit permission list you assign`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Restricted key`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`rk_live_…`}),` / `,_jsx(_components.code,{children:`rk_test_…`})]}),_jsx(_components.td,{children:`Server only`}),_jsxs(_components.td,{children:[`Only the permissions you grant (e.g. `,_jsx(_components.code,{children:`customers.read`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Publishable key`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pk_live_…`}),` / `,_jsx(_components.code,{children:`pk_test_…`})]}),_jsx(_components.td,{children:`Browser`}),_jsx(_components.td,{children:`Read-only, client-safe endpoints only`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Temporary access token`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`arc_tok_…`})}),_jsx(_components.td,{children:`Browser/embed`}),_jsx(_components.td,{children:`One company, expires in 60–900s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Webhook signing secret`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`whsec_…`})}),_jsx(_components.td,{children:`Your server`}),_jsx(_components.td,{children:`Verify incoming HMAC-SHA256 webhook payloads`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The legacy `,_jsx(_components.code,{children:`api_…`}),` key prefix has been `,_jsx(_components.strong,{children:`removed`}),`. Regenerate any old `,_jsx(_components.code,{children:`api_…`}),` keys as `,_jsx(_components.code,{children:`sk_…`}),` / `,_jsx(_components.code,{children:`rk_…`}),` / `,_jsx(_components.code,{children:`pk_…`}),` — they no longer authenticate anywhere.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`environments`,children:`Environments`}),`\n`,_jsx(_components.p,{children:`Keys are bound to a workspace environment:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Production`}),` environments create `,_jsx(_components.code,{children:`*_live_*`}),` keys (real payments).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Development`}),` environments create `,_jsx(_components.code,{children:`*_test_*`}),` keys (test flows).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`security-invariants`,children:`Security invariants`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Publishable keys never authorize money movement or private reads — endpoints opt in via key-type allow-lists.`}),`\n`,_jsxs(_components.li,{children:[`Server keys are stored as SHA-256 hashes and shown `,_jsx(_components.strong,{children:`once`}),` at creation.`]}),`\n`,_jsx(_components.li,{children:`Restricted keys require at least one permission; secret keys without permissions are full-access.`}),`\n`,_jsxs(_components.li,{children:[`Keys can expire and can be revoked on demand; `,_jsx(_components.code,{children:`lastUsedAt`}),` is tracked.`]}),`\n`,_jsx(_components.li,{children:`Temporary access tokens are minted only with a secret/restricted key and are company-scoped + short-lived.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`which-key-works-where`,children:`Which key works where`}),`\n`,_jsxs(_components.p,{children:[`Which credential you use depends on the endpoint. The `,_jsx(_components.strong,{children:`endpoint auth matrix`}),` in `,_jsx(_components.a,{href:`/api/authentication#which-key-works-where--the-endpoint-auth-matrix`,children:`API keys and authentication`}),` lists every endpoint group and the keys it accepts today.`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api/authentication`,children:`Authentication \u0026 credentials`}),` for SDK setup, curl examples, and the temporary-token minting endpoint.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Credentials \u0026 environments","description":"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.","href":"/concepts/credentials"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Environments","slug":"environments","depth":2,"children":[]},{"title":"Security invariants","slug":"security-invariants","depth":2,"children":[]},{"title":"Which key works where","slug":"which-key-works-where","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/arcenpay/e0014538213b8ff9/playground.js"],"subdomain":"arcenpay","siteName":"ArcenPay","title":"Credentials \u0026 environments - ArcenPay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-04T10:16:36.277Z","gitLastModified":"2026-09-19T20:30:32.000Z","originalFileLocation":"concepts/credentials.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=\"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ArcenPay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_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/arcenpay/Kb4zxWllNJpfwi90/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Credentials \u0026amp; environments - ArcenPay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ArcenPay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.arcenpay.com/concepts/credentials\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://arcenpay.mintlify.app/_mintlify/api/og/v2?division=Core+concepts\u0026amp;title=Credentials+%26+environments\u0026amp;description=Stripe-style+credentials%3A+secret%2C+publishable+and+restricted+keys+with+test%2Flive+prefixes%2C+plus+company-scoped+temporary+access+tokens.\u0026amp;theme=b63c40f4187bc68b07180250\u0026amp;signature=e12b34db04c81a3939faebf5605c4ec1b780cd27219d6ff2ed438b4a72d13bbc\">\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=\"Credentials \u0026amp; environments - ArcenPay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://arcenpay.mintlify.app/_mintlify/api/og/v2?division=Core+concepts\u0026amp;title=Credentials+%26+environments\u0026amp;description=Stripe-style+credentials%3A+secret%2C+publishable+and+restricted+keys+with+test%2Flive+prefixes%2C+plus+company-scoped+temporary+access+tokens.\u0026amp;theme=b63c40f4187bc68b07180250\u0026amp;signature=e12b34db04c81a3939faebf5605c4ec1b780cd27219d6ff2ed438b4a72d13bbc\">\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/arcenpay/Kb4zxWllNJpfwi90/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ArcenPay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D0D0D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.arcenpay.com/concepts/credentials\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/credentials.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.arcenpay.com/#organization\",\"name\":\"ArcenPay\",\"url\":\"https://docs.arcenpay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/arcenpay/QxlAGGmfM91vWPZV/images/logo.png?fit=max\u0026auto=format\u0026n=QxlAGGmfM91vWPZV\u0026q=85\u0026s=db4209f029e2989f6ed198f959f4e67a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.arcenpay.com#website\",\"name\":\"ArcenPay\",\"url\":\"https://docs.arcenpay.com\",\"publisher\":{\"@id\":\"https://docs.arcenpay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.arcenpay.com/concepts/credentials#webpage\",\"url\":\"https://docs.arcenpay.com/concepts/credentials\",\"name\":\"Credentials \u0026 environments\",\"description\":\"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.\",\"dateModified\":\"2026-09-19T20:30:32.000Z\",\"isPartOf\":{\"@id\":\"https://docs.arcenpay.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.arcenpay.com/concepts/credentials#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.arcenpay.com/concepts/credentials#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core concepts\",\"item\":\"https://docs.arcenpay.com/concepts/how-it-works\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Credentials \u0026 environments\",\"item\":\"https://docs.arcenpay.com/concepts/credentials\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.arcenpay.com/concepts/credentials#article\",\"headline\":\"Credentials \u0026 environments\",\"name\":\"Credentials \u0026 environments\",\"description\":\"Stripe-style credentials: secret, publishable and restricted keys with test/live prefixes, plus company-scoped temporary access tokens.\",\"url\":\"https://docs.arcenpay.com/concepts/credentials\",\"mainEntityOfPage\":{\"@id\":\"https://docs.arcenpay.com/concepts/credentials#webpage\"},\"dateModified\":\"2026-09-19T20:30:32.000Z\",\"publisher\":{\"@id\":\"https://docs.arcenpay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.arcenpay.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ArcenPay\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ArcenPay","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Introduction to ArcenPay","href":"/introduction"},{"title":"$ARCENPAY token","sidebarTitle":"$ARCENPAY token","icon":"badge-dollar-sign","tag":"New","href":"/arcenpay-token"},{"title":"Get started with ArcenPay","sidebarTitle":"Quickstart","href":"/quickstart"}]},{"group":"Core concepts","icon":"lightbulb","pages":[{"title":"How ArcenPay works","href":"/concepts/how-it-works"},{"title":"Architecture","href":"/concepts/architecture"},{"title":"Plans: pricing and entitlement anchors","href":"/concepts/plans"},{"title":"Add-ons: extra products on top of plans","href":"/concepts/add-ons"},{"title":"Credits: prepaid usage packs","href":"/concepts/credits"},{"title":"Subscription lifecycle in ArcenPay","href":"/concepts/subscriptions"},{"title":"Feature entitlements and flags","href":"/concepts/entitlements"},{"title":"Feature flags and rules engine","href":"/concepts/feature-flags"},{"title":"Sessions and access tokens","href":"/concepts/sessions"},{"title":"Companies: customer organizations","description":"A company represents a customer organization in ArcenPay. It holds identity fields, plan assignment, entitlements, and users — and is the foundation for all billing and access checks.","href":"/concepts/companies"},{"title":"Credentials \u0026 environments","href":"/concepts/credentials"},{"title":"Invoice builder","description":"Design provider-branded invoices — logos, colors, fonts, watermark — with immutable design snapshots and on-demand PDFs. Available on Plus and Pro.","href":"/concepts/invoice-builder"},{"title":"Checkout, payment links, and sessions","href":"/concepts/checkout"},{"title":"Supported networks \u0026 smart contracts","href":"/concepts/chains"},{"title":"ArcenAuth — Agent Authorization \u0026 Mandates","href":"/concepts/agent-auth"},{"title":"Verify-Then-Settle Escrow","href":"/concepts/escrow"},{"title":"MCP server","href":"/concepts/mcp-server"},{"title":"Environments: development and production","href":"/concepts/environments"}]},{"group":"Guides","icon":"compass","pages":[{"title":"Subscription wall guide","href":"/guides/subscription-wall"},{"title":"Feature gating guide","href":"/guides/feature-gating"},{"title":"Payment links \u0026 agentic checkout","href":"/guides/payment-links"},{"title":"Autonomous agent payments guide","href":"/guides/agent-payments"},{"title":"x402 middleware guide","href":"/guides/x402-middleware"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Webhooks integration","href":"/integrations/webhooks"},{"title":"Embedded components","href":"/integrations/embedded-components"},{"title":"Customer portal","href":"/integrations/customer-portal"}]}]},{"tab":"SDK Reference","icon":"code-2","pages":[{"title":"SDK Reference","href":"/sdk/react/overview"}]},{"tab":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/api/overview"}]}]},"basePath":"","title":"Credentials \u0026 environments - ArcenPay","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}