# SendTransactionReceiptResult

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

The outcome of a receipt send.

## Fields
- `receiptId` (string(uuid)): The receipt that was sent.
- `channel` ([ReceiptDeliveryChannel](https://docs.winkpg.io/docs/api/models/ReceiptDeliveryChannel.md)): The channel the receipt was sent by.
  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.
- `sent` (boolean): Whether the message was handed to the email or text message provider. `true` does not mean it was delivered: delivery is reported by the provider later.
- `notSentReason` ([ReceiptNotSentReason](https://docs.winkpg.io/docs/api/models/ReceiptNotSentReason.md)): Why no message was sent. Present only when `sent` is `false`. (nullable)
  Values:
  - `RecipientOptedOut`: The mobile number has opted out of text messages from this merchant, for example by replying STOP. Nothing was sent, and sending again sends nothing until the recipient opts back in.

## See also

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