Overview
Service to sending SMS messages to customer. Provider for sending emails is Macrokiosk.
Information about the provider:Macrokiosk
API
HTTP
https://macrokiosk-sms-gateway.apps.brave.safibank.online/swagger/views/swagger-ui/
POST /sms/v2/send/{number}
sends SMS message to the phone number
Kafka
Service listens to topic commons.send-message-infobip-sms.command.v2
and consumes SendSmsMessageCommandV2
.
After receiving Kafka message, service triggers HTTP request to Macrokiosk to send SMS to the customer.
Usage
SMS messages aren’t intended to be sent directly. Instead create template for required message in output-manager. Then just set channel
of POST request of generated endpoint to SMS
(note: there is another SMS service and it is responsibility of output-manager which one will be chosen).