Support for Apple Pay as a payment source: accepting it (apple-pay),
disbursing to it (push-to-apple-pay), and - for approved use cases -
pulling from it (pull-from-apple-pay). Linking a single token returns
every supported Apple Pay payment method at once.
Summary
Functions
Creates an Apple Pay merchant validation session for the client to complete the Apple Pay JS flow.
Exchanges an Apple Pay payment token for a Moov payment method (params: %{token: ...}).
Gets the registered Apple Pay domains for an account.
Registers domains for Apple Pay on the Web (params: %{domain_names: [...]}).
Updates the registered Apple Pay domains for an account.
Functions
@spec create_session(Moov.Client.t(), String.t(), map()) :: {:ok, map()} | {:error, Moov.Error.t()}
Creates an Apple Pay merchant validation session for the client to complete the Apple Pay JS flow.
@spec create_token(Moov.Client.t(), String.t(), map()) :: {:ok, map()} | {:error, Moov.Error.t()}
Exchanges an Apple Pay payment token for a Moov payment method (params: %{token: ...}).
@spec get_domains(Moov.Client.t(), String.t()) :: {:ok, map()} | {:error, Moov.Error.t()}
Gets the registered Apple Pay domains for an account.
@spec register_domains(Moov.Client.t(), String.t(), map()) :: {:ok, map()} | {:error, Moov.Error.t()}
Registers domains for Apple Pay on the Web (params: %{domain_names: [...]}).
@spec update_domains(Moov.Client.t(), String.t(), map()) :: {:ok, map()} | {:error, Moov.Error.t()}
Updates the registered Apple Pay domains for an account.