AVAILABLE ENDPOINTS
(GET) REGISTER VALIDATION & CONFIRMATION URL:
https://api.kwangu.v1.payment.kwangu.health/registerurl
(POST) SEND STK PUSH:
https://api.kwangu.v1.payment.kwangu.health/send-stk-push
POST BODY
{
"phone" : "703375006",
"amount": "5",
"reference" : "KWANGU",
"callbackURL" : "https://api.kwangu.v1.payment.kwangu.health/get-stk-callback"
}
(POST) CHECK STK PUSH STATUS:
https://api.kwangu.v1.payment.kwangu.health/get-status
POST BODY
{
"CheckoutRequestID" : "ws_CO_02022023180913966703375006"
}
(POST) SEND B2C REQUEST:
https://api.kwangu.v1.payment.kwangu.health/process-b2c
POST BODY
{
"ReceiverPhoneNumber" : "254703375006",
"Amount" : "100"
}
(POST) SEND B2C STATUS CHECK:
https://api.kwangu.v1.payment.kwangu.health/check-b2c-transaction
POST BODY
{
"TransactionID" : "QRK6384KLJ2"
}
(GET) GET CALL BACK:
https://api.kwangu.v1.payment.kwangu.health/get-stk-callback
ID => PRIMARY iNDEX => AUTO INCREMENT
(POST) SEND FCM TOKEN:
https://api.kwangu.v1.payment.kwangu.health/send-fcm-notification
POST BODY
{
"device_id" : "fcm-token",
"title" : "FCM Message Title",
"message" : "FCM Message",
"session_id" : "Session ID"
}