bobplus-api
Bobplus Payments API (Africa) integration knowledge: bearer auth, RSA request signing, X-Hash, C2B payins (mobile money, ZAR EFT/Capitec, Nigeria virtual accounts), B2C payouts (bank, mobile money), account services (balance, statement), utilities (bank codes, webhook callbacks, transaction status query). Use when answering questions or writing code against the Bobplus API: bobplus, bob+, developers.bobplus.africa, африканские платежи, mobile money, momo payin/payout, C2B/B2C Africa.
- License 许可
- BSD-3-Clause
- 所属仓库
- kalaverin/skills
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bobplus-api
- runtime
- true
- version
- 0.1.0
- requires
- [ "frontmatter-protocol" ]
- triggers
- { "any": { "reason": "Questions or code work against the Bobplus payments platform must be answered from the captured reference corpus, not from training data.", "request": "bobplus, bob+, bob plus, bobplus api, bobplus africa, developers.bobplus.africa, бобплюс, африканские платежи, платежи африка, mobile money africa, momo payin, momo payout, c2b africa, b2c africa, m-pesa integration, mpesa africa payments" } }
- description
- Bobplus Payments API (Africa) integration knowledge: bearer auth, RSA request signing, X-Hash, C2B payins (mobile money, ZAR EFT/Capitec, Nigeria virtual accounts), B2C payouts (bank, mobile money), account services (balance, statement), utilities (bank codes, webhook callbacks, transaction status query). Use when answering questions or writing code against the Bobplus API: bobplus, bob+, developers.bobplus.africa, африканские платежи, mobile money, momo payin/payout, C2B/B2C Africa.
02 资源文件 11
- 参考文档CHANGELOG.md4.3 KB
- 参考文档prompts/refresh.md14.0 KB
- 参考文档README.md6.2 KB
- 参考文档references/account_services.md7.6 KB
- 参考文档references/contradictions.md24.9 KB
- 参考文档references/getting_started.md10.6 KB
- 参考文档references/nigeria.md14.8 KB
- 参考文档references/payins.md14.6 KB
- 参考文档references/payouts.md11.7 KB
- 参考文档references/security.md10.5 KB
- 参考文档references/utilities.md11.8 KB
03 SKILL.md 正文
SKILL: Bobplus Payments API (Africa)
This skill is the offline knowledge base for the Bobplus Payments API v2 (financial, eCommerce, and business management APIs for Africa), captured from https://developers.bobplus.africa. Use it to answer integration questions and to write code against the API without visiting the site.
Provenance pin: docs version V2.1.2 (no newer version string appears in the refreshed source), re-scraped 2026-09-09 from 18 URLs; 17 returned HTTP 200, /south-africa still returned HTTP 500 — its ZAR flow is covered only in references/payins.md. The site sends no Last-Modified/ETag headers, so freshness is only verifiable by re-scraping; the re-scrape runbook lives in prompts/refresh.md.
1. Compliance and Default Rules
- This corpus is the binding source of truth for Bobplus API facts in this workspace: endpoint paths, methods, field sets, channel codes, signature recipes, and payload shapes MUST come from
references/, never from training data or guesses. If the corpus does not cover a question, say so and offer to check the live site per thekagi-searchskill. - Base URLs are placeholders in the source docs (
https://prod-url-here,https://base-url-here.com,https://here-prod-api-url.com). Code you produce MUST take the real base URL from configuration, never hardcode a placeholder or an invented host. - Examples in the corpus use masked credentials (
XXXXXXX,<token>); keep them masked in your output.
2. The Signature Map (always check before writing request code)
Signature requirements differ per endpoint — every signed value is SHA-256 with the RSA private key, base64-encoded, per references/security.md:
| Operation | Signed concatenation | Extra headers |
|---|---|---|
Auth login (/api/v2/auth/login) |
— (no signature) | — |
Balance (GET /api/v2/wallet/{wallet_no}/{currency}) |
wallet_no+currency |
— |
Statement (POST /api/v2/wallet/statement) |
wallet_no+to_date+limit |
— |
Payin (POST /api/v2/payment/) |
channel+reference+currency+amount |
x-hash ACTIVE in the curl example since the 2026-09-09 re-scrape but still absent from the headers table; requirement ambiguous — see references/payins.md |
Payout (POST /api/v2/payment/) |
channel+reference+currency+amount |
x-hash REQUIRED |
Status query (POST /api/v2/payment/status-query) |
wallet_no+reference |
— |
Inbound webhook (result_url) |
HMAC-SHA256 keyed with the consumer key over the documented field order (success/failure differ) | verify hash, ack HTTP 200 |
Known source-doc inconsistencies (preserved deliberately — flag them to the user when relevant; full registry in references/contradictions.md):
- NGN payout channel is documented both as
300043(Nigeria guide, momo payout table) and as900020/900021(bank payout table). - Payin
x-hash: sent as an active header in the curl example but omitted from the request-headers table. - Rate limit is stated as 1500/minute on the main page and 1500/second on the bank-codes page.
- South Africa payin channel is documented as
500000(mobile-money page) and as900017/900018(EFT/Capitec page). - Full-statement signature string omits the required body field
from_date. - X-Hash payload is undefined beyond "sign
businessIdor the agreed payload". - Failed-callback HMAC field order in prose differs from the sample JSON order.
3. Lazy-Load Protocol (CRITICAL)
You MUST NOT read the references/ files in full. Route through their frontmatter cards and extract only the sections you need per the canonical loader mechanics in frontmatter-protocol [ref: #lazy-load-routing] (subject map → card selection → bounded anchor extraction).
Routing Index
| Trigger / Situation | File | Anchor |
|---|---|---|
| Platform conventions, versioning, rate limits, API families. | references/getting_started.md |
[ref: #getting-started-platform-overview] |
| Supported countries, currencies, operators, payin/payout coverage per market. | references/getting_started.md |
[ref: #getting-started-country-support] |
| IP whitelist setup and production cutover. | references/getting_started.md |
[ref: #getting-started-ip-whitelisting] |
| Bearer token issuance, expiry, 401 handling. | references/security.md |
[ref: #security-authentication] |
RSA key pair, request signature generation. |
references/security.md |
[ref: #security-signature] |
x-hash header generation. |
references/security.md |
[ref: #security-x-hash] |
| Wallet balance lookup. | references/account_services.md |
[ref: #account-services-balance] |
| Full transaction statement over a date range. | references/account_services.md |
[ref: #account-services-statement] |
| Mobile money payin in any country; per-country payin channel codes. | references/payins.md |
[ref: #payins-mobile-money] |
ZAR payin: EFT 900017, Capitec 900018, acc_ref. |
references/payins.md |
[ref: #payins-south-africa] |
NGN payin via dynamic virtual account 300041. |
references/payins.md |
[ref: #payins-nigeria-virtual-account] |
| Nigeria channels, request fields, all NGN examples, statuses. | references/nigeria.md |
[ref: #nigeria-payment-channels], [ref: #nigeria-request-fields], [ref: #nigeria-payin-examples], [ref: #nigeria-payout-example], [ref: #nigeria-statuses-and-notes] |
| Bank payout to account number; bank channel codes. | references/payouts.md |
[ref: #payouts-bank] |
| Mobile money payout; per-country payout channel codes. | references/payouts.md |
[ref: #payouts-mobile-money] |
| Bank code lookup by country. | references/utilities.md |
[ref: #utilities-bank-codes] |
| Webhook callback payload and HMAC verification. | references/utilities.md |
[ref: #utilities-webhook-callback] |
| On-demand transaction status check. | references/utilities.md |
[ref: #utilities-transaction-query] |
| Re-scraping and actualizing this corpus. | prompts/refresh.md |
— |
4. Source URL Map
Base URL: https://developers.bobplus.africa. Page names as rendered on each page; every section in references/ also carries a Sources: line pointing at the page(s) it was curated from.
| Page | URL | Covered in |
|---|---|---|
| Developer Docs (home) | / |
references/getting_started.md |
| Country Support | /country-support |
references/getting_started.md |
| IP Whitelisting | /ip-whitelist |
references/getting_started.md |
| API Authentication | /authentication |
references/security.md |
| Generate Signature | /generate-signature |
references/security.md |
| Generate X-Hash | /generate-x-hash |
references/security.md |
| Fetch Balance | /account-services/get-balance |
references/account_services.md |
| Account Full Statement | /account-services/full-statement |
references/account_services.md |
| Mobile Money Deposit | /c2b/momo-payin |
references/payins.md |
| South Africa Payin — EFT / Capitec | /c2b/south-africa-payin |
references/payins.md |
| Nigeria Collections — Virtual Account | /c2b/nigeria-payin |
references/payins.md |
| Nigeria (NGN) Integration Guide | /nigeria |
references/nigeria.md |
| South Africa Integration Guide | /south-africa |
broken (HTTP 500) at pin date |
| Bank Payout — To Account Number | /b2c/bank-payout |
references/payouts.md |
| MoMo Payout (Business to Client) | /b2c/momo-payout |
references/payouts.md |
| Bank Codes | /bank-codes |
references/utilities.md |
| Webhook Callback | /callback-response |
references/utilities.md |
| Payment Transaction Status | /transaction-status/payment |
references/utilities.md |
5. Master Execution Workflow
- Classify the task: question answering, integration design, or code writing against the Bobplus API.
- Route: pick the section(s) from the Routing Index (or the corpus subject map when the index misses), extract per the bounded-extraction mechanics.
- Answer or write code strictly from the extracted material: correct endpoint, method, field set, channel code, and signature recipe (§2).
- Verify: base URL comes from configuration; signatures use the right concatenation for the endpoint; payouts include
x-hash;referenceis unique per transaction;result_urlhandling and HMAC verification are in place for webhooks.
6. Violation Protocol
If you answer Bobplus API questions from training data, invent endpoints/fields/channel codes, hardcode a placeholder or invented base URL, or skip the corpus routing before writing integration code, halt immediately, discard the offending output, load the correct section per §3, and redo the work from the corpus.
7. Open Questions for Bobplus
The following gaps prevent the corpus from claiming final "source of truth" status. When any of these affect an integration, raise them with Bobplus support/engineering and record the answer in references/contradictions.md or the relevant reference file.
- Channel-code authority: Which codes are current for Benin, Cameroon, DRC, Ivory Coast, Mali, Senegal, Rwanda, Burundi, Zimbabwe? Are the pre-2026-08-25 codes deprecated, still valid, or simply corrected?
telcofield: Istelcomandatory for Cameroon, Senegal, Ivory Coast, Mali, DRC, and Benin on both payins and payouts? What is the exact accepted-value list per country?- X-Hash on payins: The momo-payin curl example now sends
x-hashas an active header (previously commented out), while the headers table still omits it. Isx-hashrequired for mobile-money payins, South Africa payins, or Nigeria virtual-account payins — and what should be signed? - X-Hash payload for payouts: For payout endpoints that require
x-hash, what exact string should be signed —businessId, the request payload, or something else? - NGN payout routing: Should integrators use
300043,900020, or900021for Nigeria bank payouts? When does each apply? - South Africa payin routing: Should integrators use generic mobile-money channel
500000or dedicated EFT/Capitec channels900017/900018? - Statement signature: Should
from_datebe included in the full-statement signature concatenation? - Failed-callback hash order: Should the HMAC use the documented textual order or the sample JSON field order?
- Production base URL: What is the real production host? The docs continue to use placeholders.
- Virtual-account expiry: The Nigeria VA example shows
expiresone hour before generation. What is the real TTL? result_urlfor Nigeria payouts: The request-fields table marksresult_urlas required, but the bank-transfer payout example omits it. Is it required in practice?- Balance
account.namesemantics: the balance response carriesdata.account.name, empty in the source example. Is it a wallet label, the holder name, or the business name? - Personal-data field semantics: what exactly do
acc_name/acc_norepresent in the status-query response and in the Nigeria VA response (data.acc_namevsvirtual_account.account_name)? Payer, recipient, or wallet holder? The docs show the fields but never define them.
04 同仓库更多 Skills
todo-protocol
Mandatory protocol for using the SetTodoList tool. Governs when to create a todo list, how to update it without violating immutability rules, how to synchronize item status after every tool call, and the forbidden mutations. Always active.
subagents-protocol
Mandatory protocol for delegating work to built-in subagents (coder, explore, plan), also called our bots by users. Always active. Owns the context-hygiene delegation test (material vs answer, cost balance, warm-instance reuse), launch parameters (mandatory explicit `model`), the single-source model-selection table, answer budgets, degradation handling, the launch checklist, and the role library for delegated review/audit with intent routing (`references/roles.md`).
serena-protocol
MANDATORY skill for Serena (MCP) memory, knowledge base, and symbolic code exploration operations. Use whenever the agent needs to: read or write Serena memories, mutate or persist memory, explore code via symbolic MCP tools, resolve contradictions in stored knowledge, or follow memory metadata, naming, and routing conventions.
read-for-comments
Mandatory local standards library and archive. Before fetching any standard from the internet, the agent MUST check the Serena `standard/` archive and this skill's `references/` seed; after ANY standard-body download, the agent MUST archive it per the event-bound Archival Rule. Governs standard lookup, fetch, archival, and the family and full-body rules.
python-lang
MANDATORY skill for Python code. Use when writing, editing, refactoring, or reviewing Python files, modules, packages, classes, functions, type annotations, imports, exceptions, comprehensions, decorators, or docstrings. Enforces Google Python Style Guide and a mandatory, unconditional Ruff format+check pipeline scoped strictly to the agent's own changes.
preflight-checklist
Mandatory session-initialization closer and Startup Gate audit. Always loaded. Runs EXACTLY ONCE at session start, after all skill loading completes: verifies Startup Gate completion with evidence (mirror sync, forced import, discovery, activation, memory priming, MCP declaration, think block), runs dynamic session checks derived from the active skill set (mode states, delegation readiness), and reports a compact evidence-backed verdict table to the user before the first task output. Any FAIL is fixed before proceeding.