Skip to content
Last updated

How Peach sends borrower communications

Peach sends borrower messages, such as payment receipts, due-date reminders, and overdue notices, from five different starting points. Knowing which one starts a message tells you where to configure it, when to expect it, and why it did or didn't go out.

This page explains how messages start. To look up a specific message, see the Interaction subjects reference. To change what a message says, see Editing templates.

What you'll learn

  • The five ways a message starts: system events, the Repayment Engine, other scheduled processing, on-demand sends, and documents
  • How Peach chooses the channel and the template for a message
  • What stops a message from going out

Concept overview

Every message has an interaction subject, such as paymentFailed, which names what the message is. The subject doesn't decide when the message goes out or on which channel. Those come from whatever started the message.

Some messages start because something happened: a payment failed, so Peach sends paymentFailed. Some start on a schedule: the Repayment Engine sends paymentDueDateReminder a configured number of days around a due date. Some start because a person asked: an agent sends a dispute letter from a case. Some are never sent at all: Peach renders an autopay agreement for the borrower to sign.

Whatever starts it, Peach builds the message the same way: it loads the template for the subject and channel and fills it in with the message's data.

Key concepts

  • Interaction subject — The identifier for what a message is, such as paymentFailed or loanOverdueFirstNotice. Each template belongs to one subject and one channel.
  • Channel — How a message reaches the borrower. Peach sends on four channels: email, text, voice, and mail.
  • Repayment Engine — The Peach feature that sends payment reminders and overdue notices from configurations on each loan type. Each configuration names a subject, a days offset, a day type, and the channels to send on.
  • Template — The content for one subject on one channel. A template can be specific to a loan type; otherwise Peach uses the company's general template for that subject and channel.
  • Campaign — A bulk sender that sends one subject to a list of borrowers from a query. See Bulk Sender.

How it works

Peach starts messages in five ways. A subject with an enabled template can also be sent on demand or by a campaign, whatever its usual starting point. Custom and free-form subjects have no theme of their own, so the request must also name a theme; failedSettlementPeach is rejected.

System events

Peach sends these messages when something happens to a loan, payment, contact, or account. A payment that succeeds, fails, or becomes pending sends paymentSuccessful, paymentFailed, or paymentProcessing. A borrower revoking consent to electronic communications sends electronicConsentOptOut. A statement created with a notice requested sends statementGenerated to a borrower who receives statements by email, or statementRegenerated when it's a new version of an existing statement. Your system doesn't call anything; the event is enough.

The Repayment Engine

The Repayment Engine sends payment reminders, overdue notices, and Right to Cure notices. You configure it per loan type: each configuration names a subject, how many days before or after the trigger date to send, whether those are calendar or business days, and which channels to use. Loan Overdue and Right to Cure always count calendar days. On a day that isn't a business day, Peach skips configurations that count business days.

For Right to Cure, the configuration turns the notices on and sets their channels, but it doesn't choose the notice. Peach picks the generic notice or one of nine state notices for each borrower, from the loan type's Right to Cure rows and the state of the borrower's best contact address. See Right to Cure notices.

Other scheduled processing

Peach's other scheduled processing also sends messages. Autopay scheduling sends autopayPaymentCanceled or autopayPaymentRescheduled when a balance check stops or moves an upcoming autopay payment. Daily loan maintenance sends loanAccelerated and loanChargedOffUnsecured. Microdeposit reminders and promise-to-pay results also come from scheduled processing.

On-demand sends

A person or a system asks for these messages directly:

  • An agent sends a letter from a case in the Agent Portal. The template picker offers only the subjects tied to that case's type. When the agent edits the content, Peach sends it as freeFormBranded.
  • Your system calls the Send message endpoint with a subject, and with a theme for custom and free-form subjects.
  • A borrower or agent action sends a message as a side effect, such as autopayEnabled when autopay is turned on or loanDetails when a loan is activated.

Lenders also send to many borrowers at once with a campaign, which calls the same send step once per borrower.

Documents

Some subjects are never sent as messages. Peach renders them for display or signature, or as a PDF: the autopay agreement, the loan terms change agreement, the draw and one-time payment disclosures, and statement and payoff-statement PDFs. A rendered document can travel with a message: the signed autopay agreement is attached to autopayEnabled.

How Peach picks the channel

Whoever starts the send decides the channel:

  • A caller that names a channel gets that channel.
  • A caller that names a contact gets the channel that matches the contact's type.
  • A caller that names neither gets email and text, sent to the borrower's best email address and phone number.
  • The Repayment Engine uses the channels on its configuration.

For each channel, Peach needs an enabled template for the subject. A channel whose template is missing or disabled doesn't go out, but the other channels still do. When at least one channel goes out, the Send message endpoint returns 202 and lists a message for each channel that failed. When no channel goes out, the request fails with the error from the last channel tried, which is 409 for a missing or disabled template. A few messages always use one channel; for example, paymentMethodAdded is email only.

What stops a message

  • A muted loan. When a loan has muteLoanNotices set, the Send message endpoint refuses the request, and Peach skips system-started messages for that loan.
  • A missing or disabled template for the subject and channel.
  • A notice turned off on the request. Many actions that send a message accept sendNotice: false.

In practice

A borrower's installment loan has a $150.00 payment due on Friday, November 20, 2026. Here is what each starting point produces around it:

  1. Repayment Engine. The loan type has a Payment Due Date Reminder configured for 3 calendar days before the due date, on email and text. That configuration targets the November 20 due date on Tuesday, November 17, so paymentDueDateReminder goes out that day by email and text.
  2. System event. The borrower pays $150.00 by ACH on November 20. When the payment becomes pending, Peach sends paymentProcessing. A card payment would not send it: Peach sends paymentProcessing only for non-instant payment types, such as ACH, and card isn't one of them.
  3. System event. The ACH payment fails on November 24. Peach sends paymentFailed without naming a channel, so it goes to the borrower's best email address and phone number.
  4. On demand. The borrower disputes the debt. An agent opens a Dispute of Debt case, and the template picker offers the dispute letters and the debt validation notices. The agent sends disputeOfDebtSubmitDocumentation by mail.

Why it works this way

The subject says what a message is. The starting point says when it goes out, and whoever starts the send says how. Keeping them apart lets one subject serve several situations. debtValidationNotice goes out automatically when a loan type maps it to a state, and an agent also sends it from a case. A lender can send a subject from its own system without Peach adding a trigger for it; custom and free-form subjects also need a theme on the request.

The same split explains the Right to Cure configuration. A loan type with borrowers in many states needs different notices, so the Repayment Engine configuration decides that Right to Cure notices go out and on which channels, while the loan type's rows decide which notice each borrower receives.

See also