Payment instrument variants.
:type | Description |
|---|---|
"card/plain" | Raw card details |
"card/checkout" | Checkout SDK session href |
"card/token" | Stored Worldpay token href |
"card/networkToken" | Network token href + optional cryptogram |
"card/networkToken+applepay" | Decrypted Apple Pay network token |
"card/networkToken+googlepay" | Decrypted Google Pay network token |
Summary
Functions
Serialize to a string-keyed map for the Worldpay API.
Types
@type t() :: %Worldpay.Schema.PaymentInstrument{ billing_address: Worldpay.Schema.Address.t() | nil, card_holder_name: String.t() | nil, card_number: String.t() | nil, cryptogram: String.t() | nil, cvc: String.t() | nil, eci: String.t() | nil, expiry_month: non_neg_integer() | nil, expiry_year: non_neg_integer() | nil, href: String.t() | nil, session_href: String.t() | nil, token: String.t() | nil, type: String.t() }