# SendTransactionReceiptInput

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

Where to send a transaction receipt: the channel, and the email address or mobile number it goes to.

## Fields
- `channel` ([ReceiptDeliveryChannel](https://docs.winkpg.io/docs/api/models/ReceiptDeliveryChannel.md)) required: How to send the receipt: `Email` or `Text`. (nullable)
  Values:
  - `Email`: An email carrying the receipt as it prints, to the email address in the request.
  - `Text`: A text message to the mobile number in the request. The text is a short summary of the receipt: the merchant's name, the amount, the card brand and last four digits, the date and the approval code. It carries no link.
- `emailAddress` (string): The email address to send the receipt to. Required when `channel` is `Email`, and must be omitted otherwise. Conditional: When EmailAddress is not empty. Must be a valid email. Required: When Channel == Email. Conditional: When Channel == Text. (nullable, max length 100)
- `mobileNumber` (string): The mobile number to text the receipt to. Required when `channel` is `Text`, and must be omitted otherwise. Send it in international form, such as `+15555550123`; a 10-digit number is read as a North American number. Conditional: When MobileNumber is not empty. Required: When Channel == Text. Conditional: When Channel == Email. (nullable, max length 32)

## See also

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