From 93931869c13f36eb98a07a4a83e94a2927d60491 Mon Sep 17 00:00:00 2001 From: Bowo David Date: Wed, 10 May 2023 15:00:14 +0000 Subject: [PATCH] updated messaging (added notifiers) --- src/Services/MessagingService.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/Services/MessagingService.php b/src/Services/MessagingService.php index fcbdebd..56743f5 100755 --- a/src/Services/MessagingService.php +++ b/src/Services/MessagingService.php @@ -56,5 +56,20 @@ public function sendDisbursementEmail($data) { $url = "/send/disbursement-email"; return $this->handleRequest($this->client->post($url, $data)); } -} + public function sendKYCNotification($data) { + $url = "/send/kyc-status-email"; + return $this->handleRequest($this->client->post($url, $data)); + } + + public function sendTransactionNotification($data) { + $url = "/send/transaction-notification"; + return $this->handleRequest($this->client->post($url, $data)); + } + + public function sendDueLoanNotification($data) { + $url = "/send/due-loan-notification"; + return $this->handleRequest($this->client->post($url, $data)); + } + +} \ No newline at end of file