This canvas describes the Message service, which is part of the Flexifin application.

Name:

FlexiFin Message

Description:

This service exposes an API to send communications to customers. It also consumes different events to send communications

REST API:

Event Canvas

Event

Consuming Service

Application Assembly

EligibilityDeclined

LoanApplicationApproved

LoanApplicationDeclined

Banking

PaymentMadeNotificationRequested

ProofOfPaymentNotificationRequested

DeferredPayment

ApproachingCreditCardExpiryDetected

CreditCardExpired

CreditCardUpdated

DeferredPaymentPurchaseCreated

DeferredPurchaseMade

FullRefundCompleted

MerchantCreated

PartialRefundCompleted

PurchasePlanCompleted

PurchasePlanEarlySettled

FTL

LoanActivated

LoanStatementCompleted

PaymentApplied

Payment

DebitOrderPaymentFailed

DebitOrderPaymentReceived

DebitOrderPaymentTracking

PromissoryNoteActivated

PaymentHub

CreditCardExpiredBalanceCaptured

DeclinedInstalmentCollected

DeclinedInstalmentCollectedReattempted

DeclinedReAuthorised

DeclinedReAuthorisedReattempted

InstalmentCollectionFailed

MandateFailed

OutstandingBalanceCaptured

PreInstalmentCollected

PreReAuthorised

ReAuthorisationFailed

RefundFailed

SuccessfulInstalmentCollected

SuccessfulInstalmentCollectedReattempted

SuccessfulReAuthorised

SuccessfulReAuthorisedReattempted

Quote

QuoteAccepted

RCP

AccountActivated

AccountStatement

InterestCapitalised

VAS

VasContractActivated

External Calls

API

Target Service

GET - /banking-query/api/v1/transactions

flexifin-banking-query

POST - api.bulksms.com/v1/messages

external call to bulksms api

GET - deferred-payment/api/v1/financedPurchases/{shopperAccountNumber}

DeferredPayment

GET - document-generator/api/v1/messaging?eventType={templateName}&transportType={channel}

DocumentGenerator

GET - ftl-api/api/v1/loans/{accountNumber}

ftl-api

GET - masterdata/api/v1/customers/{customerId}

masterdata

GET - masterdata/api/v1/agents/fetchListAgentByOutletId?outletId={outletId}

masterdata

GET - masterdata/api/v1/agents/customers/{customerId}/relatedContactDetails?relatedPartyRoles[]={roleIds}&keyContactTypes[]={keyContactTypes}

masterdata

GET - quote/api/v1/quotes/{quoteId}

quote

GET - rcp-query/api/v1/accounts/{acocuntId}

rcp-query

POST - sendGrid SDK

POST - slack message SDK