Skip to main content
Reconciliation compares what a connector says happened against what Pesaswap recorded. A payment can succeed in Pesaswap and never arrive in the settlement file, or arrive for a different amount, or arrive twice. Reconciliation finds those cases so they can be corrected before they reach your balance.
Reconciliation runs are operated by the Pesaswap team today. If you need the result of a run, or you believe a transaction has settled incorrectly, contact your Pesaswap representative.

Clearing stuck transactions

The most common reason to run reconciliation is a transaction that never finished. A mobile money payment only completes when the connector tells us the outcome. If that confirmation never arrives — a callback is dropped, a gateway times out, a provider goes quiet mid-run — the payment stays processing or requires_customer_action indefinitely. Nothing is wrong with the record; we simply never learned how it ended. Polling cannot help, because the connector has no answer to give either. The settlement statement does have the answer. It is the provider’s own record of what actually moved. Reconciliation uses it to settle those transactions one way or the other: A payment that was never going to arrive stops sitting in your pending figures, and one that did arrive gets credited. Either way the transaction reaches a final state, backed by the provider’s own file rather than a guess.
This is why approval matters more than it looks. Approving a reconciliation mismatch can change a payment’s status and move a wallet balance. It is not a bookkeeping acknowledgement — it is the correction itself.

How a run works

1

A statement is ingested

A connector’s statement or settlement file is uploaded for a given connector and report type. Password-protected files are supported — the password is used to open the file and is never stored or logged.
2

Columns are resolved

Statement formats differ by provider, so each connector has a column mapping that recognises its headers. A column such as the gateway transaction reference may be called “Transaction ID”, “PSP Reference” or “Connector Transaction ID” depending on the file; the mapping resolves all of them to the same field.Where a file carries separate debit and credit columns, the run uses the file’s own column direction rather than guessing from the sign of the amount.
3

Rows are matched

Each statement row is matched against Pesaswap’s own record of the payment or payout, using the references both sides share.
4

Mismatches are raised

Any row that does not match cleanly becomes a mismatch, with a reason attached. Matched rows need no further action.
5

Mismatches are resolved

Each mismatch is reviewed and either approved or declined. Approving a mismatch can create a wallet ledger entry to correct the balance. Declining records a reason, so the decision is auditable later.Not every mismatch can be approved — some kinds are decline-only by design. See What can and cannot be approved.

What a mismatch means

A mismatch is a question, not a verdict. It marks a row that needs a human decision rather than one that is necessarily wrong.

What can and cannot be approved

Approving a mismatch is the action that moves money or changes a payment’s status, so it is deliberately restricted.

Currency mismatches are always decline-only

A currency mismatch means the statement and Pesaswap disagree on which currency the money is in. There is no FX conversion in the reconciliation path, so there is no way to compute the difference between two amounts in different currencies without inventing a rate. Approving would post a second, unrelated entry alongside the original and effectively pay the merchant twice. These can only be declined and corrected out of band.

Duplicates can be approved only in one provable case

A duplicate means the same internal record was matched twice by the statement. Approving would normally double-count money already accounted for — but not always: Before a duplicate resolution is applied, a preview shows exactly which records would be failed.

Outstanding payments can be approved only while still outstanding

Approving a missing-from-statement row marks that payment failed. If the payment has already reached a terminal status since the mismatch was raised, approval is refused and the row must be declined instead — the situation it described no longer exists.

Outstanding payments

A payment that Pesaswap recorded but which never appears in a statement is easy to miss, because nothing in the file points at it. A run flags payments that fall inside a statement’s own date window but are absent from it, so a missing settlement surfaces as a finding rather than silence.

Supported statements

Column mappings exist for: A card settlement mapping also exists for Mastercard. Beyond these, a default mapping handles common header names, so a file that uses conventional column titles can often be read without a connector-specific mapping.

Payout reconciliation

Payouts reconcile the same way as payments, with two additions:
  • Payout charges and fees are reconciled against the ledger, so the fee a connector deducted is checked against the fee Pesaswap recorded.
  • A connector reversal is detected and treated as a failed payout, rather than leaving a payout marked successful when the money came back.
Internal treasury movements are excluded from matching, so moving float between accounts does not appear as an unmatched transaction.

Getting the results

Mismatches from a run can be exported as a CSV, prepared in the background and downloaded when ready. A per-merchant summary is available for runs that cover more than one merchant.
Reconciliation endpoints are currently available to Pesaswap administrators and dashboard users, not through merchant API keys. Programmatic access for merchants is on the roadmap.