Partner API
The Partner API lets an authorised bank or financial partner integrate directly with a SACCO's accounts — balance inquiry, transaction statements, disbursements, and collections — over a credentialed, signed REST API.
Base URLs
Sandbox and production are separate hosts, not just separate credentials — a request only succeeds if the credential's mode matches the host it was sent to. A sandbox key (pk_sandbox_...) on the production host, or a live key on the sandbox host, is rejected with INVALID_HOST before signature verification even runs.
| Environment | Base URL |
|---|---|
| Production | https://prodsacco.officeug.com/api/partner/v1 |
| Sandbox | https://sandboxsacco.officeug.com/api/partner/v1 |
All endpoints are versioned under v1. A future breaking change will ship under a new version prefix rather than changing this one.
Migrating from the old single-host URL?
https://officeug.com/api/partner/v1no longer serves Partner API traffic. Point your integration atprodsacco.officeug.com(orsandboxsacco.officeug.comfor testing) — everything else (credentials, signing, request/response shapes) is unchanged.
What you can do
| Capability | Endpoint | Scope required |
|---|---|---|
| Check a savings account's balance | GET /accounts/{account_ref}/balance |
balance:read |
| Read a transaction statement | GET /accounts/{account_ref}/statement |
statement:read |
| Confirm who an account belongs to | GET /accounts/{account_ref}/verify |
account:verify |
| Disburse funds into a member's account | POST /disbursements |
disbursement:write |
| Collect funds out of a member's account | POST /collections |
collection:write |
| Confirm a member's OTP to complete a collection (on by default for live partners, unless the SACCO has turned it off for your credential — see Collections) | POST /collections/{operation_id}/confirm |
collection:write |
| Check an operation's status | GET /operations/{operation_id} |
(none — own operations only) |
| List / reconcile your operations | POST /operations/query (GET /operations deprecated, sunset 2027-01-30) |
(none — own operations only) |
| Read a family pot summary (family vault SACCOs only, not available in sandbox) | GET /pot |
balance:read |
| Report the final result of a pending operation | POST /webhooks/{partner_slug} |
(signed with your webhook secret) |
Each partner is issued an API key scoped to exactly one SACCO and only the scopes it's been explicitly granted — a key with balance:read alone cannot disburse or collect funds, even with a perfectly valid signature.
One partner, one SACCO
A Partner API credential is always registered to a single company. There is no way for one set of credentials to reach more than one SACCO's data, by design — every request is scoped server-side to the company the credential belongs to before any account lookup happens.
Getting credentials
Credentials (an API key and secret, plus an optional separate webhook secret) are issued by the SACCO itself, from its own admin dashboard — contact the SACCO you're integrating with to request access. You'll actually be issued two pairs: a live one and a sandbox one — see Sandbox.
Next steps
- Read Authentication to understand how every request is signed.
- Import the Postman Collection — every endpoint, with signing already scripted — and try a Balance Inquiry against your sandbox credentials first. No real money involved while you build.
- Review Error Codes so your integration can handle failures predictably.