Backend API

Fields
idobjectIdauto

The unique identifier for the card.

parent_idobjectIdrequired

The ID of the parent account.

tokenstringrequired

Link to the associated payment token.

activeboolean

Indicated whether this card is active and available for use.

address_checkstring

Indicates results of the address check for the card: unchecked, pass, or fail.

billingobject

The customer's billing details. Defaults to account.billing. Updating billing will also update the corresponding account billing object.

brandstring

Name of card issuer. E.g., "visa".

display_brandstring

Brand of the card displayed to the customer, if different from the underlying brand (for example, co-branded cards).

cvc_checkstring

Indicates results of the CVC check for the card: unchecked, pass, or fail.

date_createddateauto

The date the card entry was created.

date_updateddateauto

Date the card entry was last updated.

exp_monthint

The expiration month on the card, 1 through 12.

exp_yearint

Four-digit card expiration year.

fingerprintstring

A hashed fingerprint generated using client_id, brand, and last4.

gatewaystring

Name of the payment gateway.

last4string

The last four digits of the card number.

parentAccount

Link to the parent account.

testboolean

Indicated the card is for testing purposes.

zip_checkstring

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"
},