ClearBank.Webhook.Events.BacsPaymentCreated (ClearBank v1.0.0)

Copy Markdown View Source

Fired when a Bacs payment (Direct Credit or Direct Debit) is created.

Summary

Functions

from_payload(payload)

@spec from_payload(map()) :: %ClearBank.Webhook.Events.BacsPaymentCreated{
  account_id: term(),
  amount: term(),
  currency: term(),
  payment_id: term(),
  processing_date: term(),
  reference: term(),
  service_user_number: term(),
  timestamp: term(),
  type: term(),
  virtual_account_id: term()
}