# sendPaymentLink

Sends the payment link of a payment of the current account to the customer by email, SMS or WhatsApp. Without `channel`, it uses WhatsApp when `customerPhone` is set, else email when `customerEmail` is set, else WhatsApp when the payment has a customer or Bizum phone number, else email to the customer email of the payment. When the number has no WhatsApp, MONEI sends the link by SMS instead. SMS and WhatsApp fail in test mode. The send fails when another payment with the same order ID is already paid, authorized or being processed. The dashboard offers it for a `PENDING` payment (Send payment link). Arguments: - `input`: The payment and where to send its link.

```
sendPaymentLink(

  input: SendPaymentMessageInput!

): Payment
```

### Arguments[​](#arguments "Enlace directo al Arguments")

#### [`sendPaymentLink.input`](#input) ● [`SendPaymentMessageInput!`](https://docs.monei.com/es/apis/graphql/types/inputs/send-payment-message-input.md) non-null input[​](#input "Enlace directo al input")

### Type[​](#type "Enlace directo al Type")

#### [`Payment`](https://docs.monei.com/es/apis/graphql/types/objects/payment.md) object[​](#payment- "Enlace directo al payment-")

A payment as the payment mutations return it (`createPayment`, `refundPayment`, `capturePayment`, `cancelPayment` and the send mutations). Amounts are integers in the smallest unit of the currency: cents for `EUR`, whole yen for `JPY`. To read a payment later, use `charge`.
