Parameters for Data Input in the PaymentMethods API.
Build this struct with new!/1 and pass it to the corresponding function on
Inttegro.PaymentMethods. Required keys are enforced immediately; optional values left as
nil are omitted from the request sent to Inttegro.
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.DataInput and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.PaymentMethods.DataInput{ mobile_money: Inttegro.PaymentMethods.DataInputMobileMoney.t() | nil, type: Inttegro.PaymentMethods.Type.t() }
A validated data input request.
Functions
Builds a Inttegro.PaymentMethods.DataInput and raises KeyError when a required field is missing.