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

View Source

Webhook handler for debt payment events.

Configure your endpoint at POST https://<your-server>/debts to receive notifications when payments (full or partial) are registered on a debt.

The debt_state field indicates:

  • FULFILLED: the debt was fully paid
  • PARTIALLY_FULFILLED: the debt still has pending balance

Summary

Functions

Process a debt payment notification.

Functions

execute(payload)

Process a debt payment notification.

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