Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.
To start using the Dintero Checkout on your website, you need to create an API client through the Dintero Backoffice.
Step by step-guide
First, log into Backoffice, then follow this interactive slide-show:
Click on settings.
Under API & Integrations click on API clients.
Click on Create new API client.
Click on Checkout client.
Write the URL of your website.
Click on Create new API client.
Remember to Save the credentials, the Client Secret can not be shown again.
Click OK.
The Client is now Created.
Using our plugin
If you’re using our plugin, most of the technical details below are handled automatically. You can skip the following sections unless you’re customizing the integration or coding it yourself.
Authentication
Use your client_id and client_secret to get an access token from the auth endpoint.
Use the token as a Bearer header on all subsequent requests:
Authorization: Bearer {access_token}
Cache the token and only request a new one when it is about to expire, not on every request.
Last modified on September 30, 2026
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Dintero Documentation","colors":{"primary":"#0000FF","light":"#3578e5","dark":"#3578e5"},"logo":{"light":"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/light.svg?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=b4717f47bb69fef03f724e6356c03726","dark":"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/dark.svg?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=54190188f57c764d58061d5a470ad0a4"},"favicon":"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/favicon.png?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=25b7eac359342dc0dabf40fe08ea8cad","api":{"params":{"expanded":"closed"},"examples":{"defaults":"required","languages":["curl","python","javascript","go","java"]},"url":"full"},"appearance":{"default":"light"},"background":{"color":{"dark":"#171717"}},"navbar":{"links":[{"icon":"/mintlify-docs/assets/icons/external-link.svg","href":"https://checkout.demo.dintero.com/","label":"Demo Store"}],"primary":{"type":"button","label":"Get Started","href":"https://onboarding.dintero.com/"}},"seo":{"metatags":{"canonical":"https://docs.dintero.com"}},"integrations":{"cookies":{"key":"cookie_consent","value":"accepted"}},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dintero-c3a7bfec","hasAudioNarration":false,"actualSubdomain":"dintero-c3a7bfec","customDomains":["docs.dintero.com"],"gitSource":{"type":"github","owner":"dintero","repo":"api-spec","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afd942b44e4a89cdf98d841","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API Reference","count":242},{"language":"default","tag":"Payments","count":172},{"language":"default","tag":"Loyalty \u0026 Virtual Cards","count":113},{"language":"default","tag":"Documentation","count":107},{"language":"default","tag":"Partners","count":42},{"language":"default","tag":"Order Management","count":40},{"language":"default","tag":"Developer Resources","count":38},{"language":"default","tag":"Plugins \u0026 Integrations","count":32},{"language":"default","tag":"Support","count":22},{"language":"default","tag":"Payment Methods","count":20}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@dintero.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"mintlify-docs/styles.css","content":".dark #topbar-cta-button span{color:#fff}.method-pill~div .group{margin-left:0!important}@media (min-width: 1280px){#content-container:has(#api-playground-2-operation-page){display:grid!important;grid-template-columns:1fr 28rem!important;gap:0 3rem!important}#content-container:has(#api-playground-2-operation-page)>#content-area{display:contents!important}#api-playground-2-operation-page{display:contents!important}#api-playground-2-operation-page>.space-y-4{display:contents!important}#content-container:has(#api-playground-2-operation-page)>#content-area>*{grid-column:1!important}#content-container:has(#api-playground-2-operation-page)>#content-area>#header{grid-column:1 / -1!important;grid-row:1!important}#api-playground-2-operation-page .border-standard.rounded-2xl{grid-column:1 / -1!important;grid-row:2!important;margin-top:1.5rem!important}#api-playground-2-operation-page .max-h-\\[30rem\\]{display:none!important}#api-playground-2-operation-page>.mdx-content{grid-column:1!important;grid-row:3!important}#content-container:has(#api-playground-2-operation-page)>#content-side-layout{grid-column:2!important;grid-row:3!important;position:sticky!important;top:9.5rem!important;align-self:start!important;max-height:calc(100vh - 11rem)!important;height:auto!important;width:28rem!important;max-width:28rem!important;margin-top:2rem!important;gap:2rem!important}#content-container:has(#api-playground-2-operation-page) #pagination{grid-row:4!important}#content-container:has(#api-playground-2-operation-page) #footer{margin-top:3rem!important;grid-row:5!important}}#content-container:has(#api-playground-2-operation-page) #header p,#content-container:has(#api-playground-2-operation-page) #header a{margin-top:0!important;margin-bottom:12px!important;padding-top:0!important;padding-bottom:0!important;font-size:16px}#content-container:has(#api-playground-2-operation-page) #header ol,#content-container:has(#api-playground-2-operation-page) #header ul,#content-container:has(#api-playground-2-operation-page) #header li{margin-top:6px!important;margin-bottom:8px!important;padding-top:0!important;padding-bottom:0!important;font-size:16px}#content-container:has(#api-playground-2-operation-page) #header h2,#content-container:has(#api-playground-2-operation-page) #header h3,#content-container:has(#api-playground-2-operation-page) #header h4{margin-top:16px!important}#content-container:has(#api-playground-2-operation-page) #header hr{margin:20px 0!important}#content-container h2{margin-bottom:6px}.product-link span{color:var(--tw-prose-links);text-decoration:none;font-weight:600;border-bottom:1px solid rgb(var(--primary));word-wrap:break-word}.dark .product-link span{border-bottom-color:rgb(var(--primary-light))}.product-link:hover span{border-bottom-width:2px}.dark img[src*=\"/mintlify-docs/assets/icons/\"][src*=\".svg\"]{filter:brightness(0) invert(1)}"},{"filePath":"mintlify-docs/logo-display-builder.css","content":":root{--default-radius:8px;--text-paragraph-lg-line-height:28px;--text-paragraph-lg-font-size:18px;--text-paragraph-md-line-height:24px;--text-paragraph-md-font-size:16px;--text-paragraph-sm-line-height:20px;--text-paragraph-sm-font-size:14px;--text-paragraph-xs-line-height:20px;--text-paragraph-xs-font-size:12px;--text-overline-letter-spacing:1px;--text-overline-text-transform:uppercase;--text-overline-font-weight:600;--shadow-xs:0px 1px 2px 0px rgba(16, 24, 40, 0.1);--shadow-sm:0px 1px 3px 0px rgba(16, 24, 40, 0.1),\n\t\t0px 1px 2px 0px rgba(16, 24, 40, 0.06);--shadow-md:0px 4px 6px -1px rgba(16, 24, 40, 0.1),\n\t\t0px 2px 4px -1px rgba(16, 24, 40, 0.06);--shadow-lg:0px 10px 15px -3px rgba(16, 24, 40, 0.1),\n\t\t0px 4px 6px -2px rgba(16, 24, 40, 0.05);--shadow-xlg:0px 8px 10px -6px rgba(16, 24, 40, 0.1),\n\t\t0px 20px 25px -5px rgba(16, 24, 40, 0.1);--blur-none:none;--blur-sm:blur(4px);--blur-md:blur(8px);--blur-lg:blur(12px);--blur-xl:blur(20px);--spacing-xxs:4px;--spacing-xs:8px;--spacing-sm:16px;--spacing-md:24px;--spacing-lg:32px;--spacing-xlg:40px;--spacing-xxlg:48px;--spacing-xxxlg:56px;--spacing-xxxxlg:64px;--border-radius-sm:4px;--border-radius-md:8px;--border-radius-lg:12px;--border-radius-xlg:16px;--border-radius-xxlg:20px;--color-primary-50:#f2f6ff;--color-primary-100:#d9e4ff;--color-primary-200:#bfd1ff;--color-primary-300:#a6baff;--color-primary-400:#6889fe;--color-primary-500:#0000ff;--color-primary-600:#0000df;--color-primary-700:#0000bf;--color-primary-800:#000080;--color-primary-900:#000040;--color-neutral-50:#fafafa;--color-neutral-100:#f5f5f5;--color-neutral-200:#e5e5e5;--color-neutral-300:#d4d4d4;--color-neutral-400:#a3a3a3;--color-neutral-500:#737373;--color-neutral-600:#525252;--color-neutral-700:#404040;--color-neutral-800:#262626;--color-neutral-900:#171717;--color-destructive-50:#fef2f2;--color-destructive-100:#fee2e2;--color-destructive-200:#fecaca;--color-destructive-300:#fca5a5;--color-destructive-400:#f87171;--color-destructive-500:#ef4444;--color-destructive-600:#dc2626;--color-destructive-700:#b91c1c;--color-destructive-800:#991b1b;--color-destructive-900:#7f1d1d;--color-success-50:#f0fdf4;--color-success-100:#dcfce7;--color-success-200:#bbf7d0;--color-success-300:#86efac;--color-success-400:#4ade80;--color-success-500:#22c55e;--color-success-600:#16a34a;--color-success-700:#15803d;--color-success-800:#166534;--color-success-900:#14532d;--color-warning-50:#fffbeb;--color-warning-100:#fef3c7;--color-warning-200:#fde68a;--color-warning-300:#fcd34d;--color-warning-400:#fbbf24;--color-warning-500:#f59e0b;--color-warning-600:#d97706;--color-warning-700:#b45309;--color-warning-800:#92400e;--color-warning-900:#78350f;--color-surface:white;--color-code-surface:var(--color-neutral-900)}@media (prefers-color-scheme: dark){:root{--color-surface:#1f1f1f;--color-code-surface:#0a0a0a;--color-neutral-50:#171717;--color-neutral-100:#1f1f1f;--color-neutral-200:#292929;--color-neutral-300:#404040;--color-neutral-400:#737373;--color-neutral-500:#a3a3a3;--color-neutral-600:#d4d4d4;--color-neutral-700:#e5e5e5;--color-neutral-800:#f5f5f5;--color-neutral-900:#fafafa;--color-primary-50:#0d0d33;--color-primary-100:#1a1a5c;--color-success-50:#0a1a0f;--color-success-100:#0f2a15;--shadow-xs:0px 1px 2px 0px rgba(0, 0, 0, 0.4);--shadow-sm:0px 1px 3px 0px rgba(0, 0, 0, 0.4), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);--shadow-md:0px 4px 6px -1px rgba(0, 0, 0, 0.4), 0px 2px 4px -1px rgba(0, 0, 0, 0.3);--shadow-lg:0px 10px 15px -3px rgba(0, 0, 0, 0.4), 0px 4px 6px -2px rgba(0, 0, 0, 0.2)}}"}],"page":{"pagePath":"docs/checkout/checkout-client","slug":"/docs/checkout/checkout-client","pageMetadata":{"id":"checkout-client","title":"Create an API client","description":"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.","sidebar_label":"API Client","href":"/docs/checkout/checkout-client"},"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: \"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.\"\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`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedFrame,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`To start using the Dintero Checkout on your website, you need to create an API client through the `,_jsx(_components.strong,{children:`Dintero Backoffice`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-by-step-guide`,children:`Step by step-guide`}),`\n`,_jsxs(_components.p,{children:[`First, log into `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`https://backoffice.dintero.com`,children:`Backoffice`})}),`, then follow this interactive slide-show:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Click on `,_jsx(_components.strong,{children:`settings`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Under API \u0026 Integrations click on `,_jsx(_components.strong,{children:`API clients`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click on `,_jsx(_components.strong,{children:`Create new API client`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click on `,_jsx(_components.strong,{children:`Checkout client`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Write the `,_jsx(_components.strong,{children:`URL`}),` of your website.`]}),`\n`,_jsxs(_components.li,{children:[`Click on `,_jsx(_components.strong,{children:`Create new API client`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Remember to `,_jsx(_components.strong,{children:`Save the credentials`}),`, the `,_jsx(_components.strong,{children:`Client Secret`}),` can not be shown again.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`OK`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The Client is now `,_jsx(_components.strong,{children:`Created`}),`.`]}),`\n`]}),`\n`,_jsx(`div`,{style:{position:`relative`,paddingBottom:`calc(57.7714012434242% + 41px)`,height:0,width:`100%`},children:_jsx(OptimizedFrame,{src:`https://demo.arcade.software/ZYZn1cDpEwxbB007nUGZ?embed`,title:`Dintero Backoffice`,frameBorder:`0`,loading:`lazy`,webkitAllowFullScreen:true,mozAllowFullScreen:true,allowFullScreen:true,allow:`clipboard-write`,style:{position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,colorScheme:`dark`}})}),`\n`,_jsx(Heading,{level:`4`,id:`using-our-plugin`,children:`Using our plugin`}),`\n`,_jsx(_components.p,{children:`If you’re using our plugin, most of the technical details below are handled automatically. You can skip the following sections unless you’re customizing the integration or coding it yourself.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Use your `,_jsx(_components.code,{children:`client_id`}),` and `,_jsx(_components.code,{children:`client_secret`}),` to get an access token from the auth endpoint.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.dintero.com/v1/accounts/T12345678/auth/token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"CLIENT_ID:CLIENT_SECRET\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"grant_type\": \"client_credentials\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"audience\": \"https://api.dintero.com/v1/accounts/T12345678\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The response contains an `,_jsx(_components.code,{children:`access_token`}),` and its lifetime in seconds:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"access_token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJhbGci...t7P4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`14400`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use the token as a Bearer header on all subsequent requests:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer {access_token}`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Cache the token and only request a new one when it is about to expire, not on every request.`})})]})}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":{"id":"checkout-client","title":"Create an API client","description":"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.","sidebar_label":"API Client","href":"/docs/checkout/checkout-client"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Step by step-guide","slug":"step-by-step-guide","depth":3,"children":[]},{"title":"Using our plugin","slug":"using-our-plugin","depth":4,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dintero-c3a7bfec/0c27980f89959f8a/scripts/extract-refs.js","/_mintlify/custom/dintero-c3a7bfec/9be648d34348ecd1/scripts/openapi3/convert-to-oa3.js","/_mintlify/custom/dintero-c3a7bfec/acc74eb2f1533c09/scripts/openapi3/convert-to-oa3.test.js","/_mintlify/custom/dintero-c3a7bfec/d1577eed3797a41e/mintlify-docs/cookie-script.js","/_mintlify/custom/dintero-c3a7bfec/ad1f40ff54bd5bfe/mintlify-docs/logo-display-builder.js","/_mintlify/custom/dintero-c3a7bfec/9b750c905d163779/scripts/openapi3/build-operation-map.js","/_mintlify/custom/dintero-c3a7bfec/92de388c069f1bef/scripts/check-broken-links.js","/_mintlify/custom/dintero-c3a7bfec/8ad753e6099cf1b7/scripts/openapi3/build-operation-map.test.js"],"subdomain":"dintero-c3a7bfec","siteName":"Dintero Documentation","title":"Create an API client - Dintero Documentation","contextualStarterQuestions":[{"_id":"6aea1dead2b7d1adb9c2504c","deploymentId":"69d66e893989d4678a7dfb08","questionText":"How do I authenticate requests?","status":"active","generatedBy":"contextual","path":"docs/checkout/checkout-client","createdAt":"2026-11-03T17:46:18.469Z","updatedAt":"2026-11-03T17:46:18.469Z","__v":0},{"_id":"6aea1dead2b7d1adb9c2504a","deploymentId":"69d66e893989d4678a7dfb08","questionText":"How do I create an API client?","status":"active","generatedBy":"contextual","path":"docs/checkout/checkout-client","createdAt":"2026-11-03T17:46:18.469Z","updatedAt":"2026-11-03T17:46:18.469Z","__v":0},{"_id":"6aea1dead2b7d1adb9c2504b","deploymentId":"69d66e893989d4678a7dfb08","questionText":"Where do I find my credentials?","status":"active","generatedBy":"contextual","path":"docs/checkout/checkout-client","createdAt":"2026-11-03T17:46:18.469Z","updatedAt":"2026-11-03T17:46:18.469Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-30T07:58:45.073Z","gitLastModified":"2026-09-30T07:57:21.000Z","originalFileLocation":"docs/checkout/checkout-client.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=\"light\"}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=\"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dintero 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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an API client - Dintero Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dintero Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dintero.com/docs/checkout/checkout-client\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dintero-c3a7bfec.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Create+an+API+client\u0026amp;description=Step-by-step+guide+for+creating+a+Dintero+API+client+in+Backoffice+and+saving+the+client_id+and+client_secret+credentials+safely.\u0026amp;theme=32b11d411eb265d03df273ed\u0026amp;signature=fb3ad09f654169d78ceacbcf954ac5ad839f909e96d9598893fb2ef7f8d2ccf5\">\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=\"Create an API client - Dintero Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dintero-c3a7bfec.mintlify.site/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Create+an+API+client\u0026amp;description=Step-by-step+guide+for+creating+a+Dintero+API+client+in+Backoffice+and+saving+the+client_id+and+client_secret+credentials+safely.\u0026amp;theme=32b11d411eb265d03df273ed\u0026amp;signature=fb3ad09f654169d78ceacbcf954ac5ad839f909e96d9598893fb2ef7f8d2ccf5\">\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/dintero-c3a7bfec/NThyLjsK6njIMKyp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dintero Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0000FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dintero.com/docs/checkout/checkout-client\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/checkout/checkout-client.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dintero.com/#organization\",\"name\":\"Dintero Documentation\",\"url\":\"https://docs.dintero.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dintero-c3a7bfec/D0VX9t09zInvinnk/mintlify-docs/images/light.svg?fit=max\u0026auto=format\u0026n=D0VX9t09zInvinnk\u0026q=85\u0026s=b4717f47bb69fef03f724e6356c03726\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dintero.com#website\",\"name\":\"Dintero Documentation\",\"url\":\"https://docs.dintero.com\",\"publisher\":{\"@id\":\"https://docs.dintero.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dintero.com/docs/checkout/checkout-client#webpage\",\"url\":\"https://docs.dintero.com/docs/checkout/checkout-client\",\"name\":\"Create an API client\",\"description\":\"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.\",\"dateModified\":\"2026-09-30T07:57:21.000Z\",\"isPartOf\":{\"@id\":\"https://docs.dintero.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dintero.com/docs/checkout/checkout-client#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dintero.com/docs/checkout/checkout-client#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting Started\",\"item\":\"https://docs.dintero.com/docs/checkout\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an API client\",\"item\":\"https://docs.dintero.com/docs/checkout/checkout-client\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dintero.com/docs/checkout/checkout-client#article\",\"headline\":\"Create an API client\",\"name\":\"Create an API client\",\"description\":\"Step-by-step guide for creating a Dintero API client in Backoffice and saving the client_id and client_secret credentials safely.\",\"url\":\"https://docs.dintero.com/docs/checkout/checkout-client\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dintero.com/docs/checkout/checkout-client#webpage\"},\"dateModified\":\"2026-09-30T07:57:21.000Z\",\"publisher\":{\"@id\":\"https://docs.dintero.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dintero.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dintero Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dintero Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/checkout/checkout-client.md","siteName":"Dintero Documentation","nav":{"global":null,"products":[{"product":"Payments","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/shopping-cart.svg","description":"Dintero Checkout and In-Person Payments","tabs":[{"tab":" ","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/home.svg","pages":[{"title":" ","href":"/docs"}]},{"tab":"Get started","groups":[{"group":"Getting Started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/sparkles.svg","pages":[{"title":"Payments","sidebarTitle":"Introduction","mode":"wide","href":"/docs/checkout"},{"title":"Quickstart","description":"Go from zero to your first Dintero Checkout payment in minutes. Create credentials, authenticate, build a checkout session, and handle the payment result.","sidebarTitle":"Quickstart","href":"/docs/checkout/quickstart"},{"title":"Create an API client","href":"/docs/checkout/checkout-client"},{"title":"Glossary","description":"Definitions of Dintero terms used across the documentation, including wallet, session, transaction, payment profile, payment product type, split payout, and account ID.","sidebarTitle":"Glossary","href":"/docs/glossary"},{"title":"Model Context Protocol (MCP)","sidebarTitle":"Build with AI Agents (MCP)","href":"/docs/mcp"}]},{"group":"Use Cases","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/light-bulb.svg","pages":[{"title":"Accept payments online","sidebarTitle":"Accept payments online","mode":"wide","href":"/docs/checkout/use-cases/online-checkout"},{"title":"Fast-track returning customer payments","sidebarTitle":"Fast-track returning customers","mode":"wide","href":"/docs/checkout/use-cases/express-checkout"},{"title":"Set up recurring payments","sidebarTitle":"Set up recurring payments","mode":"wide","href":"/docs/checkout/use-cases/subscriptions"},{"title":"Send payment links","sidebarTitle":"Send payment links","mode":"wide","href":"/docs/checkout/use-cases/payment-links"},{"title":"Split payments across sellers","sidebarTitle":"Split payments across sellers","mode":"wide","href":"/docs/checkout/use-cases/marketplace-split-payments"},{"title":"Accept payments in person","sidebarTitle":"Accept payments in person","mode":"wide","href":"/docs/checkout/use-cases/in-person-payments"}]}]},{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/checkout/create-session"}]},{"tab":"Developer Resources","pages":[{"title":"Developer Resources","href":"/docs/checkout/payment-profiles"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/authenticate/aid_auths_oauth_token_post"}]}]},{"product":"Loyalty \u0026 Virtual Cards","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/gift.svg","description":"Customer, discount, receipt, and gift card services","pages":[{"title":"Loyalty \u0026 Virtual Cards","href":"/docs/loyalty/getting-started"}]},{"product":"Order Management","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/cube.svg","description":"Create and manage orders, captures, refunds, and draft orders","pages":[{"title":"Order Management","href":"/docs/order-management/overview"}]},{"product":"Partners","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/hand.svg","description":"Partner management and API access","pages":[{"title":"Partners","href":"/docs/partners/partners"}]},{"product":"Plugins \u0026 Integrations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/puzzle.svg","description":"E-commerce plugins and POS integrations","pages":[{"title":"Plugins \u0026 Integrations","href":"/docs/integrations/plugins"}]},{"product":"API Specifications","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dintero-c3a7bfec/mintlify-docs/assets/icons/code.svg","description":"All API Specifications","hidden":true,"pages":[{"title":"API Specifications","href":"/apps-directory-api/apps/api_apps_directory_app_id_type_sig_get"}]}]},"basePath":"","title":"Create an API client - Dintero Documentation","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":[],"chunks":[]}