Represents Attempt data in the Payments API.
Inttegro decodes API responses into this struct. Required fields are always present;
optional fields are nil when they do not apply or were not returned. Follow the linked
types in t/0 for nested domain values.
Payment state, attempts, confirmations, and next actions attached to orders.
Summary
Functions
Builds a Inttegro.Payments.Attempt and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.Payments.Attempt{ error: Inttegro.Payments.AttemptError.t() | nil, initiated_at: DateTime.t(), payment_method_id: String.t() | nil, payment_method_type: String.t() | nil, reference: String.t() | nil, status: Inttegro.Payments.AttemptStatus.t(), succeeded_at: DateTime.t() | nil }
The decoded attempt value.
Functions
Builds a Inttegro.Payments.Attempt and raises KeyError when a required field is missing.