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.
Values
Fields
| Field | Type | Description | ||||
|---|---|---|---|---|---|---|
channel
required |
ReceiptDeliveryChannel ReceiptDeliveryChannel | How to send the receipt: `Email` or `Text`.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||
emailAddress
required |
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.
nullablemax length 100
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||
mobileNumber
required |
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.
nullablemax length 32
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
|
This model has no documented fields.