# HostedPageReceipts

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Represents receipt and notification settings for the hosted payment page, including callback URLs, email options, and notification recipients.

## Fields
- `callbackUrl` (string): Gets or sets an optional URL to receive a webhook notification when a hosted page transaction is processed. Conditional: Conditional (see validator source). Max length: 200. Conditional: When CallbackUrl is not empty. (nullable)
- `enableWebhookNotification` (boolean): (nullable)
- `enableCustomerEmail` (boolean): (nullable)
- `customerEmailLogo` (string): Gets or sets a logo to include on email receipts sent to the customer. (nullable)
- `customerEmailFooter` (string): Gets or sets optional footer text to include in customer email receipts. (nullable, max length 1000)
- `customerEmailBody` (string): Gets or sets optional body text for customer email receipts. (nullable, max length 3000)
- `useHostedConfirm` (boolean): Gets or sets a value indicating whether to use the hosted confirmation/receipt page.
- `receiptAdditionalText` (string): Gets or sets optional additional text to include on receipts. (nullable, max length 1000)
- `customerEmailAsPdf` (boolean): Gets or sets a value indicating whether customer receipts are sent as PDF attachments.
- `emailPurchaseNotifications` (boolean): Gets or sets a value indicating whether to notify email addresses of transactions completed via the hosted payment page.
- `purchaseNotifyEmails` (array<[HostedPagePurchaseNotificationEmail](https://devportal.demo.winkpg.io/docs/api/models/HostedPagePurchaseNotificationEmail.md)>): Gets or sets the list of email addresses to notify of completed purchases. (nullable)
  Fields of each item:
  - `displayName` (string): Gets or sets the display name for the notification email. (nullable, max length 75)
  - `emailAddress` (string) required: Gets or sets the email address to receive purchase notifications. Conditional: When EmailAddress is not empty. Must be a valid email. (nullable, max length 75)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
