[TEST] Add gateway.payment function tests.
[FEATURE] Add listOutgoing, recordIncoming, recordOutgoing payment functions.