# SendPaymentMessageInput

Input for `sendPaymentLink` and `sendPaymentReceipt`.

```
input SendPaymentMessageInput {

  channel: MessageChannel

  customerEmail: AWSEmail

  customerPhone: AWSPhone

  language: String

  paymentId: ID!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`SendPaymentMessageInput.channel`](#channel) ● [`MessageChannel`](https://docs.monei.com/apis/graphql/types/enums/message-channel/.md) enum[​](#channel "Direct link to channel")

The channel used to send the payment message. Defaults to `EMAIL`.

#### [`SendPaymentMessageInput.customerEmail`](#customer-email) ● [`AWSEmail`](https://docs.monei.com/apis/graphql/types/scalars/awsemail/.md) scalar[​](#customer-email "Direct link to customer-email")

The customer will receive the payment message on this email address. Defaults to the customer email on the payment.

#### [`SendPaymentMessageInput.customerPhone`](#customer-phone) ● [`AWSPhone`](https://docs.monei.com/apis/graphql/types/scalars/awsphone/.md) scalar[​](#customer-phone "Direct link to customer-phone")

Phone number in E.164 format. The customer will receive the payment message on this phone number. Defaults to the customer phone on the payment.

#### [`SendPaymentMessageInput.language`](#language) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#language "Direct link to language")

The language of message sent to the customer. If not provided the default customer language is used if available.

#### [`SendPaymentMessageInput.paymentId`](#payment-id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#payment-id "Direct link to payment-id")

Payment id.

### Member Of[​](#member-of "Direct link to Member Of")

[`sendPaymentLink`](https://docs.monei.com/apis/graphql/operations/mutations/send-payment-link/.md) mutation ● [`sendPaymentReceipt`](https://docs.monei.com/apis/graphql/operations/mutations/send-payment-receipt/.md) mutation
