PomeloEx.Cards.Credits.DebtSaleToBanks.DebtAdjustmentNotification (PomeloEx v0.1.0)

View Source

Webhook handler for debt adjustment events.

Configure your endpoint at POST https://<your-server>/debts to receive notifications when adjustments are made to a debt, such as discounts on interest, principal, or taxes.

The adjustment_details field in the payload indicates the adjusted amounts and, when applicable, the new billing cycle dates.

Summary

Functions

Process a debt adjustment notification.

Functions

execute(payload)

Process a debt adjustment notification.

Returns {:ok, %{status: 200}} on success.