Le secret ne doit jamais quitter vos serveurs. Ne l’embarquez pas dans une application mobile, une page web ou un dépôt Git. Si vous suspectez une fuite, régénérez-le immédiatement.
Le secret est haché en base (bcrypt) : Djonanko ne peut pas vous le renvoyer. Il vous est communiqué une seule fois par SMS, à la création du compte ou à chaque régénération.Endpoints concernés :
Tout le reste (statut d’un paiement, liste des transactions, solde, reversements, rapports, configuration) utilise un JWT obtenu avec les identifiants du dashboard :
Pour un backend qui doit confirmer les paiements côté serveur (recommandé), gardez un jeton marchand en cache et renouvelez-le à réception d’un 401. Le playground de cette documentation vous permet de tester chaque endpoint avec vos propres identifiants.
La plupart des endpoints attendent un paramètre merchant_reference (ou reference) : c’est l’identifiant court choisi à l’inscription (ex. beautyshop). Vous le retrouvez dans l’onglet Développeur du dashboard.
À partir du 25 septembre 2026, seules les adresses IP déclarées dans votre dashboard pourront appeler l’API. Voir le guide de whitelisting IP.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Djonanko Pay","description":"Documentation développeur de Djonanko — passerelle de paiement mobile money et API Guichet d'agrégation cash-in / cash-out pour l'Afrique de l'Ouest et du Centre.","colors":{"primary":"#0B4530","light":"#2E9E6C","dark":"#0B4530"},"logo":{"light":"https://mintcdn.com/djonankopay-docs/Rr5K92EUkagMFr3R/logo/logo.png?fit=max\u0026auto=format\u0026n=Rr5K92EUkagMFr3R\u0026q=85\u0026s=f961216c8371190a9719c1a980393af2","dark":"https://mintcdn.com/djonankopay-docs/Rr5K92EUkagMFr3R/logo/logo.png?fit=max\u0026auto=format\u0026n=Rr5K92EUkagMFr3R\u0026q=85\u0026s=f961216c8371190a9719c1a980393af2","href":"https://djonanko.ci"},"favicon":"https://mintcdn.com/djonankopay-docs/z6VSf5ftVExsHS72/favicon.png?fit=max\u0026auto=format\u0026n=z6VSf5ftVExsHS72\u0026q=85\u0026s=607744a5d7efce8685d526326fbd8abe","api":{"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","javascript","python","php"]}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://pay.djonanko.tech/login","label":"Dashboard marchand"},{"href":"https://www.djonanko.ci/#contact","label":"Support"}],"primary":{"type":"button","label":"Créer un compte","href":"https://pay.djonanko.tech/#register"}},"footer":{"socials":{"website":"https://djonanko.ci"},"links":[{"header":"Produit","items":[{"label":"Dashboard marchand","href":"https://pay.djonanko.tech"},{"label":"Page de paiement","href":"https://checkout.djonanko.ci"}]},{"header":"Ressources","items":[{"label":"Collection Postman","href":"/DjonankoPay.postman_collection.json"},{"label":"Statut de l'API","href":"https://apidjonanko.tech"}]}]},"search":{"prompt":"Rechercher dans la documentation…"},"seo":{"indexing":"all"},"fonts":{"family":"Inter"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"djonankopay-docs","hasAudioNarration":false,"actualSubdomain":"djonankopay-docs","customDomains":["docs.djonanko.ci"],"gitSource":{"type":"github","owner":"oraclerevolution","repo":"djonanko-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6abecbe48a1cc9d59152c1ca","collectionId":"b84c146c-2401-48e7-a89d-69d5ebaa3b8d","liveDeploymentHistoryId":"6abecbe48a1cc9d59152c1ca","schemaVersion":"v3"},"entitlements":{},"buildId":"6abecbe48a1cc9d59152c1ca","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Référence API","count":74},{"language":"default","tag":"API Guichet","count":57},{"language":"default","tag":"Reversements","count":22},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Premiers pas","count":11},{"language":"default","tag":"Paiements","count":10},{"language":"default","tag":"Notifications","count":10},{"language":"default","tag":"Guides d'intégration","count":9},{"language":"default","tag":"Solde \u0026 statistiques","count":8},{"language":"default","tag":"Webhooks","count":8}]},"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":[],"page":{"pagePath":"concepts/authentification","slug":"/concepts/authentification","pageMetadata":{"title":"Authentification","description":"Clé API pour l'intégration serveur, jeton marchand pour les opérations du dashboard.","icon":"key","href":"/concepts/authentification"},"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: \"Clé API pour l’intégration serveur, jeton marchand pour les opérations du dashboard.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Step,Steps,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`L’API Djonanko Pay utilise `,_jsx(_components.strong,{children:`deux mécanismes`}),` d’authentification, selon la nature de l’opération.`]}),`\n`,_jsx(Heading,{level:`2`,id:`clé-api-—-intégration-serveur-à-serveur`,children:`Clé API — intégration serveur à serveur`}),`\n`,_jsxs(_components.p,{children:[`Utilisée pour `,_jsx(_components.strong,{children:`créer des liens de paiement et des QR codes`}),`. Deux en-têtes sont requis :`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`En-tête`}),_jsx(_components.th,{children:`Valeur`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`x-api-key`})}),_jsxs(_components.td,{children:[`Votre clé publique, préfixée `,_jsx(_components.code,{children:`DJN-`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`x-api-secret`})}),_jsx(_components.td,{children:`Votre secret, 64 caractères hexadécimaux`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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://apidjonanko.tech/web-merchant/create-web-payment-link`}),_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:` \"x-api-key: DJN-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"`}),_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:` \"x-api-secret: \u003cvotre_secret>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ...`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Le secret ne doit jamais quitter vos serveurs.`}),` Ne l’embarquez pas dans une application mobile, une page web ou un dépôt Git. Si vous suspectez une fuite, `,_jsx(_components.a,{href:`/guides/rotation-des-cles`,children:`régénérez-le`}),` immédiatement.`]})}),`\n`,_jsxs(_components.p,{children:[`Le secret est haché en base (bcrypt) : Djonanko ne peut pas vous le renvoyer. Il vous est communiqué `,_jsx(_components.strong,{children:`une seule fois`}),` par SMS, à la création du compte ou à chaque régénération.`]}),`\n`,_jsx(_components.p,{children:`Endpoints concernés :`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/paiements/create-web-payment-link`,children:_jsx(_components.code,{children:`POST /web-merchant/create-web-payment-link`})})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`jeton-marchand-—-opérations-du-dashboard`,children:`Jeton marchand — opérations du dashboard`}),`\n`,_jsxs(_components.p,{children:[`Tout le reste (statut d’un paiement, liste des transactions, solde, reversements, rapports, configuration) utilise un `,_jsx(_components.strong,{children:`JWT`}),` obtenu avec les identifiants du dashboard :`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Obtenez un jeton`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://apidjonanko.tech/user/login-merchant`}),_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:` '{ \"numero\": \"0700000000\", \"password\": \"\u003cmot_de_passe>\" }'`})]}),`\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:`\"\u003cjwt>\"`}),_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:` \"refresh_token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"merchant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"userType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MERCHANT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Step,{title:`Passez-le dans l'en-tête authenticationtoken`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,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://apidjonanko.tech/web-merchant/payment/status?payment_reference=PAYR9PVUYEWVF\"`}),_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:` \"authenticationtoken: \u003cjwt>\"`})]}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Le jeton se passe `,_jsx(_components.strong,{children:`tel quel`}),`, sans préfixe `,_jsx(_components.code,{children:`Bearer`}),`.`]})})]})]}),`\n`,_jsxs(_components.p,{children:[`Endpoints concernés : voir la `,_jsx(_components.a,{href:`/api-reference/introduction`,children:`référence API`}),` — chaque page indique l’en-tête attendu.`]}),`\n`,_jsx(Heading,{level:`2`,id:`quel-mécanisme-pour-quel-usage-`,children:`Quel mécanisme pour quel usage ?`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Vous voulez…`}),_jsx(_components.th,{children:`Authentification`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Créer un lien de paiement ou un QR code`}),_jsx(_components.td,{children:`Clé API`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vérifier le statut d’un paiement`}),_jsx(_components.td,{children:`Jeton marchand`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Lister, rechercher, exporter les paiements`}),_jsx(_components.td,{children:`Jeton marchand`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Consulter votre solde et vos statistiques`}),_jsx(_components.td,{children:`Jeton marchand`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Modifier l’URL de webhook, rejouer un webhook`}),_jsx(_components.td,{children:`Jeton marchand`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gérer les reversements et comptes de reversement`}),_jsx(_components.td,{children:`Jeton marchand`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gérer les IPs autorisées`}),_jsx(_components.td,{children:`Jeton marchand`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Régénérer le secret API`}),_jsx(_components.td,{children:`Jeton marchand`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Pour un backend qui doit `,_jsx(_components.strong,{children:`confirmer les paiements côté serveur`}),` (recommandé), gardez un jeton marchand en cache et renouvelez-le à réception d’un `,_jsx(_components.code,{children:`401`}),`. Le playground de cette documentation vous permet de tester chaque endpoint avec vos propres identifiants.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`la-référence-marchand`,children:`La référence marchand`}),`\n`,_jsxs(_components.p,{children:[`La plupart des endpoints attendent un paramètre `,_jsx(_components.code,{children:`merchant_reference`}),` (ou `,_jsx(_components.code,{children:`reference`}),`) : c’est l’identifiant court choisi à l’inscription (ex. `,_jsx(_components.code,{children:`beautyshop`}),`). Vous le retrouvez dans l’onglet `,_jsx(_components.strong,{children:`Développeur`}),` du dashboard.`]}),`\n`,_jsx(Heading,{level:`2`,id:`restriction-par-adresse-ip`,children:`Restriction par adresse IP`}),`\n`,_jsxs(_components.p,{children:[`À partir du `,_jsx(_components.strong,{children:`25 septembre 2026`}),`, seules les adresses IP déclarées dans votre dashboard pourront appeler l’API. Voir le `,_jsx(_components.a,{href:`/guides/ip-whitelisting`,children:`guide de whitelisting IP`}),`.`]})]})}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":"Authentification","description":"Clé API pour l'intégration serveur, jeton marchand pour les opérations du dashboard.","icon":"key","href":"/concepts/authentification"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Clé API — intégration serveur à serveur","slug":"clé-api-—-intégration-serveur-à-serveur","depth":2,"children":[]},{"title":"Jeton marchand — opérations du dashboard","slug":"jeton-marchand-—-opérations-du-dashboard","depth":2,"children":[]},{"title":"Quel mécanisme pour quel usage ?","slug":"quel-mécanisme-pour-quel-usage-","depth":2,"children":[]},{"title":"La référence marchand","slug":"la-référence-marchand","depth":2,"children":[]},{"title":"Restriction par adresse IP","slug":"restriction-par-adresse-ip","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"djonankopay-docs","siteName":"Djonanko Pay","title":"Authentification - Djonanko Pay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-18T03:45:19.048Z","originalFileLocation":"concepts/authentification.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=\"Clé API pour l\u0026#x27;intégration serveur, jeton marchand pour les opérations du dashboard.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Djonanko Pay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_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/djonankopay-docs/HG-Jzgw83hoV1bBX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentification - Djonanko Pay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Clé API pour l\u0026#x27;intégration serveur, jeton marchand pour les opérations du dashboard.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Djonanko Pay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.djonanko.ci/concepts/authentification\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://djonankopay-docs.mintlify.app/_mintlify/api/og/v2?division=Premiers+pas\u0026amp;title=Authentification\u0026amp;description=Cl%C3%A9+API+pour+l%27int%C3%A9gration+serveur%2C+jeton+marchand+pour+les+op%C3%A9rations+du+dashboard.\u0026amp;theme=39ced7b06c9d22cadd858348\u0026amp;signature=909a0285c5ff912d17188ec8fd8a9a84531bf76391dfbfc8964cffa22ff38472\">\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=\"Authentification - Djonanko Pay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Clé API pour l\u0026#x27;intégration serveur, jeton marchand pour les opérations du dashboard.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://djonankopay-docs.mintlify.app/_mintlify/api/og/v2?division=Premiers+pas\u0026amp;title=Authentification\u0026amp;description=Cl%C3%A9+API+pour+l%27int%C3%A9gration+serveur%2C+jeton+marchand+pour+les+op%C3%A9rations+du+dashboard.\u0026amp;theme=39ced7b06c9d22cadd858348\u0026amp;signature=909a0285c5ff912d17188ec8fd8a9a84531bf76391dfbfc8964cffa22ff38472\">\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/djonankopay-docs/HG-Jzgw83hoV1bBX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Djonanko Pay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0B4530\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.djonanko.ci/concepts/authentification\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/authentification.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.djonanko.ci/#organization\",\"name\":\"Djonanko Pay\",\"url\":\"https://docs.djonanko.ci\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/djonankopay-docs/Rr5K92EUkagMFr3R/logo/logo.png?fit=max\u0026auto=format\u0026n=Rr5K92EUkagMFr3R\u0026q=85\u0026s=f961216c8371190a9719c1a980393af2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.djonanko.ci#website\",\"name\":\"Djonanko Pay\",\"url\":\"https://docs.djonanko.ci\",\"publisher\":{\"@id\":\"https://docs.djonanko.ci/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.djonanko.ci/concepts/authentification#webpage\",\"url\":\"https://docs.djonanko.ci/concepts/authentification\",\"name\":\"Authentification\",\"description\":\"Clé API pour l'intégration serveur, jeton marchand pour les opérations du dashboard.\",\"dateModified\":\"2026-09-18T03:45:19.048Z\",\"isPartOf\":{\"@id\":\"https://docs.djonanko.ci#website\"},\"breadcrumb\":{\"@id\":\"https://docs.djonanko.ci/concepts/authentification#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.djonanko.ci/concepts/authentification#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Premiers pas\",\"item\":\"https://docs.djonanko.ci/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentification\",\"item\":\"https://docs.djonanko.ci/concepts/authentification\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.djonanko.ci/concepts/authentification#article\",\"headline\":\"Authentification\",\"name\":\"Authentification\",\"description\":\"Clé API pour l'intégration serveur, jeton marchand pour les opérations du dashboard.\",\"url\":\"https://docs.djonanko.ci/concepts/authentification\",\"mainEntityOfPage\":{\"@id\":\"https://docs.djonanko.ci/concepts/authentification#webpage\"},\"dateModified\":\"2026-09-18T03:45:19.048Z\",\"publisher\":{\"@id\":\"https://docs.djonanko.ci/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.djonanko.ci#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Djonanko Pay\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Djonanko Pay","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Premiers pas","pages":[{"title":"Bienvenue sur Djonanko Pay","sidebarTitle":"Introduction","icon":"hand-wave","href":"/introduction"},{"title":"Démarrage rapide","description":"De la création du compte au premier paiement encaissé, en 5 étapes.","icon":"rocket","href":"/demarrage-rapide"},{"title":"Authentification","icon":"key","href":"/concepts/authentification"},{"title":"Flux de paiement","description":"Le cycle de vie d'un paiement, de la création du lien à la notification, et les statuts possibles.","icon":"route","href":"/concepts/flux-de-paiement"},{"title":"Pays et opérateurs","icon":"globe","href":"/concepts/pays-et-operateurs"},{"title":"Gestion des erreurs","icon":"triangle-exclamation","href":"/concepts/erreurs"}]},{"group":"Guides d'intégration","pages":[{"title":"Créer un lien de paiement","icon":"link","href":"/guides/lien-de-paiement"},{"title":"Paiement par QR code","icon":"qrcode","href":"/guides/qr-code"},{"title":"Vérifier un paiement","icon":"magnifying-glass","href":"/guides/verifier-un-paiement"},{"title":"Webhooks","icon":"bell","href":"/guides/webhooks"},{"title":"Reversements","icon":"money-bill-transfer","href":"/guides/reversements"},{"title":"Whitelisting IP","icon":"network-wired","href":"/guides/ip-whitelisting"},{"title":"Rotation des clés API","icon":"arrows-rotate","href":"/guides/rotation-des-cles"},{"title":"Collection Postman","icon":"flask","href":"/guides/postman"},{"title":"Mise en production","icon":"flag-checkered","href":"/guides/mise-en-production"}]},{"group":"Dashboard marchand","pages":[{"title":"Tableau de bord","icon":"gauge","href":"/dashboard/apercu"},{"title":"Transactions","icon":"credit-card","href":"/dashboard/transactions"},{"title":"Remboursements","icon":"arrows-rotate","href":"/dashboard/remboursements"},{"title":"Gestion des comptes","icon":"landmark","href":"/dashboard/gestion-des-comptes"},{"title":"Rapports mensuels","icon":"file-lines","href":"/dashboard/rapports"},{"title":"Compliance","icon":"shield-check","href":"/dashboard/compliance"},{"title":"Espace Développeur","icon":"code","href":"/dashboard/developpeur"}]}]},{"tab":"Référence API","icon":"code","pages":[{"title":"Référence API","href":"/api-reference/introduction"}]},{"tab":"API Guichet","icon":"arrow-right-arrow-left","pages":[{"title":"API Guichet","href":"/guichet/introduction"}]}]},"basePath":"","title":"Authentification - Djonanko Pay","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}