The credit-card resource contains the details for a specific credit card, such as the card number and expiration date. It includes the following properties:
Request
| Property Name | Type | Required | Description |
|---|---|---|---|
card-number | string | Required, if encrypted-card-number is not sent. | Credit card number. For example:
|
encrypted-card-number | string | Required, if card-number is not sent. | Encrypted credit card number. |
card-last-four-digits | string | Optional | Last four digits of the credit card. |
card-type | string | Optional, if sending Note: If you do not send the | Credit card type. |
expiration-month | integer | Required | Credit card expiration month. |
expiration-year | integer | Required | Credit card expiration year. |
security-code | string | Optional, but strongly recommended for first-time charges. | Credit card security code. |
encrypted-security-code | string | Optional, but strongly recommended for first-time charges. | Encrypted credit card security code. |
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. |
expiration-month | integer | Credit card expiration month. |
expiration-year | integer | Credit card expiration year. |
issue-number | string | Issue number on the credit card. |
