Repayment Webhook Events
Unit raises events related to repayments that you can subscribe to via webhooks. These events allow you to track the lifecycle of repayments and respond to status changes in real-time.
repayment.created
Raised when a new repayment is created. For native repayments (Book or ACH), a subsequent payment.created event will also be raised for the underlying payment.
Related resource types:
See the full repayment.created event documentation for the complete payload structure.
repayment.statusChanged
Raised when the status of a repayment changes. Common status transitions include:
Pending→Clearing(ACH repayment transmitted to the network)Clearing→Sent(ACH repayment cleared)Sent→Returned(Repayment returned)Pending→Rejected(Repayment rejected)Pending→Canceled(ACH payment canceled)
Related resource types:
See the full repayment.statusChanged event documentation for the complete payload structure.
payment.created
Raised when the underlying payment for a native repayment is created.
See the full payment.created event documentation for the complete payload structure.
payment.clearing
Raised when an ACH payment enters the clearing period.
See the full payment.clearing event documentation for the complete payload structure.
payment.sent
Raised when the underlying payment is sent/completed.
See the full payment.sent event documentation for the complete payload structure.
payment.returned
Raised when the underlying ACH payment is returned.
See the full payment.returned event documentation for the complete payload structure.
transaction.created
Raised when a transaction is created as a result of the repayment.
See the full transaction.created event documentation for the complete payload structure.
recurringRepayment.skipped
Raised when a recurring repayment is skipped (e.g., due to zero balance).
See the full recurringRepayment.skipped event documentation for the complete payload structure.
For more details on all available events and their payloads, see the Events API reference.