Card Account


Details about a card account payment method.

{
  "id": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
  "cardType": "DEBIT",
  "cardName": "VISA",
  "last4": "1234",
  "expirationMonth": "10",
  "expirationYear": "2021",
  "createdAt": "2020-12-31T15:10:55Z",
  "updatedAt": "2020-12-31T15:10:55Z",
  "connection": {
    "id": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
    "externalAccountID": "string",
    "connectionStatus": "VERIFIED",
    "provider": "BRAINTREE",
    "createdAt": "2020-12-31T15:10:55Z",
    "updatedAt": "2020-12-31T15:10:55Z"
  }
}

Properties

NameTypeRequiredRestrictionsDescription
idstring(uuid)truenoneA unique card account identifier.
cardTypestringfalsenoneThe type of card that is being used.
cardNamestringtruenoneThe name of the card processor.
last4stringtruenoneThe last 4 digits of the card number
expirationMonthstringtruenoneThe two digit month that the card expires in.
expirationYearstringtruenoneThe four digit year that the card expires in.
createdAtstring(date-time)falsenoneThe timestamp for when this card account payment method was created.
updatedAtstring(date-time)falsenoneThe timestamp for when this card account payment method was last updated.
connectionobjectfalsenoneDetails about the connection to the third party for this card account.
➥ idstring(uuid)falsenoneA unique card connection identifier.
➥ externalAccountIDstringfalsenoneThis is the identification number of a customer's card account provided by a third party processor.
➥ connectionStatusstringfalsenoneThis is the status of the card account provided by a third party processor.
➥ providerstringfalsenoneThis is the name of the third party processor that is being used for the card account.
➥ createdAtstring(date-time)falsenoneThe timestamp for when this third party card connection was created.
➥ updatedAtstring(date-time)falsenoneThe timestamp for when this third party card connection was last updated.

Enumerated Values

Value
UNKNOWN_CARD_TYPE
CREDIT
DEBIT
UNKNOWN_CONNECTION_STATUS
VERIFIED
FAILED
UNKNOWN_PROVIDER
MANUAL
BRAINTREE