We use cookies to optimize your user experience. All information shared with us through cookies is secure and covered by our data privacy obligations. To learn more, view our privacy policy.
KongaPay Logo
KongaPayDevelopers
v1.0
DevelopersVirtual AccountReconciliation

Reconciliation

KongaPay provides four primary keys to reconcile incoming payments against your internal records.

Primary Reconciliation Keys

KeyDescription
external_referenceThe reference you provided at virtual account creation. Always unique per request.
session_idThe NIP session ID assigned by the interbank network. Use for deduplication.
amountConfirmed transaction amount. For nonstatic and static, this will match your expected amount.
statusFinal payment outcome: success, failed, or pending.

Recommended Strategy

๐ŸŽฏ

Primary reconciliation

Match incoming callbacks and status responses on external_reference.

๐Ÿ”„

Deduplication

Use session_id to detect and reject duplicate payment events for the same transaction.

๐Ÿ“…

Daily reconciliation job

Call GET /virtual/transactions and compare results against your internal transaction log.

โš ๏ธ

Mismatch handling

Flag any transaction where the callback amount does not match your expected amount and route to manual review.

Reconciliation Flow

1

Callback received

Extract external_reference + session_id

2

Dedup check

Is session_id already in your DB?

3

Reference match

Find internal order by external_reference

4

Amount validation

Does callback amount = expected amount?

5

Fulfil order

Mark as paid and trigger fulfilment

Daily Reconciliation Job

  1. 1.Call GET /virtual/transactions with pagination to fetch all transactions for the day
  2. 2.Compare each transaction against your internal order database
  3. 3.Flag any external_reference in the API response that is missing from your DB
  4. 4.Investigate and reconcile any gaps โ€” these could be missed callbacks