Interface C2bService
- All Known Subinterfaces:
MpesaService
- All Known Implementing Classes:
MpesaClient
public interface C2bService
-
Method Summary
Modifier and TypeMethodDescriptionregisterC2bUrl(C2bRegisterUrlRequest request) Registers the Confirmation and Validation URLs for a C2B shortcode.
-
Method Details
-
registerC2bUrl
Registers the Confirmation and Validation URLs for a C2B shortcode.- Parameters:
request- The C2B registration request object.- Returns:
- The response confirming the registration.
- Throws:
MpesaException- If a network or API error occurs.
-