/

Specification Status & Honesty Ledger (SPEC_STATUS.md)

This document is the single source of truth for what is verified against official provider documentation/fixtures versus what is partial or unverified (implemented from public developer references or reasonable structure pending official merchant documentation/fixtures).

Rule: Never treat an unverified entry as guaranteed production behavior. Always test against each provider's official sandbox before going live.

Status Legend


1. Chargily Pay v2 (mock-chargily)

Config file: packages/mock-chargily/src/chargily.spec.ts Official reference: https://dev.chargily.com/pay-v2/ and @chargily/chargily-pay@2.1.0 npm package (lib/classes/client.js, lib/types/data.d.ts, lib/utils/index.js).

Endpoint / FeatureImplementedStatusSource / Notes
Auth (Authorization: Bearer <secret>)YesVerifiedConfirmed in @chargily/chargily-pay@2.1.0 (Authorization: Bearer ...)
GET /api/v2/balanceYesVerifiedBalance / Wallet shape verified in lib/types/data.d.ts; exact 401/error JSON envelope unverified
POST/GET/PATCH/DELETE /api/v2/customersYesVerifiedEndpoints & Customer / ListResponse / DeleteItemResponse verified in @chargily/chargily-pay@2.1.0
POST/GET/POST(update)/DELETE /api/v2/products & /pricesYesVerifiedEndpoints & Product / ProductPrice shapes verified in @chargily/chargily-pay@2.1.0
POST/GET/POST(update) /api/v2/pricesYesVerifiedEndpoints & Price shape verified in @chargily/chargily-pay@2.1.0
POST/GET/POST(expire) /api/v2/checkouts & /itemsYesVerifiedEndpoints & Checkout / CheckoutItem shapes verified in @chargily/chargily-pay@2.1.0; fee formula simulated in chargily.spec.ts
POST/GET/POST(update) /api/v2/payment-links & /itemsYesVerifiedEndpoints & PaymentLink / PaymentLinkItem shapes verified in @chargily/chargily-pay@2.1.0
Webhook signature (signature header, HMAC-SHA256 hex of raw JSON body using secret key)YesVerifiedExact verifySignature() algorithm confirmed in @chargily/chargily-pay@2.1.0 lib/utils/index.js; webhook event names (checkout.paid, checkout.failed, checkout.canceled) partial/configurable in chargily.spec.ts

2. SATIM E-Payment (mock-satim)

Config file: packages/mock-satim/src/satim.spec.ts Official reference: SATIM / GIE Monétique Merchant Technical Integration Guide (distributed privately by acquiring banks).

Endpoint / FeatureImplementedStatusSource / Notes
GET/POST register.doYesUnverifiedPublic references cite userName, password, orderNumber, amount (centimes), currency (012), returnUrl, failUrl, language, jsonParams. Exact bank-specific path prefix and required jsonParams must be checked against SATIM guide
Hosted payment page (formUrl redirect)YesUnverifiedSimulated local HTML form with fake test card numbers (4000000000000001..05); real SATIM/3DS UI differs
GET/POST confirmOrder.do / getOrderStatusExtended.do / acknowledgeTransaction.doYesUnverifiedEndpoint name varies by SATIM integration version (acknowledgeTransaction.do vs confirmOrder.do vs getOrderStatusExtended.do). Configurable in satim.spec.ts
GET/POST refund.doYesUnverifiedParameters userName, password, orderId, amount; exact partial refund rules & error codes need official SATIM guide
errorCode, actionCode, orderStatus, respCode tablesYesUnverifiedCommon SmartVista/SATIM codes (orderStatus: 0,1,2,3,4,6; errorCode: 0,1,3,4,5,6,7; actionCode: 0). Full bank-specific actionCode & respCode mappings must be verified from official SATIM PDF

3. Yalidine Express (mock-yalidine)

Config file: packages/mock-yalidine/src/yalidine.spec.ts Official reference: https://api.yalidine.app/v1/ (Yalidine Merchant Developer Docs).

Endpoint / FeatureImplementedStatusSource / Notes
Auth (X-API-ID, X-API-TOKEN)YesPartialPublic docs; exact 401/403 & 429 rate-limit headers (Retry-After / X-RateLimit-*) unverified
GET /v1/wilayasYesPartialAll 69 wilayas (eras 48/58/69) with AR/FR/EN names imported via scripts/import-geo.mjs from user-supplied algeria-geo; exact Yalidine pagination/field envelope remains partial until live capture
GET /v1/communesYesPartialAll 1,541 communes with AR/FR/EN names & post codes imported via scripts/import-geo.mjs from user-supplied algeria-geo (coordinates excluded); exact Yalidine field envelope remains partial until live capture
GET /v1/centersYesUnverified9 stopdesk centers mapped to the 8 core wilayas; exact center IDs & fields need official response fixture
GET /v1/deliveryfeesYesPartialQuery from_wilaya_id, to_wilaya_id, wilaya_id; exact per-commune fee breakdown (retour_fee, cod_percentage, oversize_fee) unverified
POST/GET/PATCH/DELETE /v1/parcelsYesPartialPublic docs (bulk array or object create, tracking IDs yal-XXXXXX, is_stopdesk, stopdesk_id, price, freeshipping); exact validation errors & PATCH rules unverified
GET /v1/historiesYesUnverifiedVirtual-clock driven history log (tracking, status, status_id, reason, center_name, date); exact query filters & response envelope unverified
Webhooks (parcel status updates)YesUnverifiedUnconfirmed whether Yalidine v1 pushes webhooks natively or relies on polling histories; simulated behind opt-in webhook_url / DZ_YALIDINE_WEBHOOK_URL

3b. ZR Express & Maystro Delivery (Scaffolds — Unverified)

Config files:

Endpoint / FeatureImplementedStatusSource / Notes
GET /health + scenario fault middlewareYesVerified (internal)Returns { status: 'ok', scaffold: true, verified: false }
Provider parcel/pickup/tracking endpointsNo (returns 501 NOT_IMPLEMENTED_AWAITING_SPEC)Unverified (Scaffold)Intentionally unimplemented until official API docs or sanitized captures (fixtures/{zrexpress,maystro}/captured/) are provided. Zero endpoints or field names were fabricated

3c. BaridiMob Mobile Banking (mock-baridimob)

Config file: packages/mock-baridimob/src/baridimob.spec.ts Official reference: Algérie Poste BaridiMob Mobile Banking reverse-engineered / open-source SDK contract (baridimob client library). Default port: 4004. Base path: /mobilebank/service (also mounted at root / for convenience).

Architectural Note: BaridiMob is an Account-Holder Mobile Banking API (personal account access, RIP transfers, bill payments), not a Merchant Payment Gateway (like Chargily Pay or SATIM). It should never be integrated as a direct checkout payment method on an e-commerce store.
Endpoint / FeatureImplementedStatusSource / Notes
Device Auth & Signature (devid, sign, timestamp)YesPartialClient signatures validated; simulation accepts standard sha256 or test signatures
POST /loginYesPartialSupports standard credentials (username, password), returning numeric result code (0 = success, 103 = invalid, 104 = locked, 107 = device confirm required)
POST /deviceConfirmYesPartialValidates SMS OTP code (123456 by default) with result codes (109 = invalid, 110 = expired, 111 = max attempts)
POST /accountsYesPartialReturns seed accounts (00799999000000000001) with balance, currency (DZD), and status
POST /cardsYesPartialReturns seed Edahabia card details (card_edahabia_01, masked number, status)
POST /transferCheck & POST /transferExecYesPartialRIP-to-RIP internal funds transfers with balance check and transaction history updates
POST /historyYesPartialVirtual-clock driven transaction history of transfers and payments
POST /paymentCategories, /paymentProviders, /paymentPerformYesPartialUtility/bill payments (Sonelgaz, ADE, Mobilis, Djezzy, Ooredoo)

4. Docs & Fixtures Needed From Maintainer

To upgrade entries from Unverified / Partial to Verified, please provide:

  1. Chargily Pay v2:
  1. SATIM:
  1. Yalidine:
  1. Algeria Geo Dataset (algeria-geo):
  1. ZR Express & Maystro Delivery:
box.style.display = "block"; if (!hits.length) { box.innerHTML = "
" + noResultsText + "
"; return; } box.innerHTML = hits.map(function (hit) { return "" + hit.title.replace(/" + hit.path + " — " + hit.excerpt.replace(/"; }).join(""); }); })();