Djomy
Djomy is a Guinean payment solution offering payment links, QR code payments, and mobile money integrations via a unified API.
Use with AI agents
After installing the plugin or adding the MCP server, prompt your agent:
Who can open an account
Not stated by the provider
Djomy’s pages don’t say. Before signing up, ask them:
“Can I open a merchant account without a registered business? With which documents, and up to what amount?”
Before you sign up
Djomy's sign-up page (https://djomy.africa/register) asks for 'Nom de votre organisation', but neither djomy.africa nor developers.djomy.africa says whether an individual without a registered business can open a merchant account, nor which documents are required (developers.djomy.africa/legal answered 403).
Pages read on November 3, 2026.
Know the answer? Tell us on GitHub →Capabilities
| Capability | Type | StatusiUnverified — generated from public docs, not yet reviewed.Available — written from the provider’s docs, not tested yet: may contain errors.Verified — matched the real API once (live test, working app or accepted report), in sandbox or production. | Method | Example |
|---|---|---|---|---|
| confirm_otp | synchronous | Available | POST | Example |
| create_payment | synchronous | Available | POST | Example |
| create_payment_gateway | synchronous | Verified | POST | Example |
| create_payment_link | synchronous | Available | POST | Example |
| get_payment_link | synchronous | Available | GET | Example |
| verify_payment | synchronous | Verified | GET | Example |
| webhook_payment_completed | webhook | Available | POST | Example |
Gotchas
confirm_otp
- ⚠The docs don't say when confirmOTP is needed. For Orange Money (OM) and MTN MoMo (MOMO), create_payment's description says « Le payeur est notifié par SMS ou via l’application Orange Money / MTN MoMo, afin de confirmer le paiement directement depuis son téléphone », and mentions no PIN; create_payment_gateway sends the payer to Djomy's portal. Call it only if a PIN is asked (see open_questions).
- ⚠The PIN goes in the body as oneTimePin (OTPRequest: a string matching \d{4,6}); who sends it to the payer is not documented.
- ⚠The docs don't say which value fills transactionReference: the parameter is a plain string with no description. create_payment returns two candidates: transactionId (CreatedPaymentDto: « Id du paiement générer par notre plateforme. A utiliser ulterieurement pour récupérer le détail de paiement ») and merchantPaymentReference, your own reference (« Indique la reference fournie par le marchand »). The example passes transactionId, which two descriptions favour without settling it (see open_questions); no test has confirmed it.
- ⚠transactionReference goes in the URL path. Take it from your own records rather than from the form where the payer types the OTP, since unencoded, a visitor's "../…" would send this call, with your X-API-KEY, to another endpoint. The docs type it as a string with no pattern. The example passes it through encodeURIComponent: an empty value, "." or ".." still changes the path, and the value must be the decoded one (URLSearchParams.get decodes it), or it is encoded twice.
- ⚠A successful OTP confirmation is not the payment (its status can still be PENDING): fulfil from the signed webhook or verify_payment, the amount and currency checked against your order (see webhook_payment_completed).
- ⚠HTTP 403 "Accès non autorisé à cette transaction" when the transaction does not belong to your account.
- ⚠Only the X-API-KEY header is documented for this endpoint (no Bearer token, unlike create_payment and verify_payment).
create_payment
- ⚠For Orange Money (OM) and MTN MoMo (MOMO), « Le payeur est notifié par SMS ou via l’application Orange Money / MTN MoMo, afin de confirmer le paiement directement depuis son téléphone » (create_payment's description). Whether and when confirm_otp is also needed is not documented (see confirm_otp's open questions); its example passes the transactionId as transactionReference, which the docs don't state either.
- ⚠A redirect is not a proof of payment. Fulfil from the signed webhook once its amount, currency and merchantPaymentReference match your order (see webhook_payment_completed), or from verify_payment with the same check.
- ⚠metadata must be flat: « Il doit être au format JSON et ne contenir ni de list, ni de structure imbriquée » (components.schemas.InitiatePaymentCommand.properties.metadata.description); the docs' example, { "order_id": "ORD-456", "vip": true, "referrer": "campaign-2026" }, has strings and a boolean.
- ⚠[VERY IMPORTANT] Unless the user explicitly requests the direct flow (no redirect), always use create_payment_gateway instead. create_payment requires you to know the payment method and payer identifier upfront. create_payment_gateway delegates everything to the Djomy portal.
- ⚠A missing or invalid X-API-KEY returns HTTP 401 (documented as "Clé API manquante ou invalide").
create_payment_gateway
- ⚠payerNumber is required — « Il est obligatoire et doit être au format international » (components.schemas.CreatePaymentCommand.properties.payerNumber.description) — even though the payer then pays on the Djomy portal. The maintainer had to add a phone field to the example shop's checkout form because of it (maintainer, 2026-11-05; afrotools/examples b6b4312, 2026-04-30: « Add phone field to CustomerInfo (required by Djomy) »). Collect the payer's phone number before calling this endpoint; the docs give this endpoint's 400 as « Données de paiement invalides ou manquantes » (paths['/v1/payments/gateway'].post.responses['400'].description).
- ⚠[VERY IMPORTANT] This is the default integration method for Djomy. Unless the user explicitly requests the direct flow (create_payment, no redirect), always use create_payment_gateway: on the Djomy portal, « Le payeur choisit alors son moyen de paiement, saisit ses coordonnées (numéro de téléphone, carte bancaire, IBAN, etc.) et procède au paiement ».
- ⚠The payer completes the payment on the Djomy portal, then « Djomy redirige le payeur vers l’URL de retour (`returnUrl`) fournie lors de la création du paiement » (paths['/v1/payments/gateway'].post.description), which does not mention confirm_otp.
- ⚠Redirect the payer to redirectUrl after receiving the response. How long it stays valid is not documented (see open_questions).
- ⚠The returnUrl redirect is not a proof of payment. Fulfil from the signed webhook once its amount, currency and merchantPaymentReference match your order (see webhook_payment_completed); when the payer comes back to returnUrl before it, call verify_payment and make the same check.
- ⚠If an invalid payment method is passed in allowedPaymentMethods (wrong spelling or unsupported value), Djomy silently falls back to showing all available methods instead of returning an error.
- ⚠A missing or invalid X-API-KEY returns HTTP 401 (documented as "Clé API manquante ou invalide").
create_payment_link
- ⚠Use paymentLinkReference (not reference) to retrieve or track the link. The reference field is deprecated according to the API spec.
- ⚠For UNIQUE links, Djomy automatically deactivates the link after the first successful payment. Do not rely on a second payment going through.
- ⚠sendSms: true requires phoneNumber to be set. If phoneNumber is omitted, the SMS will not be sent and no error is returned.
- ⚠countryCode must be uppercase (GN, SL, LR). The API validates against the pattern ^[A-Z]{2}$ and will reject lowercase values.
- ⚠A missing or invalid X-API-KEY returns HTTP 401 (documented as "Clé API manquante ou invalide").
get_payment_link
- ⚠Fill the {reference} path parameter with paymentLinkReference from create_payment_link, not its deprecated `reference` field ("Merci de considérer le champs paymentLinkReference").
- ⚠Error codes are distinct (OpenAPI): 404 "Lien de paiement introuvable" (no such link), 403 "Accès non autorisé à ce lien" (a link your credentials may not read), 400 "Format de référence invalide" (a malformed reference). Check the credentials on a 403 and the reference on a 404 or 400.
- ⚠For UNIQUE links, data.status becomes REVOKED after one successful payment — not PAID. PAID is only set in specific conditions. Use data.numberOfUsage > 0 as the reliable indicator that a UNIQUE link has been used.
- ⚠The reference comes from your create_payment_link record or from the signed webhook (check X-Webhook-Signature first): prefer those over a request (a page URL, a form), since unencoded, a visitor's "../…" would send this call, with your access token, to another endpoint. The OpenAPI types it as a string with no pattern (its only example is "LINK-REF", in the webhook examples) and documents a 400 "Format de référence invalide" without saying the format. The example passes it through encodeURIComponent: an empty value, "." or ".." still changes the path, and the value must be the decoded one (URLSearchParams.get decodes it), or it is encoded twice.
- ⚠A missing or invalid X-API-KEY returns HTTP 401 (documented as "Clé API manquante ou invalide").
verify_payment
- ⚠Never fulfill an order until data.status === 'SUCCESS'. PENDING means the payer has not confirmed yet. Djomy's docs list AUTHORIZED and CAPTURED for create_payment and create_payment_gateway (AUTHORIZED marked « A ignorer pour le moment »), for payment links (both marked « à ignorer pour le moment ») and in the webhook's status (TransactionWebhookEventDto: data.payment in V2, data in V1), not for this endpoint: treat any status other than SUCCESS as unpaid, and don't reject a value outside the enum.
- ⚠The transactionId comes from your create_payment / create_payment_gateway record, from the signed webhook (check X-Webhook-Signature first), or from a request: after a payment link, Djomy adds transactionId to the returnUrl (components.schemas.CreatePaymentLinkRequest.properties.returnUrl.description: « Djomy rajoutera en paramètre d'url les informations suivantes : transactionId et le status. »). Prefer your own record: unencoded, a visitor's "../…" would send this call, with your access token and X-API-KEY, to another endpoint. The path parameter is typed only as a string; the transactionId Djomy returns is a uuid (CreatedPaymentDto and GetPaymentDto: "format": "uuid"), and the endpoint documents a 400 "Format de référence de transaction invalide". The example passes it through encodeURIComponent: an empty value, "." or ".." still changes the path, and the value must be the decoded one (URLSearchParams.get decodes it), or it is encoded twice.
- ⚠receivedAmount is what you actually receive after Djomy deducts fees. Use this for your accounting, not paidAmount.
- ⚠Before fulfilling on SUCCESS, check the payment against your order, as for the webhook: merchantPaymentReference is the order's, paidAmount equals the amount you sent, and currency is the one the order is priced in, as Djomy's string (compare before mapping it to ISO). Sources and limits: webhook_payment_completed's anti-fraud gotcha and open questions. Fulfil once: the webhook may confirm the same order.
- ⚠The currency field returns Djomy's own strings: 'GNF', 'FCFA', 'Dollar', 'Leones' (components.schemas.GetPaymentDto.properties.currency.enum). The docs give no ISO 4217 code for FCFA, Dollar or Leones (FCFA can be XOF or XAF): ask Djomy before mapping them, and compare Djomy's string with your order's.
- ⚠A missing or invalid X-API-KEY returns HTTP 401 (documented as "Clé API manquante ou invalide").
webhook_payment_completed
- ⚠[MUST TELL USER] The Djomy webhook does not fire on its own. The developer must first set their endpoint URL in the Djomy dashboard (developer area). Without this step, no event is sent, even when the payment succeeds.
- ⚠[MUST TELL USER] Djomy cannot reach localhost, and its docs require HTTPS for returnUrl and cancelUrl (they say nothing about the webhook URL). In local development, tell the user explicitly: run `ngrok http 3000`, then set the HTTPS ngrok URL in the Djomy developer area before testing.
- ⚠Verify X-Webhook-Signature as described in webhook.signature before processing the event. Djomy's docs: « Pour assurer l'intégrité et l'authenticité des données envoyées, le payload de chaque webhook sera signé avec la clé secrète » and « Si la signature fournie dans la requête correspod au résultat de votre sugnature, alors poursuivre le traitement du webhook. Le cas échéant, ignorer le webhook » (paths['/votre-endpoint-webhook'].post.description). Ignore it too if the version prefix is not v1. Compute the HMAC on the raw bytes of the body (decoding and re-encoding them can change what was signed) and compare with crypto.subtle.verify, as the example does, or crypto.timingSafeEqual — never with ===, which stops at the first differing byte. Answering 400 is the example's choice: the docs only say to ignore the webhook, and describe 400 as « Erreur dans le traitement du webhook » (paths['/votre-endpoint-webhook'].post.responses['400'].description).
- ⚠Read the payment from data.payment with a V2 webhook configuration (the default for new configurations), or from data with V1 (merchants integrated before V2). The version is shown in the Djomy developer space — ask the user which one their configuration uses, or handle both.
- ⚠A webhook whose signature matches and whose payment matches your order is enough to fulfil it, with no verify_payment call: the signature is what Djomy's docs give for authenticity (see the gotcha above), and the order check below makes sure it is this order's payment. Keep verify_payment for the returnUrl redirect, which anyone can forge, and to reconcile orders still unpaid when no webhook came (Djomy's retries are not documented, see open_questions).
- ⚠Anti-fraud check, for payments from create_payment and create_payment_gateway (payment links: see open_questions). Give each order its own merchantPaymentReference, never reused, and send it: « Celle-ci peut être liée à une référence de commande chez le marchand. Elle n'est pas obligatoire, mais fortement recommandée » (components.schemas.TransactionWebhookEventDto.properties.merchantPaymentReference.description). Before fulfilling, look up the order by it and check that status is SUCCESS, that paidAmount equals the amount you sent and that currency is the one your order is priced in, as Djomy's string (GNF, FCFA, Dollar, Leones — compare before any ISO mapping). The amount sent is « Motant à payer par le payyer » (components.schemas.InitiatePaymentCommand and CreatePaymentCommand, properties.amount.description), paidAmount « Montant payé par le client » (components.schemas.TransactionWebhookEventDto.properties.paidAmount.description) and fees « Frais prélevés sur le montant payé. » (components.schemas.TransactionWebhookEventDto.properties.fees.description); the docs' examples have paidAmount 10000, fees 1000, receivedAmount 9000 (paths['/votre-endpoint-webhook'].post.requestBody.content['application/json'].examples['V1 - Paiement réussi'] and ['V2 - Paiement réussi']). That paidAmount equals the amount sent follows from these; no page states it (see open_questions). An unknown or missing reference, or a mismatch: do not fulfil, and log it.
- ⚠The docs give the header as « v1:signature » (paths['/votre-endpoint-webhook'].post.description) and mention no timestamp in what is signed (webhook.signature), so a captured webhook can be sent again. Fulfil an order once (an order already paid is left as it is), and raise an alert when an already-paid order gets a payment.success with another transactionId: a second payment on the same reference. Record eventId before any business logic, for an audit trail and to skip an event already processed.
- ⚠If a real webhook fails the signature check, log it (never the secret) and report it: the check has not been seen passing on a real webhook yet (see open_questions). Do not turn the check off; orders it leaves unpaid are reconciled with verify_payment.
- ⚠You receive every event listed in eventType (payout.* only with a V2 configuration). Only act on payment.success for order fulfillment: « Paiement réussi/capturé » (paths['/votre-endpoint-webhook'].post.description). Whether it can carry status CAPTURED is left open: « réussi/capturé » and components.schemas.TransactionWebhookEventDto.properties.status.enum (which lists six statuses with no link to events) do not say. The example fulfils on SUCCESS only and logs any other status (see open_questions).
Details
- Category
- payment
- Sandbox
- Yes
Who can open an account
Not stated by the provider
Djomy’s pages don’t say. Before signing up, ask them:
“Can I open a merchant account without a registered business? With which documents, and up to what amount?”
Before you sign up
Djomy's sign-up page (https://djomy.africa/register) asks for 'Nom de votre organisation', but neither djomy.africa nor developers.djomy.africa says whether an individual without a registered business can open a merchant account, nor which documents are required (developers.djomy.africa/legal answered 403).
Pages read on November 3, 2026.
Know the answer? Tell us on GitHub →