You can top up your Africa's Talking account directly from your Mpesa business account using the Mpesa B2B API.
All you need to do is initiate a B2B request to our paybill account and provide the correct account number , in this case, the stash or payment wallet you want to credit.
An example : Initiate a B2B request to our paybill :
Destination paybill (PartyB) : 525900
Destination account (AccountReference) : your stash/payment wallet e.g. your_username.api (for stash) or walletXXXX (your wallet code for payment wallet, ensure to insert your wallet code #).
command id (CommandID): BusinessPaybill
Ensure to use the BusinessPaybill command id so that the payment can be automatically credited to your account.
Have further questions, reach out to firstname.lastname@example.org