Request bodies are in JSON. The root object is always commande for transaction creation endpoints.
Response format
All responses are in JSON. Fields common to all responses:
Field
Type
Description
response_code
string
"00" = success, "01" = error
token
string
Transaction token (empty on error)
response_text
string
Message or error sub-code (Echec (CodeXX))
wiki
string
URL to the list of sub-codes for this endpoint
response_code: "00" means the API request succeeded, not necessarily that the transaction is completed. Use the status field (via confirm or callback) to know the payment outcome.
Versioning
The LigdiCash API exposes two versions:
Version
Endpoints
Usage
v01
All standard payin and payout endpoints
Mobile money operators and general flow
v02
/pay/v02/debitotp and /pay/v02/debitwallet/withotp
LigdiCash Wallet only
Available endpoints
Hosted payin — create
POST /pay/v01/redirect/checkout-invoice/create
Payin — confirm
GET /pay/v01/redirect/checkout-invoice/confirm
Direct payin — create
POST /pay/v01/straight/checkout-invoice/create
Wallet — send OTP
GET /pay/v02/debitotp/{phone}/{amount}
Wallet — submit payment
POST /pay/v02/debitwallet/withotp
Wallet payout — create
POST /pay/v01/withdrawal/create
Mobile money payout — create
POST /pay/v01/straight/payout
Payout — confirm
GET /pay/v01/withdrawal/confirm/
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LigdiCash","description":"Documentation officielle de LigdiCash — agrégateur de paiement mobile money en Afrique de l'Ouest","colors":{"primary":"#00754B","light":"#00A86B","dark":"#005235"},"logo":{"light":"https://mintcdn.com/ligdicash/6Mlx7qXwPaCOwibS/logo/logo.png?fit=max\u0026auto=format\u0026n=6Mlx7qXwPaCOwibS\u0026q=85\u0026s=f2b2f57228d547b652695a29b8347018","dark":"https://mintcdn.com/ligdicash/6Mlx7qXwPaCOwibS/logo/logo.png?fit=max\u0026auto=format\u0026n=6Mlx7qXwPaCOwibS\u0026q=85\u0026s=f2b2f57228d547b652695a29b8347018"},"favicon":"https://mintcdn.com/ligdicash/6Mlx7qXwPaCOwibS/favicon.ico?fit=max\u0026auto=format\u0026n=6Mlx7qXwPaCOwibS\u0026q=85\u0026s=f431868bb413fb6d7b4aa031d27e6840","navbar":{"links":[{"href":"mailto:support@ligdicash.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://client.ligdicash.com"}},"footer":{"socials":{"website":"https://ligdicash.com"},"links":[{"header":"Produits","items":[{"label":"API de paiement","href":"/api-paiement/vue-ensemble"},{"label":"Paylinks","href":"/autres-produits/paylinks"},{"label":"SMS","href":"/autres-produits/sms"}]},{"header":"Ressources","items":[{"label":"FAQ","href":"/ressources/faq"},{"label":"Glossaire","href":"/ressources/glossaire"},{"label":"Support","href":"/ressources/support"}]}]},"search":{"prompt":"Rechercher dans la documentation..."},"seo":{"metatags":{"og:site_name":"LigdiCash Documentation","og:type":"website"},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Site web LigdiCash","icon":"globe","href":"https://ligdicash.com"},{"anchor":"Dashboard","icon":"gauge","href":"https://client.ligdicash.com"},{"anchor":"Support","icon":"life-ring","href":"mailto:support@ligdicash.com"}]},"languages":[{"language":"fr","href":"essentials/introduction"},{"language":"en","href":"en/getting-started/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ligdicash","hasAudioNarration":false,"actualSubdomain":"ligdicash","customDomains":["developers.ligdicash.com"],"gitSource":{"type":"github","owner":"ligdicash","repo":"ligdicash-mintlify-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae93f136adaf11fe54f39b9:success","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"fr","tag":"Documentation","count":90},{"language":"en","tag":"Documentation","count":90},{"language":"fr","tag":"API de paiement","count":54},{"language":"en","tag":"Payment API","count":54},{"language":"fr","tag":"Payin sans redirection","count":27},{"language":"en","tag":"Direct payin","count":27},{"language":"fr","tag":"Intégration par opérateur","count":23},{"language":"en","tag":"Integration by operator","count":23},{"language":"fr","tag":"Référence API","count":10},{"language":"en","tag":"API Reference","count":10},{"language":"fr","tag":"Concepts fondamentaux","count":9},{"language":"en","tag":"Core concepts","count":9},{"language":"fr","tag":"Le callback (webhook)","count":8},{"language":"en","tag":"Callback (webhook)","count":8},{"language":"fr","tag":"SDK \u0026 Plugins","count":7},{"language":"en","tag":"SDKs \u0026 Plugins","count":7},{"language":"fr","tag":"Payin avec redirection","count":6},{"language":"en","tag":"Hosted payin","count":6},{"language":"fr","tag":"Payout","count":5},{"language":"en","tag":"Payout","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/reference/introduction","slug":"/en/reference/introduction","pageMetadata":{"title":"API Reference","description":"Base URL, required headers, request and response format for all LigdiCash endpoints.","href":"/en/reference/introduction"},"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: \"Base URL, required headers, request and response format for all LigdiCash endpoints.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Note,Table}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`base-url`,children:`Base URL`}),`\n`,_jsx(_components.p,{children:`All endpoints are reachable at:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://app.ligdicash.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`There is no separate sandbox URL. During integration, you use the same URL with the credentials of your temporary account. See `,_jsx(_components.a,{href:`/en/concepts/environments`,children:`Environments`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`required-headers`,children:`Required headers`}),`\n`,_jsx(_components.p,{children:`All requests must include these headers:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Apikey`})}),_jsx(_components.td,{children:`API key of your project`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bearer {API_TOKEN}`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Accept`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`application/json`}),` (POST requests only)`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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://app.ligdicash.com/pay/v01/...`}),_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:` \"Apikey: {API_KEY}\"`}),_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:` \"Authorization: Bearer {API_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: 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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/en/concepts/authentication`,children:`Authentication`}),` to obtain your credentials.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-format`,children:`Request format`}),`\n`,_jsxs(_components.p,{children:[`Request bodies are in JSON. The root object is always `,_jsx(_components.code,{children:`commande`}),` for transaction creation endpoints.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response format`}),`\n`,_jsx(_components.p,{children:`All responses are in JSON. Fields common to all responses:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response_code`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"00\"`}),` = success, `,_jsx(_components.code,{children:`\"01\"`}),` = error`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`token`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Transaction token (empty on error)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response_text`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[`Message or error sub-code (`,_jsx(_components.code,{children:`Echec (CodeXX)`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wiki`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`URL to the list of sub-codes for this endpoint`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`response_code: \"00\"`}),` means the `,_jsx(_components.strong,{children:`API request succeeded`}),`, not necessarily that the transaction is completed. Use the `,_jsx(_components.code,{children:`status`}),` field (via `,_jsx(_components.code,{children:`confirm`}),` or callback) to know the payment outcome.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`versioning`,children:`Versioning`}),`\n`,_jsx(_components.p,{children:`The LigdiCash API exposes two versions:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Version`}),_jsx(_components.th,{children:`Endpoints`}),_jsx(_components.th,{children:`Usage`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`v01`})}),_jsx(_components.td,{children:`All standard payin and payout endpoints`}),_jsx(_components.td,{children:`Mobile money operators and general flow`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`v02`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/pay/v02/debitotp`}),` and `,_jsx(_components.code,{children:`/pay/v02/debitwallet/withotp`})]}),_jsx(_components.td,{children:`LigdiCash Wallet only`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`available-endpoints`,children:`Available endpoints`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Hosted payin — create`,href:`/en/reference/endpoints/payin-redirect-create`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /pay/v01/redirect/checkout-invoice/create`})})}),_jsx(Card,{title:`Payin — confirm`,href:`/en/reference/endpoints/payin-redirect-confirm`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`GET /pay/v01/redirect/checkout-invoice/confirm`})})}),_jsx(Card,{title:`Direct payin — create`,href:`/en/reference/endpoints/payin-straight-create`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /pay/v01/straight/checkout-invoice/create`})})}),_jsx(Card,{title:`Wallet — send OTP`,href:`/en/reference/endpoints/debit-otp`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`GET /pay/v02/debitotp/{phone}/{amount}`})})}),_jsx(Card,{title:`Wallet — submit payment`,href:`/en/reference/endpoints/debit-wallet-with-otp`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /pay/v02/debitwallet/withotp`})})}),_jsx(Card,{title:`Wallet payout — create`,href:`/en/reference/endpoints/withdrawal-create`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /pay/v01/withdrawal/create`})})}),_jsx(Card,{title:`Mobile money payout — create`,href:`/en/reference/endpoints/straight-payout`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /pay/v01/straight/payout`})})}),_jsx(Card,{title:`Payout — confirm`,href:`/en/reference/endpoints/withdrawal-confirm`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`GET /pay/v01/withdrawal/confirm/`})})})]})]})}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":"API Reference","description":"Base URL, required headers, request and response format for all LigdiCash endpoints.","href":"/en/reference/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Base URL","slug":"base-url","depth":2,"children":[]},{"title":"Required headers","slug":"required-headers","depth":2,"children":[]},{"title":"Request format","slug":"request-format","depth":2,"children":[]},{"title":"Response format","slug":"response-format","depth":2,"children":[]},{"title":"Versioning","slug":"versioning","depth":2,"children":[]},{"title":"Available endpoints","slug":"available-endpoints","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ligdicash","siteName":"LigdiCash","title":"API Reference - LigdiCash","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"fr":{"href":"/reference/introduction","matchLevel":1},"en":{"href":"/en/reference/introduction","matchLevel":0}}},"lastModified":"2026-05-12T15:46:25.369Z","originalFileLocation":"en/reference/introduction.mdx","locale":"en"},"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=\"Base URL, required headers, request and response format for all LigdiCash endpoints.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LigdiCash\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_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/ligdicash/-GyaSerpEOEfay6N/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"API Reference - LigdiCash\">\u003cmeta data-mint-head property=\"og:description\" content=\"Base URL, required headers, request and response format for all LigdiCash endpoints.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LigdiCash Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.ligdicash.com/en/reference/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ligdicash.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=API+Reference\u0026amp;description=Base+URL%2C+required+headers%2C+request+and+response+format+for+all+LigdiCash+endpoints.\u0026amp;theme=c1cc823165e528d39b58bf8f\u0026amp;signature=24de1e4e78199e9123c0be8da8d468dbf658d78e4e809bf19110aac9a92b69c2\">\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=\"API Reference - LigdiCash\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Base URL, required headers, request and response format for all LigdiCash endpoints.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ligdicash.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=API+Reference\u0026amp;description=Base+URL%2C+required+headers%2C+request+and+response+format+for+all+LigdiCash+endpoints.\u0026amp;theme=c1cc823165e528d39b58bf8f\u0026amp;signature=24de1e4e78199e9123c0be8da8d468dbf658d78e4e809bf19110aac9a92b69c2\">\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/ligdicash/-GyaSerpEOEfay6N/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LigdiCash\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00754B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.ligdicash.com/en/reference/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/reference/introduction.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developers.ligdicash.com/en/reference/introduction\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://developers.ligdicash.com/reference/introduction\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developers.ligdicash.com/reference/introduction\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.ligdicash.com/#organization\",\"name\":\"LigdiCash\",\"url\":\"https://developers.ligdicash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ligdicash/6Mlx7qXwPaCOwibS/logo/logo.png?fit=max\u0026auto=format\u0026n=6Mlx7qXwPaCOwibS\u0026q=85\u0026s=f2b2f57228d547b652695a29b8347018\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.ligdicash.com#website\",\"name\":\"LigdiCash\",\"url\":\"https://developers.ligdicash.com\",\"publisher\":{\"@id\":\"https://developers.ligdicash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.ligdicash.com/en/reference/introduction#webpage\",\"url\":\"https://developers.ligdicash.com/en/reference/introduction\",\"name\":\"API Reference\",\"description\":\"Base URL, required headers, request and response format for all LigdiCash endpoints.\",\"dateModified\":\"2026-05-12T15:46:25.369Z\",\"isPartOf\":{\"@id\":\"https://developers.ligdicash.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.ligdicash.com/en/reference/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.ligdicash.com/en/reference/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LigdiCash\",\"item\":\"https://developers.ligdicash.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://developers.ligdicash.com/en/reference/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.ligdicash.com/en/reference/introduction#article\",\"headline\":\"API Reference\",\"name\":\"API Reference\",\"description\":\"Base URL, required headers, request and response format for all LigdiCash endpoints.\",\"url\":\"https://developers.ligdicash.com/en/reference/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://developers.ligdicash.com/en/reference/introduction#webpage\"},\"dateModified\":\"2026-05-12T15:46:25.369Z\",\"publisher\":{\"@id\":\"https://developers.ligdicash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.ligdicash.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LigdiCash\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LigdiCash\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/reference/introduction.md","siteName":"LigdiCash","nav":{"global":{"anchors":[{"anchor":"Site web LigdiCash","icon":"globe","href":"https://ligdicash.com"},{"anchor":"Dashboard","icon":"gauge","href":"https://client.ligdicash.com"},{"anchor":"Support","icon":"life-ring","href":"mailto:support@ligdicash.com"}]},"languages":[{"language":"fr","pages":[{"title":"fr","href":"/reference/introduction"}]},{"language":"en","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Reference","pages":[{"title":"API Reference","href":"/en/reference/introduction"},{"title":"Supported operators","description":"Master table of all operators supported by LigdiCash: country, operator_name, validation mode, endpoint, minimum amount.","href":"/en/reference/supported-operators"}]},{"group":"Endpoints — Payin","pages":[{"title":"Create a hosted payin invoice","api":"POST https://app.ligdicash.com/pay/v01/redirect/checkout-invoice/create","href":"/en/reference/endpoints/payin-redirect-create"},{"title":"Verify the status of a payin invoice","api":"GET https://app.ligdicash.com/pay/v01/redirect/checkout-invoice/confirm","href":"/en/reference/endpoints/payin-redirect-confirm"},{"title":"Create a direct payin transaction","api":"POST https://app.ligdicash.com/pay/v01/straight/checkout-invoice/create","href":"/en/reference/endpoints/payin-straight-create"},{"title":"Send LigdiCash Wallet OTP","api":"GET https://app.ligdicash.com/pay/v02/debitotp/{phone_number}/{amount}","href":"/en/reference/endpoints/debit-otp"},{"title":"Submit a LigdiCash Wallet payment","api":"POST https://app.ligdicash.com/pay/v02/debitwallet/withotp","href":"/en/reference/endpoints/debit-wallet-with-otp"}]},{"group":"Endpoints — Payout","pages":[{"title":"Create a wallet payout","api":"POST https://app.ligdicash.com/pay/v01/withdrawal/create","href":"/en/reference/endpoints/withdrawal-create"},{"title":"Create a direct mobile money payout","api":"POST https://app.ligdicash.com/pay/v01/straight/payout","href":"/en/reference/endpoints/straight-payout"},{"title":"Verify the status of a payout","api":"GET https://app.ligdicash.com/pay/v01/withdrawal/confirm/","href":"/en/reference/endpoints/withdrawal-confirm"}]}]}]}]},"basePath":"","title":"API Reference - LigdiCash","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":[],"chunks":[]}