Backend API
Fields
The unique identifier for the card.
The ID of the parent account.
Link to the associated payment token.
Indicated whether this card is active and available for use.
Indicates results of the address check for the card: unchecked, pass, or fail.
The customer's billing details. Defaults to account.billing. Updating billing will also update the corresponding account billing object.
Billing full name. If first_name or last_name are updated, then name will be automatically updated as a combination of first/last.
Customer's email address.
Customer's company, if applicable.
Billing first name. If name is updated, then first_name will be automatically updated as the first word of the name.
Billing last name. If name is updated, then last_name will be automatically updated as the last word of the name.
Billing phone number.
Billing address line 1: street address/PO box/company name.
Billing address line 2: apartment/suite/unit/building.
Billing city/district/suburb/town/village.
Billing state/county/province/region.
Billing zip/postal code.
Two-letter ISO country code.
VAT number for tax purposes, if applicable.
Name of card issuer. E.g., "visa".
Brand of the card displayed to the customer, if different from the underlying brand (for example, co-branded cards).
Indicates results of the CVC check for the card: unchecked, pass, or fail.
The date the card entry was created.
Date the card entry was last updated.
The expiration month on the card, 1 through 12.
Four-digit card expiration year.
A hashed fingerprint generated using client_id, brand, and last4.
Name of the payment gateway.
The last four digits of the card number.
Link to the parent account.
Indicated the card is for testing purposes.
Indicates results of the zip check for the card: unchecked, pass, or fail.
The account card model
{
"parent_id": "627308bc32db26001276f091",
"billing": {
"name": "Glarthir",
"first_name": "Glarthir",
"last_name": null,
"address1": "Glarthir's House",
"address2": null,
"city": "Skingrad",
"state": "CA",
"zip": "95051",
"country": "US",
"phone": null,
"company": null
},
"brand": "Visa",
"last4": "4242",
"exp_month": 2,
"exp_year": 2024,
"token": "card_mgLMIJrqdFKjapNnKQXzbGSg",
"address_check": "pass",
"zip_check": "pass",
"cvc_check": "pass",
"fingerprint": "011778e5080632a4701cb5628266007d",
"date_created": "2022-05-19T17:17:31.167Z",
"active": true,
"id": "62867bab67e544001a6a3218"
},