Reconciliation might be the most painful process in a payment system.
Good to know about double entry book keeping
Good to know about double entry book keeping