{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "The service is pending_review: it cannot collect payments in live mode.",
"details": {
"service_status": "pending_review"
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Some fields of the payment are missing or invalid.",
"details": {
"phone_number": "Required: the mobile money number with the country code, digits only, for example 237670000000."
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Some fields of the payment are missing or invalid.",
"details": {
"phone_number": "Required: the mobile money number with the country code, digits only, for example 237670000000."
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
{
"success": false,
"error": {
"code": "OPERATION_FAILED",
"message": "ORANGE_CMR is temporarily unavailable for collections. Offer another operator or try again later.",
"details": {
"failure_code": "operator_unavailable"
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
Encaissements
Demander un paiement
Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme
avec son code PIN. Le résultat arrive par webhook (mobile_money.collection.completed ou .failed).
reference est votre référence unique. Renvoyer la même demande renvoie le même paiement avec 200 :
votre client n’est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée.
webhook_url et callback_url envoyées ici l’emportent sur celles du service.
Renvoie 201 avec le statut processing (ou pending si l’opérateur n’a pas encore répondu : nous vérifions pour vous).
En mode test, le résultat est immédiat (voir Mode test).
{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "The service is pending_review: it cannot collect payments in live mode.",
"details": {
"service_status": "pending_review"
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Some fields of the payment are missing or invalid.",
"details": {
"phone_number": "Required: the mobile money number with the country code, digits only, for example 237670000000."
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Some fields of the payment are missing or invalid.",
"details": {
"phone_number": "Required: the mobile money number with the country code, digits only, for example 237670000000."
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
{
"success": false,
"error": {
"code": "OPERATION_FAILED",
"message": "ORANGE_CMR is temporarily unavailable for collections. Offer another operator or try again later.",
"details": {
"failure_code": "operator_unavailable"
}
},
"meta": {
"request_id": "a4f8e2c1b3d97056",
"timestamp": "2026-10-29T10:00:00+00:00",
"mode": "live"
}
}
Bêta. Ce point d’entrée est en cours de déploiement en production. Bientôt disponible en production : vous pouvez déjà préparer votre intégration avec cette page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"KemyPay API","colors":{"primary":"#15A877","light":"#27E0A0","dark":"#0E8A61"},"api":{"playground":{"display":"interactive","proxy":false}},"navbar":{"links":[{"href":"mailto:hi@kemypay.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://kemypay.com"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Reference","icon":"square-terminal","href":"/api-reference/overview"},{"anchor":"Support","icon":"envelope","href":"mailto:hi@kemypay.com"}]},"languages":[{"language":"en","href":""},{"language":"fr","navbar":{"links":[{"href":"mailto:hi@kemypay.com","label":"Support"}],"primary":{"type":"button","label":"Site web","href":"https://kemypay.com"}},"href":"fr"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kemypay","hasAudioNarration":false,"actualSubdomain":"kemypay","customDomains":["docs.kemypay.com"],"gitSource":{"type":"github","owner":"kemite-group-llc","repo":"docs-kemypay","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae2b282ce38425f644c14b1"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae2b4f9fe390ee50078873f","collectionId":"fa40c33d-160f-4ea6-820a-92e28d92f1a5","liveDeploymentHistoryId":"6ae2b4f9fe390ee50078873f","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae2b4f9fe390ee50078873f","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"en","tag":"API Reference","count":33},{"language":"fr","tag":"Référence de l'API","count":33},{"language":"en","tag":"Guides","count":22},{"language":"fr","tag":"Guides","count":22},{"language":"en","tag":"Services","count":14},{"language":"fr","tag":"Services","count":14},{"language":"en","tag":"Collections","count":10},{"language":"en","tag":"Catalog","count":6},{"language":"fr","tag":"Encaissements","count":5},{"language":"fr","tag":"Collections","count":5},{"language":"en","tag":"Get started","count":4},{"language":"fr","tag":"Démarrage","count":4},{"language":"fr","tag":"Catalogue","count":3},{"language":"fr","tag":"Catalog","count":3},{"language":"en","tag":"Balances","count":2},{"language":"en","tag":"Changelog","count":2},{"language":"en","tag":"Supported Countries","count":2},{"language":"fr","tag":"Journal des changements","count":2},{"language":"fr","tag":"Pays couverts","count":2},{"language":"en","tag":"Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"fr/api-reference/collections/create","slug":"/fr/api-reference/collections/create","pageMetadata":{"title":"Demander un paiement","tag":"BETA","openapi":"fr/openapi.yaml POST /mobile-money/collections","description":"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme\navec son code PIN. Le résultat arrive par webhook (`mobile_money.collection.completed` ou `.failed`).\n\n- `reference` est **votre** référence unique. Renvoyer la même demande renvoie le même paiement avec `200` :\n votre client n'est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée.\n- `webhook_url` et `callback_url` envoyées ici l'emportent sur celles du service.\n- Renvoie `201` avec le statut `processing` (ou `pending` si l'opérateur n'a pas encore répondu : nous vérifions pour vous).\n- En mode test, le résultat est immédiat (voir [Mode test](/fr/test-mode)).\n","href":"/fr/api-reference/collections/create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme\\navec son code PIN. Le résultat arrive par webhook (\", _jsx(_components.code, {\n children: \"mobile_money.collection.completed\"\n }), \" ou \", _jsx(_components.code, {\n children: \".failed\"\n }), \").\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"reference\"\n }), \" est \", _jsx(_components.strong, {\n children: \"votre\"\n }), \" référence unique. Renvoyer la même demande renvoie le même paiement avec \", _jsx(_components.code, {\n children: \"200\"\n }), \" :\\nvotre client n’est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"webhook_url\"\n }), \" et \", _jsx(_components.code, {\n children: \"callback_url\"\n }), \" envoyées ici l’emportent sur celles du service.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Renvoie \", _jsx(_components.code, {\n children: \"201\"\n }), \" avec le statut \", _jsx(_components.code, {\n children: \"processing\"\n }), \" (ou \", _jsx(_components.code, {\n children: \"pending\"\n }), \" si l’opérateur n’a pas encore répondu : nous vérifions pour vous).\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"En mode test, le résultat est immédiat (voir \", _jsx(_components.a, {\n href: \"/fr/test-mode\",\n children: \"Mode test\"\n }), \").\"]\n }), \"\\n\"]\n })]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Warning}=_components;if(!Warning)_missingMdxReference(`Warning`,true);return _jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Bêta.`}),` Ce point d’entrée est en cours de déploiement en production. Bientôt disponible en production : vous pouvez déjà préparer votre intégration avec cette page.`]})})}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":"Demander un paiement","tag":"BETA","openapi":"fr/openapi.yaml POST /mobile-money/collections","description":"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme\navec son code PIN. Le résultat arrive par webhook (`mobile_money.collection.completed` ou `.failed`).\n\n- `reference` est **votre** référence unique. Renvoyer la même demande renvoie le même paiement avec `200` :\n votre client n'est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée.\n- `webhook_url` et `callback_url` envoyées ici l'emportent sur celles du service.\n- Renvoie `201` avec le statut `processing` (ou `pending` si l'opérateur n'a pas encore répondu : nous vérifions pour vous).\n- En mode test, le résultat est immédiat (voir [Mode test](/fr/test-mode)).\n","href":"/fr/api-reference/collections/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createCollection","tags":["Collections"],"summary":"Demander un paiement (bêta)","description":"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme\navec son code PIN. Le résultat arrive par webhook (`mobile_money.collection.completed` ou `.failed`).\n\n- `reference` est **votre** référence unique. Renvoyer la même demande renvoie le même paiement avec `200` :\n votre client n'est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée.\n- `webhook_url` et `callback_url` envoyées ici l'emportent sur celles du service.\n- Renvoie `201` avec le statut `processing` (ou `pending` si l'opérateur n'a pas encore répondu : nous vérifions pour vous).\n- En mode test, le résultat est immédiat (voir [Mode test](/fr/test-mode)).\n","requestBody":"5d8dd7d5-a7f7-4f28-89fd-205e3dc359f7","responses":{"200":"4a1b605a-2cbc-4dc6-817d-57ba2e9b3d92","201":"d5858fd7-29ba-4882-9953-0ee196ac7bf4","403":"7be6e4a7-0bcb-47e7-a2ad-c02b21541f49","404":"70b7cedb-7e76-4d90-8bf3-b58205efda0f","422":"58b7bbcf-6ea7-4746-a04b-f0025200058e","503":"b6b436e8-6e0c-442b-934e-39d7fff7745a"},"method":"post","type":"path","servers":["b2798ba0-2e5a-4006-9b6b-5924c735b789"],"security":["cc41c1b2-f077-4ec7-90c4-d0ca0aafd0be"],"path":"/mobile-money/collections","baseUrlOptions":["https://api.kemypay.com/v1"],"title":"Demander un paiement (bêta)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["service","amount","currency","phone_number","reference"],"properties":{"service":{"type":"string","format":"uuid","description":"Le code du service qui encaisse.","example":"019a8f2e-4c1b-7d3a-9e55-2b6f0c1d8a47","isRequired":true,"uniqueKey":"service","typeLabel":"string\u003cuuid>"},"amount":{"type":"string","description":"La valeur de la marchandise, en chaîne. Respectez les `decimals` de l'opérateur.","example":"1000","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"currency":{"type":"string","example":"XAF","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"phone_number":{"type":"string","description":"Numéro mobile money avec l'indicatif du pays. Les espaces, tirets et `+` sont retirés.","example":"237670000000","isRequired":true,"uniqueKey":"phone_number","typeLabel":"string"},"reference":{"type":"string","description":"Votre propre référence unique (1 à 100 lettres, chiffres, `.` `_` `:` `-`). Permet de renvoyer l'appel sans risque.","example":"order-2026-10-29-0001","isRequired":true,"uniqueKey":"reference","typeLabel":"string"},"country":{"type":"string","description":"Vérification facultative. Refusé si l'opérateur est dans un autre pays.","example":"CMR","uniqueKey":"country","typeLabel":"string"},"operator":{"type":"string","description":"Code de l'opérateur (`MTN_CMR`). Facultatif — deviné à partir du numéro s'il manque.","example":"MTN_CMR","uniqueKey":"operator","typeLabel":"string"},"fee_bearer":{"type":"string","enum":["merchant","customer"],"description":"Par défaut : le réglage du service.","uniqueKey":"fee_bearer","typeLabel":"enum\u003cstring>"},"description":{"type":"string","description":"Affiché à votre client sur la demande de paiement. 4 à 22 lettres, chiffres ou espaces.","example":"Afroyamo Premium","uniqueKey":"description","typeLabel":"string"},"metadata":{"type":"object","description":"Jusqu'à 10 clés avec des valeurs texte. Renvoyées dans les webhooks.","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"example":{"user_id":"42"},"uniqueKey":"metadata","typeLabel":"object"},"webhook_url":{"type":"string","format":"uri","description":"https. L'emporte sur la `webhook_url` du service pour ce paiement.","uniqueKey":"webhook_url","typeLabel":"string\u003curi>"},"callback_url":{"type":"string","format":"uri","description":"L'emporte sur la `callback_url` du service pour ce paiement.","uniqueKey":"callback_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"service":"019a8f2e-4c1b-7d3a-9e55-2b6f0c1d8a47","amount":"1000","currency":"XAF","phone_number":"237670000000","reference":"order-2026-10-29-0001","country":"CMR","operator":"MTN_CMR","description":"Afroyamo Premium","metadata":{"user_id":"42"},"webhook_url":"\u003cstring>","callback_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"4a1b605a-2cbc-4dc6-817d-57ba2e9b3d92":{"description":"Même référence renvoyée — le paiement existant, inchangé","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"code":{"type":"string","format":"uuid","example":"019a9c41-7e2d-4b8f-a1c3-5d6e7f8a9b0c","uniqueKey":"data.code","typeLabel":"string\u003cuuid>"},"reference":{"type":"string","example":"order-2026-10-29-0001","uniqueKey":"data.reference","typeLabel":"string"},"service_code":{"type":"string","format":"uuid","example":"019a8f2e-4c1b-7d3a-9e55-2b6f0c1d8a47","uniqueKey":"data.service_code","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["pending","processing","completed","failed"],"example":"processing","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"country":{"type":"string","example":"CMR","uniqueKey":"data.country","typeLabel":"string"},"operator":{"type":"string","example":"MTN_CMR","uniqueKey":"data.operator","typeLabel":"string"},"phone_number":{"type":"string","example":"237670000000","uniqueKey":"data.phone_number","typeLabel":"string"},"currency":{"type":"string","example":"XAF","uniqueKey":"data.currency","typeLabel":"string"},"value":{"type":"string","description":"La valeur de la marchandise que vous avez envoyée.","example":"1000.00","uniqueKey":"data.value","typeLabel":"string"},"amount":{"type":"string","description":"Ce que paie le client.","example":"1033.00","uniqueKey":"data.amount","typeLabel":"string"},"fee":{"type":"string","example":"33.00","uniqueKey":"data.fee","typeLabel":"string"},"fee_bearer":{"type":"string","enum":["merchant","customer"],"example":"customer","uniqueKey":"data.fee_bearer","typeLabel":"enum\u003cstring>"},"net_amount":{"type":"string","description":"Crédité au solde du service quand le paiement réussit.","example":"1000.00","uniqueKey":"data.net_amount","typeLabel":"string"},"description":{"oneOf":[{"type":"string","example":"Afroyamo Premium","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","example":"Afroyamo Premium","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.metadata.additionalProperties","typeLabel":"string"},"example":{"user_id":"42"},"uniqueKey":"data.metadata","typeLabel":"object"},"failure_code":{"oneOf":[{"type":"string","enum":["payer_not_found","payment_not_approved","insufficient_balance","payer_limit_reached","invalid_phone_number","invalid_amount","operator_unavailable","payment_in_progress","expired","unknown_error",null],"example":null,"uniqueKey":"data.failure_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["payer_not_found","payment_not_approved","insufficient_balance","payer_limit_reached","invalid_phone_number","invalid_amount","operator_unavailable","payment_in_progress","expired","unknown_error",null],"example":null,"uniqueKey":"data.failure_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.failure_code","typeLabel":"enum\u003cstring> | null"},"failure_message":{"oneOf":[{"type":"string","example":null,"uniqueKey":"data.failure_message.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"data.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.failure_message","typeLabel":"string | null"},"operator_transaction_id":{"oneOf":[{"type":"string","description":"La référence de la transaction chez l'opérateur, une fois payé.","example":null,"uniqueKey":"data.operator_transaction_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"La référence de la transaction chez l'opérateur, une fois payé.","example":null,"uniqueKey":"data.operator_transaction_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.operator_transaction_id","typeLabel":"string | null"},"callback_url":{"oneOf":[{"type":"string","example":"https://afroyamo.com/payment/done","uniqueKey":"data.callback_url.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://afroyamo.com/payment/done","uniqueKey":"data.callback_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.callback_url","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","example":null,"uniqueKey":"data.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","example":null,"uniqueKey":"data.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.completed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","example":"a4f8e2c1b3d97056","uniqueKey":"meta.request_id","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"meta.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"code":"019a9c41-7e2d-4b8f-a1c3-5d6e7f8a9b0c","reference":"order-2026-10-29-0001","service_code":"019a8f2e-4c1b-7d3a-9e55-2b6f0c1d8a47","status":"processing","country":"CMR","operator":"MTN_CMR","phone_number":"237670000000","currency":"XAF","value":"1000.00","amount":"1033.00","fee":"33.00","fee_bearer":"customer","net_amount":"1000.00","description":"Afroyamo Premium","metadata":{"user_id":"42"},"failure_code":null,"failure_message":null,"operator_transaction_id":null,"callback_url":"https://afroyamo.com/payment/done","created_at":"2026-10-29T10:00:00+00:00","completed_at":null},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d5858fd7-29ba-4882-9953-0ee196ac7bf4":{"description":"Paiement demandé","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"code":{"type":"string","format":"uuid","example":"019a9c41-7e2d-4b8f-a1c3-5d6e7f8a9b0c","uniqueKey":"data.code","typeLabel":"string\u003cuuid>"},"reference":{"type":"string","example":"order-2026-10-29-0001","uniqueKey":"data.reference","typeLabel":"string"},"service_code":{"type":"string","format":"uuid","example":"019a8f2e-4c1b-7d3a-9e55-2b6f0c1d8a47","uniqueKey":"data.service_code","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["pending","processing","completed","failed"],"example":"processing","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"country":{"type":"string","example":"CMR","uniqueKey":"data.country","typeLabel":"string"},"operator":{"type":"string","example":"MTN_CMR","uniqueKey":"data.operator","typeLabel":"string"},"phone_number":{"type":"string","example":"237670000000","uniqueKey":"data.phone_number","typeLabel":"string"},"currency":{"type":"string","example":"XAF","uniqueKey":"data.currency","typeLabel":"string"},"value":{"type":"string","description":"La valeur de la marchandise que vous avez envoyée.","example":"1000.00","uniqueKey":"data.value","typeLabel":"string"},"amount":{"type":"string","description":"Ce que paie le client.","example":"1033.00","uniqueKey":"data.amount","typeLabel":"string"},"fee":{"type":"string","example":"33.00","uniqueKey":"data.fee","typeLabel":"string"},"fee_bearer":{"type":"string","enum":["merchant","customer"],"example":"customer","uniqueKey":"data.fee_bearer","typeLabel":"enum\u003cstring>"},"net_amount":{"type":"string","description":"Crédité au solde du service quand le paiement réussit.","example":"1000.00","uniqueKey":"data.net_amount","typeLabel":"string"},"description":{"oneOf":[{"type":"string","example":"Afroyamo Premium","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","example":"Afroyamo Premium","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.metadata.additionalProperties","typeLabel":"string"},"example":{"user_id":"42"},"uniqueKey":"data.metadata","typeLabel":"object"},"failure_code":{"oneOf":[{"type":"string","enum":["payer_not_found","payment_not_approved","insufficient_balance","payer_limit_reached","invalid_phone_number","invalid_amount","operator_unavailable","payment_in_progress","expired","unknown_error",null],"example":null,"uniqueKey":"data.failure_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["payer_not_found","payment_not_approved","insufficient_balance","payer_limit_reached","invalid_phone_number","invalid_amount","operator_unavailable","payment_in_progress","expired","unknown_error",null],"example":null,"uniqueKey":"data.failure_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.failure_code","typeLabel":"enum\u003cstring> | null"},"failure_message":{"oneOf":[{"type":"string","example":null,"uniqueKey":"data.failure_message.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"data.failure_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.failure_message","typeLabel":"string | null"},"operator_transaction_id":{"oneOf":[{"type":"string","description":"La référence de la transaction chez l'opérateur, une fois payé.","example":null,"uniqueKey":"data.operator_transaction_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"La référence de la transaction chez l'opérateur, une fois payé.","example":null,"uniqueKey":"data.operator_transaction_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.operator_transaction_id","typeLabel":"string | null"},"callback_url":{"oneOf":[{"type":"string","example":"https://afroyamo.com/payment/done","uniqueKey":"data.callback_url.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://afroyamo.com/payment/done","uniqueKey":"data.callback_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.callback_url","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","example":null,"uniqueKey":"data.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","example":null,"uniqueKey":"data.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.completed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","example":"a4f8e2c1b3d97056","uniqueKey":"meta.request_id","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"meta.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"code":"019a9c41-7e2d-4b8f-a1c3-5d6e7f8a9b0c","reference":"order-2026-10-29-0001","service_code":"019a8f2e-4c1b-7d3a-9e55-2b6f0c1d8a47","status":"processing","country":"CMR","operator":"MTN_CMR","phone_number":"237670000000","currency":"XAF","value":"1000.00","amount":"1033.00","fee":"33.00","fee_bearer":"customer","net_amount":"1000.00","description":"Afroyamo Premium","metadata":{"user_id":"42"},"failure_code":null,"failure_message":null,"operator_transaction_id":null,"callback_url":"https://afroyamo.com/payment/done","created_at":"2026-10-29T10:00:00+00:00","completed_at":null},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7be6e4a7-0bcb-47e7-a2ad-c02b21541f49":{"description":"`FORBIDDEN` : le service n'est pas `active` (en mode test, `pending_review` est accepté).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","properties":{"code":{"type":"string","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Some fields of the payment are missing or invalid.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"example":{"phone_number":"Required: the mobile money number with the country code, digits only, for example 237670000000."},"uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","example":"a4f8e2c1b3d97056","uniqueKey":"meta.request_id","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"meta.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":{"code":"FORBIDDEN","message":"The service is pending_review: it cannot collect payments in live mode.","details":{"service_status":"pending_review"}},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"FORBIDDEN","message":"The service is pending_review: it cannot collect payments in live mode.","details":{"service_status":"pending_review"}},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}}}},"exampleType":"examples"}},"exampleType":"examples"},"70b7cedb-7e76-4d90-8bf3-b58205efda0f":{"description":"`RESOURCE_NOT_FOUND` : aucun service ni paiement avec ce code dans votre compte et ce mode.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","properties":{"code":{"type":"string","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Some fields of the payment are missing or invalid.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"example":{"phone_number":"Required: the mobile money number with the country code, digits only, for example 237670000000."},"uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","example":"a4f8e2c1b3d97056","uniqueKey":"meta.request_id","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"meta.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"VALIDATION_ERROR","message":"Some fields of the payment are missing or invalid.","details":{"phone_number":"Required: the mobile money number with the country code, digits only, for example 237670000000."}},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}}}},"exampleType":"generated"}},"exampleType":"generated"},"58b7bbcf-6ea7-4746-a04b-f0025200058e":{"description":"`VALIDATION_ERROR` : un ou plusieurs champs manquent ou sont invalides. `details` explique chaque champ.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","properties":{"code":{"type":"string","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Some fields of the payment are missing or invalid.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"example":{"phone_number":"Required: the mobile money number with the country code, digits only, for example 237670000000."},"uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","example":"a4f8e2c1b3d97056","uniqueKey":"meta.request_id","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"meta.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"VALIDATION_ERROR","message":"Some fields of the payment are missing or invalid.","details":{"phone_number":"Required: the mobile money number with the country code, digits only, for example 237670000000."}},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b6b436e8-6e0c-442b-934e-39d7fff7745a":{"description":"`OPERATION_FAILED` : l'opérateur est fermé aux encaissements en ce moment. Proposez un autre opérateur.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","properties":{"code":{"type":"string","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"Some fields of the payment are missing or invalid.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"example":{"phone_number":"Required: the mobile money number with the country code, digits only, for example 237670000000."},"uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"request_id":{"type":"string","example":"a4f8e2c1b3d97056","uniqueKey":"meta.request_id","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2026-10-29T10:00:00+00:00","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"meta.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":{"code":"OPERATION_FAILED","message":"ORANGE_CMR is temporarily unavailable for collections. Offer another operator or try again later.","details":{"failure_code":"operator_unavailable"}},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"OPERATION_FAILED","message":"ORANGE_CMR is temporarily unavailable for collections. Offer another operator or try again later.","details":{"failure_code":"operator_unavailable"}},"meta":{"request_id":"a4f8e2c1b3d97056","timestamp":"2026-10-29T10:00:00+00:00","mode":"live"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"cc41c1b2-f077-4ec7-90c4-d0ca0aafd0be":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Votre clé API secrète : `sk_live_…` (argent réel) ou `sk_test_…` (mode test).","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"b2798ba0-2e5a-4006-9b6b-5924c735b789":{"url":"https://api.kemypay.com/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Votre clé API secrète : `sk_live_…` (argent réel) ou `sk_test_…` (mode test).","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Votre clé API secrète : `sk_live_…` (argent réel) ou `sk_test_…` (mode test).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"fr/openapi.yaml"},"subdomain":"kemypay","siteName":"KemyPay API","title":"Demander un paiement - KemyPay API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/collections/create","matchLevel":1},"fr":{"href":"/fr/api-reference/collections/create","matchLevel":0}}},"lastModified":"2026-10-29T02:52:46.895Z","originalFileLocation":"fr/api-reference/collections/create.mdx","locale":"fr"},"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=\"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme avec son code PIN. Le résultat arrive par webhook (mobile_money.collection.completed ou .failed). - reference est votre référence unique. Renvoyer la même demande renvoie le même paiement avec 200 : votre client n\u0026#x27;est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée. - webhook_url et callback_url envoyées ici l\u0026#x27;emportent sur celles du service. - Renvoie 201 avec le statut processing (ou pending si l\u0026#x27;opérateur n\u0026#x27;a pas encore répondu : nous vérifions pour vous). - En mode test, le résultat est immédiat (voir Mode test).\">\u003cmeta data-mint-head name=\"application-name\" content=\"KemyPay API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/kemypay/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/kemypay/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/kemypay/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/kemypay/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Demander un paiement - KemyPay API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme avec son code PIN. Le résultat arrive par webhook (mobile_money.collection.completed ou .failed). - reference est votre référence unique. Renvoyer la même demande renvoie le même paiement avec 200 : votre client n\u0026#x27;est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée. - webhook_url et callback_url envoyées ici l\u0026#x27;emportent sur celles du service. - Renvoie 201 avec le statut processing (ou pending si l\u0026#x27;opérateur n\u0026#x27;a pas encore répondu : nous vérifions pour vous). - En mode test, le résultat est immédiat (voir Mode test).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"KemyPay API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kemypay.com/fr/api-reference/collections/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kemypay.mintlify.app/_mintlify/api/og/v2?division=Encaissements\u0026amp;title=Demander+un+paiement\u0026amp;description=Demande+%C3%A0+votre+client+de+payer+depuis+son+compte+mobile+money+%3A+il+re%C3%A7oit+une+demande+sur+son+t%C3%A9l%C3%A9phone+et+confirme%0Aavec+son+code+PIN.+Le+r%C3%A9sultat+arrive+par+w\u0026amp;theme=beb2db222dce19c31cbb4877\u0026amp;signature=d19f24ee922711c01d94d2fbf0f9cef3ea2b3c4644e009c55fa58fa880dcd117\">\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=\"Demander un paiement - KemyPay API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme avec son code PIN. Le résultat arrive par webhook (mobile_money.collection.completed ou .failed). - reference est votre référence unique. Renvoyer la même demande renvoie le même paiement avec 200 : votre client n\u0026#x27;est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée. - webhook_url et callback_url envoyées ici l\u0026#x27;emportent sur celles du service. - Renvoie 201 avec le statut processing (ou pending si l\u0026#x27;opérateur n\u0026#x27;a pas encore répondu : nous vérifions pour vous). - En mode test, le résultat est immédiat (voir Mode test).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kemypay.mintlify.app/_mintlify/api/og/v2?division=Encaissements\u0026amp;title=Demander+un+paiement\u0026amp;description=Demande+%C3%A0+votre+client+de+payer+depuis+son+compte+mobile+money+%3A+il+re%C3%A7oit+une+demande+sur+son+t%C3%A9l%C3%A9phone+et+confirme%0Aavec+son+code+PIN.+Le+r%C3%A9sultat+arrive+par+w\u0026amp;theme=beb2db222dce19c31cbb4877\u0026amp;signature=d19f24ee922711c01d94d2fbf0f9cef3ea2b3c4644e009c55fa58fa880dcd117\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/kemypay/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"KemyPay API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15A877\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kemypay.com/fr/api-reference/collections/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/api-reference/collections/create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.kemypay.com/fr/api-reference/collections/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.kemypay.com/api-reference/collections/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.kemypay.com/api-reference/collections/create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kemypay.com/#organization\",\"name\":\"KemyPay API\",\"url\":\"https://docs.kemypay.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kemypay.com#website\",\"name\":\"KemyPay API\",\"url\":\"https://docs.kemypay.com\",\"publisher\":{\"@id\":\"https://docs.kemypay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kemypay.com/fr/api-reference/collections/create#webpage\",\"url\":\"https://docs.kemypay.com/fr/api-reference/collections/create\",\"name\":\"Demander un paiement\",\"description\":\"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme avec son code PIN. Le résultat arrive par webhook (mobile_money.collection.completed ou .failed). - reference est votre référence unique. Renvoyer la même demande renvoie le même paiement avec 200 : votre client n'est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée. - webhook_url et callback_url envoyées ici l'emportent sur celles du service. - Renvoie 201 avec le statut processing (ou pending si l'opérateur n'a pas encore répondu : nous vérifions pour vous). - En mode test, le résultat est immédiat (voir Mode test).\",\"dateModified\":\"2026-10-29T02:52:46.895Z\",\"isPartOf\":{\"@id\":\"https://docs.kemypay.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kemypay.com/fr/api-reference/collections/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kemypay.com/fr/api-reference/collections/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Encaissements\",\"item\":\"https://docs.kemypay.com/fr/api-reference/collections/quote\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Demander un paiement\",\"item\":\"https://docs.kemypay.com/fr/api-reference/collections/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kemypay.com/fr/api-reference/collections/create#apireference\",\"headline\":\"Demander un paiement\",\"name\":\"Demander un paiement\",\"description\":\"Demande à votre client de payer depuis son compte mobile money : il reçoit une demande sur son téléphone et confirme avec son code PIN. Le résultat arrive par webhook (mobile_money.collection.completed ou .failed). - reference est votre référence unique. Renvoyer la même demande renvoie le même paiement avec 200 : votre client n'est jamais débité deux fois. La même référence avec un autre service, montant ou numéro est refusée. - webhook_url et callback_url envoyées ici l'emportent sur celles du service. - Renvoie 201 avec le statut processing (ou pending si l'opérateur n'a pas encore répondu : nous vérifions pour vous). - En mode test, le résultat est immédiat (voir Mode test).\",\"url\":\"https://docs.kemypay.com/fr/api-reference/collections/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kemypay.com/fr/api-reference/collections/create#webpage\"},\"dateModified\":\"2026-10-29T02:52:46.895Z\",\"publisher\":{\"@id\":\"https://docs.kemypay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kemypay.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"KemyPay API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"KemyPay API","nav":{"global":{"anchors":[{"anchor":"API Reference","icon":"square-terminal","href":"/api-reference/overview"},{"anchor":"Support","icon":"envelope","href":"mailto:hi@kemypay.com"}]},"languages":[{"language":"en","pages":[{"title":"en","href":"/api-reference/collections/create"}]},{"language":"fr","navbar":{"links":[{"href":"mailto:hi@kemypay.com","label":"Support"}],"primary":{"type":"button","label":"Site web","href":"https://kemypay.com"}},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/fr"}]},{"tab":"Référence de l'API","groups":[{"group":"Vue d'ensemble","pages":[{"title":"Vue d'ensemble de l'API","href":"/fr/api-reference/overview"}]},{"group":"Catalogue","pages":[{"title":"Lister les pays et opérateurs","openapi":"fr/openapi.yaml GET /mobile-money/countries","href":"/fr/api-reference/catalog/countries"},{"title":"Obtenir un pays","openapi":"fr/openapi.yaml GET /mobile-money/countries/{country}","href":"/fr/api-reference/catalog/country"},{"title":"Lister les catégories de service","openapi":"fr/openapi.yaml GET /mobile-money/categories","href":"/fr/api-reference/catalog/categories"}]},{"group":"Services","pages":[{"title":"Créer un service","openapi":"fr/openapi.yaml POST /mobile-money/services","href":"/fr/api-reference/services/create"},{"title":"Lister les services","openapi":"fr/openapi.yaml GET /mobile-money/services","href":"/fr/api-reference/services/list"},{"title":"Obtenir un service","openapi":"fr/openapi.yaml GET /mobile-money/services/{code}","href":"/fr/api-reference/services/get"},{"title":"Modifier un service","openapi":"fr/openapi.yaml PATCH /mobile-money/services/{code}","href":"/fr/api-reference/services/update"},{"title":"Désactiver un service","openapi":"fr/openapi.yaml POST /mobile-money/services/{code}/disable","href":"/fr/api-reference/services/disable"},{"title":"Réactiver un service","openapi":"fr/openapi.yaml POST /mobile-money/services/{code}/enable","href":"/fr/api-reference/services/enable"},{"title":"Renouveler le secret des webhooks","openapi":"fr/openapi.yaml POST /mobile-money/services/{code}/rotate-secret","href":"/fr/api-reference/services/rotate-secret"}]},{"group":"Encaissements","pages":[{"title":"Calculer le prix d'un paiement","tag":"BETA","openapi":"fr/openapi.yaml POST /mobile-money/quote","href":"/fr/api-reference/collections/quote"},{"title":"Deviner l'opérateur","tag":"BETA","openapi":"fr/openapi.yaml POST /mobile-money/predict-operator","description":"Renvoie le pays et le code de l'opérateur d'un numéro mobile money, avec le numéro nettoyé.","href":"/fr/api-reference/collections/predict-operator"},{"title":"Demander un paiement","tag":"BETA","openapi":"fr/openapi.yaml POST /mobile-money/collections","href":"/fr/api-reference/collections/create"},{"title":"Lister les paiements","tag":"BETA","openapi":"fr/openapi.yaml GET /mobile-money/collections","description":"Vos paiements, du plus récent au plus ancien. Les clés de test ne listent que les paiements de test, les clés de production que les paiements réels.","href":"/fr/api-reference/collections/list"},{"title":"Obtenir un paiement","tag":"BETA","openapi":"fr/openapi.yaml GET /mobile-money/collections/{code}","href":"/fr/api-reference/collections/get"}]},{"group":"Soldes","pages":[{"title":"Lister les soldes","openapi":"fr/openapi.yaml GET /mobile-money/balances","href":"/fr/api-reference/balances/list"}]},{"group":"Catalog","pages":[{"title":"Lister les pays et opérateurs","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/countries","href":"/api-reference/catalog/lister-les-pays-et-opérateurs"},{"title":"Obtenir un pays","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/countries/{country}","href":"/api-reference/catalog/obtenir-un-pays"},{"title":"Lister les catégories de service","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/categories","href":"/api-reference/catalog/lister-les-catégories-de-service"}]},{"group":"Services","pages":[{"title":"Lister vos services","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/services","href":"/api-reference/services/lister-vos-services"},{"title":"Créer un service","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/services","href":"/api-reference/services/créer-un-service"},{"title":"Obtenir un service","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/services/{code}","href":"/api-reference/services/obtenir-un-service"},{"title":"Modifier les réglages d'un service","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml patch /mobile-money/services/{code}","href":"/api-reference/services/modifier-les-réglages-dun-service"},{"title":"Désactiver un service","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/services/{code}/disable","href":"/api-reference/services/désactiver-un-service"},{"title":"Réactiver un service","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/services/{code}/enable","href":"/api-reference/services/réactiver-un-service"},{"title":"Renouveler le secret des webhooks","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/services/{code}/rotate-secret","href":"/api-reference/services/renouveler-le-secret-des-webhooks"}]},{"group":"Collections","pages":[{"title":"Calculer le prix d'un paiement (bêta)","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/quote","href":"/api-reference/collections/calculer-le-prix-dun-paiement-bêta"},{"title":"Trouver l'opérateur d'un numéro (bêta)","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/predict-operator","href":"/api-reference/collections/trouver-lopérateur-dun-numéro-bêta"},{"title":"Lister les paiements (bêta)","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/collections","href":"/api-reference/collections/lister-les-paiements-bêta"},{"title":"Demander un paiement (bêta)","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml post /mobile-money/collections","href":"/api-reference/collections/demander-un-paiement-bêta"},{"title":"Obtenir un paiement (bêta)","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/collections/{code}","href":"/api-reference/collections/obtenir-un-paiement-bêta"}]},{"group":"Balances","pages":[{"title":"Lister vos soldes","deprecated":null,"version":null,"openapi":"/fr/openapi.yaml get /mobile-money/balances","href":"/api-reference/balances/lister-vos-soldes"}]}]},{"tab":"Pays couverts","pages":[{"title":"Pays couverts","href":"/fr/supported-countries/mobile-money"}]},{"tab":"Journal des changements","pages":[{"title":"Journal des changements","href":"/fr/changelog"}]}]}]},"title":"Demander un paiement - KemyPay API","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}