Inttegro.PaymentMethods.UpdateRequestOwner (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Update Request Owner 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

Types

t()

A validated update request owner request.

Functions

Builds a Inttegro.PaymentMethods.UpdateRequestOwner and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.PaymentMethods.UpdateRequestOwner{
  address: Inttegro.PaymentMethods.UpdateRequestOwnerAddress.t() | nil,
  name: String.t() | nil
}

A validated update request owner request.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.PaymentMethods.UpdateRequestOwner and raises KeyError when a required field is missing.