Ramp.Webhooks.Event (ramp v1.0.0)

Copy Markdown View Source

A decoded, verified Ramp webhook event.

event_type follows Ramp's resource.action convention, e.g. "card.created", "transaction.updated", "reimbursement.deleted". See the Ramp webhooks reference for the full catalog of event types and their data shapes.

Summary

Types

t()

@type t() :: %Ramp.Webhooks.Event{
  created_at: DateTime.t() | nil,
  data: map(),
  event_type: String.t(),
  raw: map()
}