Inttegro.PaymentMethods.UpdateRequestOwnerAddress (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Update Request Owner Address 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 address request.

Functions

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

Types

t()

@type t() :: %Inttegro.PaymentMethods.UpdateRequestOwnerAddress{
  city: String.t() | nil,
  country: String.t() | nil,
  line1: String.t() | nil,
  line2: String.t() | nil,
  name: String.t() | nil,
  phone_number: String.t() | nil,
  post_code: String.t() | nil,
  region: String.t() | nil
}

A validated update request owner address request.

Functions

new!(attrs \\ %{})

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

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