Overview
Service to sending SMS messages to customer. Provider for sending SMS is Infobip.
Information about the provider: Infobip
API
HTTP
https://infobip-sms-gateway.apps.brave.safibank.online/swagger/views/swagger-ui/
POST /sms/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, uses Infobip’s ApiClient
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).