Provides struct and type for a PaymentFailed
@type t() :: %Polarex.PaymentFailed{detail: String.t(), error: String.t()}