PINXS.Cards.Card (pinxs v3.2.0) View Source
Provides functions for working with cards
Required Fields
When creating a card, the following fields much be provided
- number
- expiry_month
- expiry_year
- cvc
- name
- address_line1
- address_country
Link to this section Summary
Functions
Creates a tokenized credit card
Link to this section Types
Specs
t() :: %PINXS.Cards.Card{
address_city: nil | String.t(),
address_country: String.t(),
address_line1: String.t(),
address_line2: nil | String.t(),
address_postcode: nil | String.t(),
address_state: nil | String.t(),
cvc: String.t(),
expiry_month: String.t(),
expiry_year: String.t(),
name: String.t(),
number: String.t(),
token: nil | String.t()
}
Link to this section Functions
Creates a tokenized credit card