mpesa.nim
1 # TODO: MPESA Integration https://developer.safaricom.co.ke/docs#command-ids 2 3 # Command ID Description 4 # TransactionReversal Reversal for an erroneous C2B transaction. 5 # SalaryPayment Used to send money from an employer to employees e.g. salaries 6 # BusinessPayment Used to send money from business to customer e.g. refunds 7 # PromotionPayment Used to send money when promotions take place e.g. raffle winners 8 # AccountBalance Used to check the balance in a paybill/buy goods account (includes utility, MMF, Merchant, Charges paid account). 9 # CustomerPayBillOnline Used to simulate a transaction taking place in the case of C2B Simulate Transaction or to initiate a transaction on behalf of the customer (STK Push). 10 # TransactionStatusQuery Used to query the details of a transaction. 11 # CheckIdentity Similar to STK push, uses M-Pesa PIN as a service. 12 # BusinessPayBill Sending funds from one paybill to another paybill 13 # BusinessBuyGoods sending funds from buy goods to another buy goods. 14 # DisburseFundsToBusiness Transfer of funds from utility to MMF account. 15 # BusinessToBusinessTransfer Transferring funds from one paybills MMF to another paybills MMF account. 16 # BusinessTransferFromMMFToUtility Transferring funds from paybills MMF to another paybills utility account.