{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"How Peach sends borrower communications","siteUrl":"https://docs.peachfinance.com","description":"API and product documentation for Peach Finance, a lending-as-a-service platform."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"how-peach-sends-borrower-communications","__idx":0},"children":["How Peach sends borrower communications"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This page explains how messages start. To look up a specific message, see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/communications/interaction-subjects-reference"},"children":["Interaction subjects reference"]},". To change what a message says, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/communications/editing-templates"},"children":["Editing templates"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-youll-learn","__idx":1},"children":["What you'll learn"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The five ways a message starts: system events, the Repayment Engine, other scheduled processing, on-demand sends, and documents"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["How Peach chooses the channel and the template for a message"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["What stops a message from going out"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"concept-overview","__idx":2},"children":["Concept overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every message has an ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["interaction subject"]},", such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some messages start because something happened: a payment failed, so Peach sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentFailed"]},". Some start on a schedule: the Repayment Engine sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"key-concepts","__idx":3},"children":["Key concepts"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Interaction subject"]}," — The identifier for what a message is, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentFailed"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loanOverdueFirstNotice"]},". Each template belongs to one subject and one channel."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Channel"]}," — How a message reaches the borrower. Peach sends on four channels: email, text, voice, and mail."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Campaign"]}," — A bulk sender that sends one subject to a list of borrowers from a query. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/communications/bulk-sender"},"children":["Bulk Sender"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":4},"children":["How it works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["theme"]},"; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failedSettlementPeach"]}," is rejected."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"system-events","__idx":5},"children":["System events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Peach sends these messages when something happens to a loan, payment, contact, or account. A payment that succeeds, fails, or becomes pending sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentSuccessful"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentFailed"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentProcessing"]},". A borrower revoking consent to electronic communications sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["electronicConsentOptOut"]},". A statement created with a notice requested sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["statementGenerated"]}," to a borrower who receives statements by email, or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["statementRegenerated"]}," when it's a new version of an existing statement. Your system doesn't call anything; the event is enough."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"the-repayment-engine","__idx":6},"children":["The Repayment Engine"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/communications/interaction-subjects-reference#right-to-cure-notices"},"children":["Right to Cure notices"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"other-scheduled-processing","__idx":7},"children":["Other scheduled processing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Peach's other scheduled processing also sends messages. Autopay scheduling sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autopayPaymentCanceled"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autopayPaymentRescheduled"]}," when a balance check stops or moves an upcoming autopay payment. Daily loan maintenance sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loanAccelerated"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loanChargedOffUnsecured"]},". Microdeposit reminders and promise-to-pay results also come from scheduled processing."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"on-demand-sends","__idx":8},"children":["On-demand sends"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A person or a system asks for these messages directly:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["freeFormBranded"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Your system"]}," calls the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#"},"children":["Send message endpoint"]}," with a subject, and with a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["theme"]}," for custom and free-form subjects."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A borrower or agent action"]}," sends a message as a side effect, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autopayEnabled"]}," when autopay is turned on or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loanDetails"]}," when a loan is activated."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lenders also send to many borrowers at once with a campaign, which calls the same send step once per borrower."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"documents","__idx":9},"children":["Documents"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autopayEnabled"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"how-peach-picks-the-channel","__idx":10},"children":["How Peach picks the channel"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Whoever starts the send decides the channel:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A caller that names a channel"]}," gets that channel."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A caller that names a contact"]}," gets the channel that matches the contact's type."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A caller that names neither"]}," gets email and text, sent to the borrower's best email address and phone number."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["The Repayment Engine"]}," uses the channels on its configuration."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["409"]}," for a missing or disabled template. A few messages always use one channel; for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentMethodAdded"]}," is email only."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-stops-a-message","__idx":11},"children":["What stops a message"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A muted loan."]}," When a loan has ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["muteLoanNotices"]}," set, the Send message endpoint refuses the request, and Peach skips system-started messages for that loan."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A missing or disabled template"]}," for the subject and channel."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A notice turned off on the request."]}," Many actions that send a message accept ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sendNotice: false"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"in-practice","__idx":12},"children":["In practice"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentDueDateReminder"]}," goes out that day by email and text."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["System event."]}," The borrower pays $150.00 by ACH on November 20. When the payment becomes pending, Peach sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentProcessing"]},". A card payment would not send it: Peach sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentProcessing"]}," only for non-instant payment types, such as ACH, and card isn't one of them."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["System event."]}," The ACH payment fails on November 24. Peach sends ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentFailed"]}," without naming a channel, so it goes to the borrower's best email address and phone number."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["disputeOfDebtSubmitDocumentation"]}," by mail."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"why-it-works-this-way","__idx":13},"children":["Why it works this way"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"see-also","__idx":14},"children":["See also"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/communications/interaction-subjects-reference"},"children":["Interaction subjects reference"]}," — Every subject, what starts it, and when Peach sends it."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/servicing-operations/admin-portal/admin-portal-repayment-engine"},"children":["Configure repayment engine notifications"]}," — Set up reminders and overdue notices for a loan type."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/communications/bulk-sender"},"children":["Bulk Sender"]}," — Send a templated message to many borrowers with a campaign."]}]}]},"headings":[{"value":"How Peach sends borrower communications","id":"how-peach-sends-borrower-communications","depth":1},{"value":"What you'll learn","id":"what-youll-learn","depth":2},{"value":"Concept overview","id":"concept-overview","depth":2},{"value":"Key concepts","id":"key-concepts","depth":2},{"value":"How it works","id":"how-it-works","depth":2},{"value":"System events","id":"system-events","depth":3},{"value":"The Repayment Engine","id":"the-repayment-engine","depth":3},{"value":"Other scheduled processing","id":"other-scheduled-processing","depth":3},{"value":"On-demand sends","id":"on-demand-sends","depth":3},{"value":"Documents","id":"documents","depth":3},{"value":"How Peach picks the channel","id":"how-peach-picks-the-channel","depth":3},{"value":"What stops a message","id":"what-stops-a-message","depth":3},{"value":"In practice","id":"in-practice","depth":2},{"value":"Why it works this way","id":"why-it-works-this-way","depth":2},{"value":"See also","id":"see-also","depth":2}],"frontmatter":{"title":"How Peach sends borrower communications","description":"The five ways a borrower message starts in Peach, how Peach picks its channel and template, and what stops a message from going out.","verifiedDate":"2026-11-09T00:00:00.000Z","verifiedSources":[{"repo":"peach","spec":["peach/communicator/handlers.py","peach/communicator/senders.py","peach/people/interaction/common/subject_theme_utils.py","peach/communicator/senders_helpers.py","peach/communicator/templating/utils.py","peach/repayment_engine/models.py","peach/asyncio/processors/repayment_engine/repayment_engine.py","peach/asyncio/tasks/borrower_campaigns/bulk_sender.py","peach/transactions/business_logic.py","peach/people/loans/common.py","peach/asyncio/processors/statements.py","processors.yml","peach/asyncio/processors/autopay.py","peach/asyncio/processors/repayment_engine/loan_right_to_cure_notices.py","peach/asyncio/tasks/payment_instruments.py","peach/communicator/case_template_subjects.py","peach/communicator/exceptions.py","peach/loans/promise_to_pays/handlers.py","peach/people/handlers.py","peach/people/interaction/common/__init__.py","peach/people/interaction/enums.py","peach/people/loans/autopay/handlers.py","peach/people/loans/handlers.py","peach/repayment_engine/handlers.py","peach/statements/handlers.py","peach/transactions/ach/handlers.py","peach/transactions/enums.py","peach/statements/models.py"],"ref":"6ef178e4b51c8f517c08bb103769c148baa6089e","branch":"main"},{"repo":"peach-front","spec":["src/core/components/ResourceOverlay/DraftInteraction/","src/loan/pages/Main/LoanSections/GetPayoffStatement/getPayoffStatementApi.js"],"ref":"8239ce1654d5a061a06853a9b5f4c7a066f8500a","branch":"develop"}],"seo":{"title":"How Peach sends borrower communications"}},"lastModified":"2026-11-10T00:09:41.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/communications/how-peach-sends-communications","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}