cURL
curl --request POST \ --url https://dev.users.niobi.co/api/v2/stk-deposit \ --header 'Content-Type: application/json' \ --data '{ "client_id": "<string>", "sender": "<string>", "timestamp": 123, "salt": "<string>", "signature": "<string>", "params": { "country_id": 123, "correspondent": "MTN_MOMO_NGA", "currency": "<string>", "amount": 123, "mobile": "<string>", "callback_url": "<string>" } }'
{ "success": true, "message": "Verification token was sent to your mobile number. Kindly verify to proceed with payment.", "data": {} }
Data needed for M-Pesa STK Push
Client identifier
Sender's entity title
Timestamp of the request
Salt for the request
Signature for the request
Show child attributes
Success
true
"Verification token was sent to your mobile number. Kindly verify to proceed with payment."