Object containing credit card fields. Used by <a href="#payment>Payment and Payment Method endpoints.

Field Name

Type

Description

cardHolderName

String

Name as it appears on the card.

cardNumber

String

The number as it appears on the card.

expirationDateMonth

Integer

Two digit month. Use leading zeroes.

expirationDateYear

Integer

Four digit Year.

"creditCard": {
    "cardholderName": "John Adams",
    "cardNumber": "4111111111111111",
    "expirationDateMonth": 03,
    "expirationDateYear": 2023,
    "cvv": "123"
  }