Accept Payments
Niobi STK Deposit
Niobi STK Deposit
POST
/
api
/
stk-deposit
Copy
curl --request POST \
--url https://dev.users.niobi.co/api/stk-deposit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"amount": "integer",
"country_id": "integer",
"correspondent": "MTN_MOMO_NGA",
"currency": "string",
"callback_url": "string",
"mobile": "254123456789"
}'
Copy
{
"success": "true",
"message": "Verification token was sent to your mobile number. Kindly verify to proceed with payment",
"data": {
"MerchantRequestID": "1234-123456789-1",
"CheckoutRequestID": "ab_XY_*******************",
"ResponseCode": "0",
"ResponseDescription": "Success. Request accepted for processing",
"CustomerMessage": "Success. Request accepted for processing"
}
}
Authorizations
Enter token in format (Bearer <token>)
Body
application/json
Deposit STK Payment.
The body is of type object
.
Response
201
application/json
Ok.
The response is of type object
.
Copy
curl --request POST \
--url https://dev.users.niobi.co/api/stk-deposit \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"amount": "integer",
"country_id": "integer",
"correspondent": "MTN_MOMO_NGA",
"currency": "string",
"callback_url": "string",
"mobile": "254123456789"
}'
Copy
{
"success": "true",
"message": "Verification token was sent to your mobile number. Kindly verify to proceed with payment",
"data": {
"MerchantRequestID": "1234-123456789-1",
"CheckoutRequestID": "ab_XY_*******************",
"ResponseCode": "0",
"ResponseDescription": "Success. Request accepted for processing",
"CustomerMessage": "Success. Request accepted for processing"
}
}
Assistant
Responses are generated using AI and may contain mistakes.