POST
/
api
/
stk-deposit
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"
}'
{
  "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

Authorization
string
header
required

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.