Skip to main content

malipopaycentralapi_SmsTemplateRequest

namestringrequired

Template name (unique per project/env/language)

Example: payment_confirmation
templatestringrequired

Template text with optional placeholders in {{variable}} format

Example: Dear {{name}}, your payment of {{amount}} {{currency}} has been received. Ref: {{reference}}
languagestringrequired

ISO 639-1 language code

Example: sw
envstringrequired

Environment the template is active in (TEST or PROD)

Possible values: [TEST, PROD]

Example: TEST
descriptionstring

Human-readable description of the template purpose

Example: Sent to customer after successful payment
malipopaycentralapi_SmsTemplateRequest
{
"name": "payment_confirmation",
"template": "Dear {{name}}, your payment of {{amount}} {{currency}} has been received. Ref: {{reference}}",
"language": "sw",
"env": "TEST",
"description": "Sent to customer after successful payment"
}