A customer-owned, reusable payment instrument represented by safe provider data.
The struct identifies its customer, type, verification state, and masked type-specific details. It never contains the raw reusable credential. An inactive or archived method should not be offered for new payments.
Summary
Functions
Builds a Inttegro.PaymentMethods.PaymentMethod and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.PaymentMethods.PaymentMethod{ active: boolean(), archived_at: String.t() | nil, bank_account: Inttegro.PaymentMethods.BankAccount.t() | nil, created_at: String.t(), custom_data: %{optional(String.t()) => String.t()} | nil, customer_id: String.t(), ephemeral: boolean() | nil, expires_on: String.t() | nil, id: String.t(), mobile_money: Inttegro.PaymentMethods.MobileMoney.t() | nil, owner: Inttegro.PaymentMethods.Owner.t() | nil, supplied: Inttegro.PaymentMethods.Supplied.t() | nil, type: Inttegro.PaymentMethods.Type.t(), verification: Inttegro.PaymentMethods.Verification.t() | nil, verified_at: String.t() | nil }
The decoded payment method value.
Functions
Builds a Inttegro.PaymentMethods.PaymentMethod and raises KeyError when a required field is missing.