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

View Source

Webhook handler for debt cancellation events.

Configure your endpoint at POST https://<your-server>/debts to receive notifications when a debt is cancelled due to account closure.

The payload includes details of paid, discounted, and pending amounts at the time of cancellation.

Summary

Functions

Process a debt cancellation notification.

Functions

execute(payload)

Process a debt cancellation notification.

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