Represents Snapshot data in the PaymentMethods 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.
Saves and manages customer-owned payment methods.
A payment method always belongs to its attached customer. Tokenization may start a verification flow; inspect the returned verification state before attempting a charge. The API returns masked or provider-safe details and never returns raw reusable credentials.
Summary
Functions
Builds a Inttegro.PaymentMethods.Snapshot and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.PaymentMethods.Snapshot{ bank_account: Inttegro.PaymentMethods.SnapshotBankAccount.t() | nil, card: %{optional(String.t()) => term()} | nil, created_at: String.t(), customer_id: String.t(), id: String.t(), mobile_money: Inttegro.PaymentMethods.SnapshotMobileMoney.t() | nil, owner: Inttegro.PaymentMethods.SnapshotOwner.t() | nil, type: Inttegro.PaymentMethods.Type.t(), verified: boolean(), verified_at: String.t() | nil }
The decoded snapshot value.
Functions
Builds a Inttegro.PaymentMethods.Snapshot and raises KeyError when a required field is missing.