Confirmation Messages
The confirmation messages will be delivered to the end-user in all steps involving communication. When a confirmation template is created it carries default values for all the messages. These default values might be updated in order to allow a better look-and-feel and branding.
Updating Message Templates
To update a message template, use the following URL:
PUT https://confirmation-api.paycertify.com/api/confirmation_templates/{confirmation_template_id}/message_templates/{message_key}
Parameter |
Type |
Presence |
Description |
Example |
confirmation_template_id |
uuid |
required |
Confirmation Template ID |
- |
message_key |
string |
required |
Message template identifier |
email_body |
content |
string |
required |
The message’s content |
text |
content_type |
string |
required |
Message content type |
html |
Field |
Type |
Description |
Example |
|
message_key |
string |
Message template identifier |
email_body |
|
content |
string |
The message’s content |
Hello. |
|
content_type |
string |
The message’s content |
text |
|
created_at |
datetime |
- |
Time that event was created, on ISO 8601 UTC |
2018-07-04T19:52:22.787Z |
updated_at |
datetime |
- |
Last time this event was updated, on ISO 8601 UTC |
2018-07-04T19:52:22.789Z |
curl --request PUT \
--url 'https://confirmation-api.paycertify.com/api/confirmation_templates/63693de5-8a19-4233-b382-c75f0c6b31aa/message_templates/email_body' \
--header 'Authorization: Bearer ' \
--header 'Cache-Control: no-cache' \
--form 'content=This is a confirmation message. Please confirm it by clicking this '
Responds with:
{
"message_key": "email_body",
"content": "This is a confirmation message. Please confirm it by clicking this ",
"content_type": "html",
"created_at": "2018-07-04T19:52:22.787Z",
"updated_at": "2018-07-05T18:54:41.838Z"
}