Receipt
Object describing a receipt template.
Description
This object contains all of the data needed for adding or updating a receipt template in the gateway.
Properties
Type | Name | Description |
---|---|---|
integer | ReceiptRefNum | Gateway-assigned ID of receipt (ignored when adding a receipt). (required) |
string | Name | Name of receipt (used to identify receipt). (required) |
string | Target | Type of receipt output (Email or Print). (required) |
string | Subject | Subject line of email (only applicable if Target is Email). (optional) |
string | FromEmail | From email address (only applicable if Target is Email). (required) |
string | ContentType | Content types supported by receipt (HTML, Text, or Both). (required) |
string | TemplateHTML | HTML version of template (base64-encoded). (required) |
string | TemplateText | Text version of template (base64-encoded). (optional) |
Updated over 5 years ago