Added
Turn off every customer email with send_customer_comms
1 day ago
You can now stop every email Mamo sends to your customers, not only the payment receipt. A new optional boolean, send_customer_comms, defaults to true. When it is false, Mamo sends no emails to the customer: no receipts, pre-authorization notices, refund confirmations or subscription updates. Emails to your business are not affected.
POST /links,PATCH /links/{id}andPOST /marketplace/linksacceptsend_customer_comms. On update, leaving it out keeps the link's current value.- Every payment link response,
GET /links,GET /links/{id}and thepayment_link.createwebhook payload now includesend_customer_comms. It is alwaystrueorfalse; links created before this change returntrue. POST /paymentswith a saved card (card_id) acceptssend_customer_commsfor that payment only. When it is left out, the payment follows the setting of the link the card was saved on. It isn't returned in the payment response.send_customer_commsis the master switch:send_customer_receiptonly applies while it istrue. See Customer emails on Create payment link.- Sending
nullreturns422 VALIDATION_ERROR.
The change is backward compatible: if you don't send send_customer_comms, nothing changes, and send_customer_receipt works as before.