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 |
|---|---|---|---|
| string |
| Credit card number.
|
| string |
| Encrypted credit card number. |
| string | Optional | Last four digits of the credit card. |
| string | Optional, if sending
| Credit card type. |
| integer | Required | Credit card expiration month. |
| integer | Required | Credit card expiration year. |
| string | Optional, but strongly recommended for first-time charges. | Credit card security code. |
| string | Optional, but strongly recommended for first-time charges. | Encrypted credit card security code. |
Response
Property Name | Type | Description |
|---|---|---|
| string | Last four digits of the credit card. |
| string | Credit card type. |
| string | Card sub-type, such as Credit or Debit. |
| integer | Credit card expiration month. |
| integer | Credit card expiration year. |
| string | Issue number on the credit card. |
