Saltar al contenido principal

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​

sendPaymentLink.input ● SendPaymentMessageInput! non-null input​

Type​

Payment object​

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.