Contains the details for a specific credit card, such as the card number and expiration date
Request
| Property Name | Type | Required | Description |
|---|---|---|---|
card-number | string |
| Credit card number. For example:
|
encrypted-card-number | string |
| Encrypted credit card number. |
card-last-four-digits | string | Optional
| Last four digits of the credit card. |
card-type | string | Optional if sending card-number or encrypted-card-number
| Credit card type. |
expiration-month | integer | Required | Credit card expiration month. |
expiration-year | integer | Required | Credit card expiration 4-digit year. |
security-code | string |
| Credit card security code. |
encrypted-security-code | string |
| Encrypted credit card security code. |
security-code-pf-token | string | Optional Relevant if using Hosted Payment Fields | Hosted Payment Fields token that has been associated with a shopper's CVV. Useful for verifying CVV when shopper uses a vaulted card. |
Response
| Property Name | Type | Description |
|---|---|---|
card-last-four-digits | string | Last four digits of the credit card. |
card-type | string | Credit card type. |
card-sub-type | string | Card sub-type, such as Credit or Debit. |
card-category | string | Card category, such as business or prepaid. Appears only if relevant. |
expiration-month | integer | Credit card expiration month. Appears only in responses for Retrieve Shopper. |
expiration-year | integer | Credit card expiration 4-digit year. Appears only in responses for Retrieve Shopper. |
issue-number | string | Issue number on the credit card. |
