billingEmails). If none are set, Paygentic uses the customer’s email address.
Email types
When a subscription uses automatic charges and the charge succeeds, the customer receives only the payment confirmation. To learn when the payment failed emails are sent, see When an automatic charge fails.
The payment failed emails use the
invoiceIssued setting. If you turn off invoiceIssued for a customer, they also stop receiving emails about failed payments. If you send your own invoice emails, make sure they cover failed payments too.Turn off emails for a customer
All settings are on by default. To change them, updatenotificationSettings on the customer. Paygentic only changes the settings you include in the request.
API Reference: See the Update Customer endpoint.
Renewal reminders
You set up renewal reminders on the plan. To turn them on, setrenewalReminderEnabled to true, and set renewalReminderDays to the number of days before renewal to send the reminder. The number of days must be shorter than the billing period.
To use different settings for one subscription, set the same fields on the subscription. To go back to the plan’s settings, set them to null.
A customer only receives renewal reminders if their renewalReminder setting is on.
If the subscription uses automatic charges and the customer has no saved payment method, the reminder asks them to add one before the renewal date.