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

View Source

Webhooks for debt sale to banks (Bancarización de deuda).

These webhooks notify you about the lifecycle of debts sold to banks. Each time a relevant event occurs (debt creation, payment, transfer, adjustment, or cancellation), we will send a notification to your system.

All webhooks are sent as POST requests with the following HTTP headers:

  • X-Api-Key: identifies which api-secret to use for signature verification
  • X-Signature: HMAC-SHA256 digital signature (body + timestamp + endpoint)
  • X-Timestamp: unix-epoch timestamp of when the order was signed
  • X-Endpoint: the endpoint to which the request is made

You must respond with a 2xx HTTP status code, otherwise the notification will be resent.

Want to know more about debt sale to banks? Check out our documentation.

Summary

Functions

Webhook: Debt Adjustment Notifies when adjustments are made to a debt, such as discounts on interest, principal, or taxes.

Webhook: Debt Cancellation Notifies when a debt is cancelled due to account closure.

Webhook: Debt Creation Notifies when a debt is created and transferred to a bank. Debt types: CURRENT_CYCLE_CHARGES, REVOLVING, MANDATORY_REFINANCING, MANUAL_REFINANCING.

Webhook: Debt Payment Notifies when a payment (full or partial) is registered on a debt. Debt states: FULFILLED (fully paid), PARTIALLY_FULFILLED (still has pending balance).

Webhook: Debt Transfer Notifies when a debt is transferred to another debt, either due to expiration (DUE_DEBT) or refinancing (REFINANCED).

Functions

debt_adjustment_notification(payload)

Webhook: Debt Adjustment Notifies when adjustments are made to a debt, such as discounts on interest, principal, or taxes.

debt_cancellation_notification(payload)

Webhook: Debt Cancellation Notifies when a debt is cancelled due to account closure.

debt_creation_notification(payload)

Webhook: Debt Creation Notifies when a debt is created and transferred to a bank. Debt types: CURRENT_CYCLE_CHARGES, REVOLVING, MANDATORY_REFINANCING, MANUAL_REFINANCING.

debt_payment_notification(payload)

Webhook: Debt Payment Notifies when a payment (full or partial) is registered on a debt. Debt states: FULFILLED (fully paid), PARTIALLY_FULFILLED (still has pending balance).

debt_transfer_notification(payload)

Webhook: Debt Transfer Notifies when a debt is transferred to another debt, either due to expiration (DUE_DEBT) or refinancing (REFINANCED).