Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ See `docs/adr/0002-every-value-is-sourced.md`.
if any, are always labelled and never change a rating or an order.
- **Facts, not opinions, in data.** Reviews are opinions and are stored
separately, attributed, dated and backed by evidence of a real integration.
- **Logos are trademarks.** Default to a colour badge with the provider's
initial. A logo is added only from a domain or an official social media
page of the provider, with its URL and date in `data/reference/logos.json`,
and removed on request. See
`docs/adr/0004-provider-logos.md`.
- **Logos are trademarks.** A logo is added only from a domain or an official
social media page of the provider, with its URL and date in
`data/reference/logos.json`, and removed on request. A verified sheet needs
its `mark` logo; drafts may keep the letter badge. See
`docs/adr/0004-provider-logos.md` and
`docs/adr/0005-verified-sheets-need-a-logo.md`.

---

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ account. You can answer in English or French.

Records start as drafts and only verified ones appear on the site. A draft
becomes **verified** once each value has been checked against the page it
cites. Filling in drafts is the most useful thing you can do right now.
cites and it has the provider's logo (see "Writing rules"). Filling in drafts is the most useful thing you can do right now.

1. Pick an issue labelled `good first issue` and say you are on it.
2. Collect what the issue lists (countries, fees, account opening, developer
Expand Down
20 changes: 10 additions & 10 deletions data/providers/passerelle.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"status": "verified",
"verified_at": "2026-12-02",
"families": [
"orchestrator"
"aggregator"
],
"website": "https://passerelle.abecedaire.tg",
"headquarters": {
"value": "TG",
"source": "terms"
},
"summary": "Lome-based routing layer: one API sends each mobile money or card payment in XOF to a partner aggregator and fails over to a backup one. Sandbox from sign-up, signed webhooks and an MCP server. Partners named: PaygateGlobal, MoneyFusion, KKiaPay. No public fees found.",
"summary": "Lome-based service: one API routes XOF mobile money and card payments to a partner aggregator, with a backup one. Partners named: PaygateGlobal, MoneyFusion, KKiaPay. Sandbox from sign-up, signed webhooks and an MCP server. No public fees found.",
"sources": {
"products": {
"url": "https://passerelle.abecedaire.tg/produits",
Expand All @@ -23,7 +23,7 @@
"url": "https://passerelle.abecedaire.tg/conditions-utilisation",
"kind": "official_page",
"observed_at": "2026-12-02",
"note": "Revised 2026-09-28. Operated by Abecedaire Ent, a single-member limited company registered in Lome, Togo. Says passerelle. never holds merchant or customer funds, which move on partner aggregators' rails under a contract held by the merchant or by passerelle., depending on the setup. Fees are those shown at sign-up or in the dashboard. No availability commitment (SLA) at this stage. Production needs further information, in proportion to the volume processed. The settlements guide (docs.passerelle.abecedaire.tg/guides/settlements) describes fees deducted from each successful payment and a periodic payment of the balance due to the merchant's chosen account. The privacy policy (https://passerelle.abecedaire.tg/confidentialite, revised 2026-09-28, read 2026-12-03) says transaction data is shared with the aggregator a given transaction is routed to, and names PaygateGlobal, MoneyFusion or KKiaPay, as the case may be. It does not say which one serves which country or method."
"note": "Revised 2026-09-28. Operated by Abecedaire Ent, a single-member limited company registered in Lome, Togo. Says passerelle. never holds merchant or customer funds, which move on partner aggregators' rails under a contract held by the merchant or by passerelle., depending on the setup. Fees are those shown at sign-up or in the dashboard. No availability commitment (SLA) at this stage. Production needs further information, in proportion to the volume processed. The settlements guide (docs.passerelle.abecedaire.tg/guides/settlements, read again 2026-12-03) says fees are deducted from each successful payment and the balance due is paid periodically to the merchant's chosen account, and the API reference reports that balance (https://docs.passerelle.abecedaire.tg/api/merchants-controller-get-balance, read 2026-12-03). These pages do not say on whose account the money sits before that payment. The privacy policy (https://passerelle.abecedaire.tg/confidentialite, revised 2026-09-28, read 2026-12-03) says transaction data is shared with the aggregator a given transaction is routed to, and names PaygateGlobal, MoneyFusion or KKiaPay, as the case may be. It does not say which one serves which country or method."
},
"docs-payments": {
"url": "https://docs.passerelle.abecedaire.tg/guides/payments",
Expand Down Expand Up @@ -58,7 +58,7 @@
},
"coverage": [
{
"country": "BF",
"country": "TG",
"collection": true,
"methods": [
{
Expand Down Expand Up @@ -92,7 +92,7 @@
"source": "docs-payments"
},
{
"country": "CI",
"country": "BF",
"collection": true,
"methods": [
{
Expand All @@ -109,7 +109,7 @@
"source": "docs-payments"
},
{
"country": "GW",
"country": "CI",
"collection": true,
"methods": [
{
Expand All @@ -126,7 +126,7 @@
"source": "docs-payments"
},
{
"country": "ML",
"country": "GW",
"collection": true,
"methods": [
{
Expand All @@ -143,7 +143,7 @@
"source": "docs-payments"
},
{
"country": "NE",
"country": "ML",
"collection": true,
"methods": [
{
Expand All @@ -160,7 +160,7 @@
"source": "docs-payments"
},
{
"country": "SN",
"country": "NE",
"collection": true,
"methods": [
{
Expand All @@ -177,7 +177,7 @@
"source": "docs-payments"
},
{
"country": "TG",
"country": "SN",
"collection": true,
"methods": [
{
Expand Down
4 changes: 3 additions & 1 deletion data/reference/logos.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,7 @@
{"provider": "yoco", "variant": "mark", "file": "logos/yoco-mark.png", "url": "https://www.yoco.com/favicon-32x32.png?v=dbf952510fd25cdd51080a06cb2d96b6", "observed_at": "2026-11-19"},
{"provider": "youcan-pay", "variant": "mark", "file": "logos/youcan-pay-mark.png", "url": "https://youcanpay.com/build/assets/favicon-BGdoIH6J.ico", "observed_at": "2026-11-19"},
{"provider": "novasend", "variant": "wordmark", "file": "logos/novasend-wordmark.png", "url": "https://novasend.app/assets/logo/novasend.png", "observed_at": "2026-12-02"},
{"provider": "novasend", "variant": "mark", "file": "logos/novasend-mark.png", "url": "https://portal.novasend.app/favicon.ico", "observed_at": "2026-12-02"}
{"provider": "novasend", "variant": "mark", "file": "logos/novasend-mark.png", "url": "https://portal.novasend.app/favicon.ico", "observed_at": "2026-12-02"},
{"provider": "passerelle", "variant": "mark", "file": "logos/passerelle-mark.png", "url": "https://passerelle.abecedaire.tg/favicon.svg", "observed_at": "2026-12-02"},
{"provider": "afribapay", "variant": "mark", "file": "logos/afribapay-mark.png", "url": "https://www.afribapay.com/wp-content/uploads/2023/12/favicon-300x300-1.png", "observed_at": "2026-12-03"}
]
20 changes: 20 additions & 0 deletions docs/adr/0005-verified-sheets-need-a-logo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 0005. A verified sheet needs a logo

Date: 2026-12-03
Status: accepted. Amends 0004.

## Context

Two sheets were published with the letter badge although the provider had an
official icon: nothing checked for it.

## Decision

A sheet cannot be verified without its `mark` logo, under the rules of 0004.
A draft keeps the letter badge until a file meets those rules.

## Consequences

- The build fails when a verified provider has no `mark`.
- A removal request on a verified sheet also calls for a decision on that
sheet.
Binary file added public/logos/afribapay-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logos/passerelle-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/i18n/data-fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ export const DATA_FR: Readonly<Record<string, string>> = {
"Real-time settlement: funds reach the bank immediately after a withdrawal request. The page names no eligible bank.":
"Reversement en temps réel : les fonds arrivent à la banque dès la demande de retrait. La page ne nomme aucune banque éligible.",

'Lome-based routing layer: one API sends each mobile money or card payment in XOF to a partner aggregator and fails over to a backup one. Sandbox from sign-up, signed webhooks and an MCP server. Partners named: PaygateGlobal, MoneyFusion, KKiaPay. No public fees found.':
'Couche de routage basée à Lomé : une seule API envoie chaque paiement mobile money ou carte en XOF vers un agrégateur partenaire, et bascule vers un autre en cas d’échec. Mode test dès l’inscription, webhooks signés et serveur MCP. Partenaires nommés : PaygateGlobal, MoneyFusion, KKiaPay. Frais publics non trouvés.',
'Lome-based service: one API routes XOF mobile money and card payments to a partner aggregator, with a backup one. Partners named: PaygateGlobal, MoneyFusion, KKiaPay. Sandbox from sign-up, signed webhooks and an MCP server. No public fees found.':
"Service basé à Lomé : une seule API envoie les paiements mobile money et carte en XOF à un agrégateur partenaire, avec un partenaire de secours. Partenaires nommés : PaygateGlobal, MoneyFusion, KKiaPay. Mode test dès l’inscription, webhooks signés et serveur MCP. Frais publics non trouvés.",
'Methods are offered through partner aggregators; the docs do not say which one serves this country.': 'Moyens de paiement proposés via des agrégateurs partenaires ; la documentation ne dit pas lequel sert ce pays.',
'Signing can be turned off per account.': 'La signature peut être désactivée pour un compte.',
'Lists a REST API and an MCP server; names no SDK.': 'Présente une API REST et un serveur MCP ; aucun SDK nommé.',
Expand Down
3 changes: 2 additions & 1 deletion src/lib/check-dataset.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Provider } from '../schema/provider';
import { checkGlossary } from './check-glossary';
import { checkLicencesAgainstRegisters } from './check-licences';
import { checkBrandLogos, checkLogos, checkMethodLogos } from './check-logos';
import { checkBrandLogos, checkLogos, checkMethodLogos, checkProviderMarks } from './check-logos';
import { checkReferenceData, reporter } from './check-reference-data';
import { checkReferences } from './check-references';
import { checkSources } from './check-sources';
Expand All @@ -23,6 +23,7 @@ export function checkDataset(dataset: Dataset): Issue[] {
const report = reporter(issues, file);

checkSlug(file, provider, report);
checkProviderMarks(dataset.logos, provider, report);
checkSources(provider, report);
checkReferences(provider, { known, report });
checkLicencesAgainstRegisters(provider, dataset.registers, report);
Expand Down
12 changes: 11 additions & 1 deletion src/lib/check-logos.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { BrandLogo, Logo, MethodLogo } from '../schema/logo';
import type { Provider } from '../schema/provider';
import { reporter } from './check-reference-data';
import { BRAND_LOGOS_FILE, LOGOS_FILE, METHOD_LOGOS_FILE } from './data-paths';
import type { Issue, KnownIds } from './dataset-types';
import type { Issue, KnownIds, Report } from './dataset-types';

/** Each logo belongs to a known provider, once per variant, under the file name its entry implies. */
export function checkLogos(logos: Logo[], known: KnownIds, issues: Issue[]): void {
Expand All @@ -26,6 +27,15 @@ export function checkLogos(logos: Logo[], known: KnownIds, issues: Issue[]): voi
});
}

/** A verified sheet is never published with the letter badge: it needs the provider's square mark. */
export function checkProviderMarks(logos: Logo[], provider: Provider, report: Report): void {
const hasMark = logos.some((logo) => logo.provider === provider.slug && logo.variant === 'mark');

if (provider.status === 'verified' && !hasMark) {
report('status', 'A verified provider needs a "mark" logo');
}
}

/** Each brand logo belongs to a brand of `brands.json`, once per variant, under the file name its entry implies. */
export function checkBrandLogos(logos: BrandLogo[], known: KnownIds, issues: Issue[]): void {
const report = reporter(issues, BRAND_LOGOS_FILE);
Expand Down
24 changes: 24 additions & 0 deletions tests/logos.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,27 @@ describe('checkMethodLogos', () => {
]);
});
});

describe('checkProviderMarks', () => {
const verified = provider({ status: 'verified', verified_at: '2026-12-03' });
const message = 'A verified provider needs a "mark" logo';

function markIssues(record: Record<string, unknown>, logos: Array<Record<string, unknown>>): string[] {
const data = { ...dataset(record), logos: logos.map((logo) => logoSchema.parse(logo)) };

return checkDataset(data)
.filter((issue) => issue.message === message)
.map((issue) => issue.file);
}

it('refuses a verified provider without a logo', () => {
expect(markIssues(verified, [])).toEqual(['data/providers/acme-pay.json']);
expect(markIssues(verified, [{ ...MARK, provider: 'ghost-pay', file: 'logos/ghost-pay-mark.svg' }])).toEqual(['data/providers/acme-pay.json']);
expect(markIssues(verified, [{ ...MARK, variant: 'wordmark', file: 'logos/acme-pay-wordmark.png' }])).toEqual(['data/providers/acme-pay.json']);
});

it('accepts a verified provider with its mark, and a draft without one', () => {
expect(markIssues(verified, [MARK])).toEqual([]);
expect(markIssues(provider(), [])).toEqual([]);
});
});
Loading