Skip to content

Commit

Permalink
updated messaging (added notifiers)
Browse files Browse the repository at this point in the history
  • Loading branch information
iambowodavid committed May 10, 2023
1 parent 50156b3 commit 9393186
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/Services/MessagingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

}

0 comments on commit 9393186

Please sign in to comment.