From 277cffb1ad66af9dc059dc074d9eec761844efc0 Mon Sep 17 00:00:00 2001 From: Gauthier Eholoum <26385667+gausoft@users.noreply.github.com> Date: Fri, 4 Dec 2026 10:56:53 +0000 Subject: [PATCH 1/2] feat: say where unpublished fees come from --- data/providers/orange-money-api.json | 7 +- data/providers/passerelle.json | 4 + data/providers/paydunya.json | 4 + data/providers/saspay.json | 100 +++++++++++----------- docs/architecture.md | 5 +- src/components/FeeCountryCard.astro | 2 + src/components/provider/PrivateFees.astro | 4 +- src/i18n/data-fr.ts | 16 ++-- src/i18n/provider-en.ts | 5 ++ src/i18n/provider-fr.ts | 5 ++ src/i18n/provider-types.ts | 2 + src/lib/data-texts.ts | 2 +- src/lib/fee-sheet-types.ts | 2 + src/lib/fee-sheet.ts | 32 ++++++- src/schema/constants.ts | 3 + src/schema/provider-parts.ts | 2 + tests/fee-sheet.test.ts | 23 +++++ 17 files changed, 149 insertions(+), 69 deletions(-) diff --git a/data/providers/orange-money-api.json b/data/providers/orange-money-api.json index 44b290c..3ad185e 100644 --- a/data/providers/orange-money-api.json +++ b/data/providers/orange-money-api.json @@ -166,8 +166,11 @@ "integration": { "public_pricing": { "value": false, - "source": "faq", - "note": "The FAQ sends merchants to their local Orange operator for costs." + "source": "faq" + }, + "pricing_route": { + "value": "local_operator", + "source": "faq" } }, "onboarding": { diff --git a/data/providers/passerelle.json b/data/providers/passerelle.json index f16785d..0686447 100644 --- a/data/providers/passerelle.json +++ b/data/providers/passerelle.json @@ -224,6 +224,10 @@ "value": false, "source": "terms" }, + "pricing_route": { + "value": "dashboard", + "source": "terms" + }, "docs_url": "https://docs.passerelle.abecedaire.tg" }, "onboarding": { diff --git a/data/providers/paydunya.json b/data/providers/paydunya.json index eaa53de..8906857 100644 --- a/data/providers/paydunya.json +++ b/data/providers/paydunya.json @@ -172,6 +172,10 @@ "value": false, "source": "pricing" }, + "pricing_route": { + "value": "sales", + "source": "pricing" + }, "docs_url": "https://developers.paydunya.com/doc/FR/introduction" }, "onboarding": { diff --git a/data/providers/saspay.json b/data/providers/saspay.json index 76f7589..8421bd6 100644 --- a/data/providers/saspay.json +++ b/data/providers/saspay.json @@ -677,7 +677,7 @@ }, "direction": "collection", "percent": 3.9, - "note": "Merchant dashboard rate, not published, shown as added to the amount. The home page advertises from 1.8%.", + "note": "Mobile money: merchant dashboard, 2026-12-04. Home page: from 1.8%.", "source": "dashboard" }, { @@ -688,7 +688,7 @@ }, "direction": "collection", "percent": 3.9, - "note": "Merchant dashboard rate, not published, shown as added to the amount. The home page advertises from 1.8%.", + "note": "Mobile money: merchant dashboard, 2026-12-04. Home page: from 1.8%.", "source": "dashboard" }, { @@ -699,7 +699,7 @@ }, "direction": "collection", "percent": 3.9, - "note": "Merchant dashboard rate, not published, shown as added to the amount. The home page advertises from 1.8%.", + "note": "Mobile money: merchant dashboard, 2026-12-04. Home page: from 1.8%.", "source": "dashboard" }, { @@ -710,7 +710,7 @@ }, "direction": "collection", "percent": 3.9, - "note": "Merchant dashboard rate, not published, shown as added to the amount. The home page advertises from 1.8%.", + "note": "Mobile money: merchant dashboard, 2026-12-04. Home page: from 1.8%.", "source": "dashboard" }, { @@ -721,7 +721,7 @@ }, "direction": "collection", "percent": 3.5, - "note": "Merchant dashboard rate, not published, shown as added to the amount. The home page advertises from 1.8%.", + "note": "Mobile money: merchant dashboard, 2026-12-04. Home page: from 1.8%.", "source": "dashboard" }, { @@ -732,7 +732,7 @@ }, "direction": "payout", "percent": 3.7, - "note": "Merchant dashboard rate, not published, shown as added to the amount sent.", + "note": "Merchant dashboard, 2026-12-04. Fees shown as added to the amount sent.", "source": "dashboard" }, { @@ -743,7 +743,7 @@ }, "direction": "payout", "percent": 3.7, - "note": "Merchant dashboard rate, not published, shown as added to the amount sent.", + "note": "Merchant dashboard, 2026-12-04. Fees shown as added to the amount sent.", "source": "dashboard" }, { @@ -758,7 +758,7 @@ "amount": 50, "currency": "XOF" }, - "note": "Merchant dashboard rate, not published, shown as added to the amount sent.", + "note": "Merchant dashboard, 2026-12-04. Fees shown as added to the amount sent.", "source": "dashboard" }, { @@ -773,7 +773,7 @@ "amount": 50, "currency": "XOF" }, - "note": "Merchant dashboard rate, not published, shown as added to the amount sent.", + "note": "Merchant dashboard, 2026-12-04. Fees shown as added to the amount sent.", "source": "dashboard" }, { @@ -788,7 +788,7 @@ "amount": 100, "currency": "XOF" }, - "note": "Merchant dashboard rate, not published, shown as added to the amount sent.", + "note": "Merchant dashboard, 2026-12-04. Fees shown as added to the amount sent.", "source": "dashboard" }, { @@ -799,7 +799,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Card rate advertised on the home page. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "SN", @@ -809,7 +809,7 @@ "direction": "collection", "percent": 2.25, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -820,7 +820,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "TG", @@ -830,7 +830,7 @@ "direction": "collection", "percent": 2.25, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -841,7 +841,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "BJ", @@ -851,7 +851,7 @@ "direction": "collection", "percent": 2.2, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -862,7 +862,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "CM", @@ -872,7 +872,7 @@ "direction": "collection", "percent": 1.75, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -883,7 +883,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "BF", @@ -893,7 +893,7 @@ "direction": "collection", "percent": 3, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -904,7 +904,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "ML", @@ -914,7 +914,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "GA", @@ -924,7 +924,7 @@ "direction": "collection", "percent": 2, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -935,7 +935,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "GH", @@ -945,7 +945,7 @@ "direction": "collection", "percent": 2, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -956,7 +956,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "KE", @@ -966,7 +966,7 @@ "direction": "collection", "percent": 1, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -977,7 +977,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "NG", @@ -987,7 +987,7 @@ "direction": "collection", "percent": 3, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -998,7 +998,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "TZ", @@ -1008,7 +1008,7 @@ "direction": "collection", "percent": 1, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1019,7 +1019,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "UG", @@ -1029,7 +1029,7 @@ "direction": "collection", "percent": 2.5, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1040,7 +1040,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "RW", @@ -1050,7 +1050,7 @@ "direction": "collection", "percent": 2.5, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1061,7 +1061,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "CD", @@ -1071,7 +1071,7 @@ "direction": "collection", "percent": 2.5, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1082,7 +1082,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "CG", @@ -1092,7 +1092,7 @@ "direction": "collection", "percent": 4, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1103,7 +1103,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "MZ", @@ -1113,7 +1113,7 @@ "direction": "collection", "percent": 4, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1124,7 +1124,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "MW", @@ -1134,7 +1134,7 @@ "direction": "collection", "percent": 3.33, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1145,7 +1145,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "LS", @@ -1155,7 +1155,7 @@ "direction": "collection", "percent": 2, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1166,7 +1166,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "SL", @@ -1176,7 +1176,7 @@ "direction": "collection", "percent": 3.3, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1187,7 +1187,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." }, { "country": "ET", @@ -1197,7 +1197,7 @@ "direction": "collection", "percent": 1.5, "starting_rate": true, - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing.", + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account.", "source": "home" }, { @@ -1208,7 +1208,7 @@ "direction": "collection", "percent": 5, "source": "home", - "note": "Rate advertised on the home page; for mobile money, that of the cheapest method in the country. The page also states a fixed 100 FCFA per transaction without saying which rates it adds to. Check the rate applied to your account before committing." + "note": "Unless stated otherwise, rates are those of the home page, for mobile money that of the cheapest method in the country. The page also states a fixed 100 FCFA without saying which rates it adds to. Check the rate on your account." } ], "integration": { diff --git a/docs/architecture.md b/docs/architecture.md index b68a037..35a0902 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -79,7 +79,10 @@ A provider belongs to one or more families: amount, cap, minimum, tiers, VAT, payer, plan. A rate a standard online payment does not pay is marked `restricted_to` (`in_person`, `merchant_app`, `segment`) and left out of the home fee card. So is a rate - the source gives only as a floor ("from X%"), marked `starting_rate`. + the source gives only as a floor ("from X%"), marked `starting_rate`. A rate read from a merchant account cites an + `integrator_evidence` source; its note then heads the country card, apart + from the published rates. When a provider publishes no fee table but says + where its fees are found, `integration.pricing_route` records it. - **settlements**: how long collected money takes to reach the merchant, per destination (mobile money, bank account) and country when the source names one, automatic or on request. One entry per statement: a provider whose diff --git a/src/components/FeeCountryCard.astro b/src/components/FeeCountryCard.astro index ebffcc4..c7acaae 100644 --- a/src/components/FeeCountryCard.astro +++ b/src/components/FeeCountryCard.astro @@ -40,6 +40,7 @@ const folded = (index: number): '' | undefined => (extra > 0 && index >= FIRST_L
{card.common}
}