v1

latestOpenAPI 3.1.02026-07-24416405768.8 KB
b) Tenant Configuration & Onboarding

Send a notification to customers

Delivers notifications via SMS, email, or push using configurable Handlebars templates.

post/eclipse-conductor/rest/v1/tenants/{tenantId}/notifications

Path parameters

tenantIdinteger required

Request body

cardBinstring
customerIdinteger
datastring required

Data must be sent in JSON format, Data is bound with Mustache template(templateId) so need to send the same key that is used in a template.For email attachment use key 'mediaType' & 'base64EncodedAttachment' in data JSON format

eventTypestring
ruleMatchstring
templateIdstring

Mustache template Id for notification. The eclipse will look templateId in the property if templateId is found then it will send SMS else return an error. Need to set templateId in this format in property mustache.sms.<tenantId>.<templateId> i.e If tenants set property like mustache.sms.2.auth then they can pass either mustache.sms.2.auth or auth as templateId value.

tokenIdinteger
type'EMAIL' | 'PUSH' | 'SMS' | 'TEMPLATE'
walletIdinteger

Response

No Content