Details about a card account payment method.
{
"id": "dc0dc633-1760-4d43-ba1d-da94ed701f06",
"cardType": "DEBIT",
"cardName": "VISA",
"last4": "1234",
"expirationMonth": "10",
"expirationYear": "2021",
"bin": "123456",
"issuer": "Chase",
"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"
}
}
Name | Type | Required | Restrictions | Description |
---|
id | string(uuid) | true | none | A unique card account identifier. |
cardType | string | false | none | The type of card that is being used. |
cardName | string | true | none | The name of the card processor. |
last4 | string | true | none | The last 4 digits of the card number |
expirationMonth | string | true | none | The two digit month that the card expires in. |
expirationYear | string | true | none | The four digit year that the card expires in. |
bin | string | false | none | The first 6 digits of the card number |
issuer | string | false | none | The bank that issued the card |
createdAt | string(date-time) | false | none | The timestamp for when this card account payment method was created. |
updatedAt | string(date-time) | false | none | The timestamp for when this card account payment method was last updated. |
connection | object | false | none | Details about the connection to the third party for this card account. |
➥ id | string(uuid) | false | none | A unique card connection identifier. |
➥ externalAccountID | string | false | none | This is the identification number of a customer's card account provided by a third party processor. |
➥ connectionStatus | string | false | none | This is the status of the card account provided by a third party processor. |
➥ provider | string | false | none | This is the name of the third party processor that is being used for the card account. |
➥ createdAt | string(date-time) | false | none | The timestamp for when this third party card connection was created. |
➥ updatedAt | string(date-time) | false | none | The timestamp for when this third party card connection was last updated. |
Value |
---|
UNKNOWN_CARD_TYPE |
CREDIT |
DEBIT |
UNKNOWN_CONNECTION_STATUS |
VERIFIED |
FAILED |
UNKNOWN_PROVIDER |
MANUAL |
BRAINTREE |
CYBERSOURCE |