Preview a receivable's email message

POST
/receivables/:receivable_id/preview

Path parameters

receivable_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
body_textstringRequired=1 character

Body text of the content

subject_textstringRequired=1 character

Subject text of the content

languageenumOptional

Language code for localization purposes

typeenumOptional
Allowed values: receivablediscount_reminderfinal_reminder

The type of the preview document.

Response

Successful Response

body_previewstring
subject_previewstring

Errors