Element Type : credit.card

Synopsis

Describes a credit card.

Description

The element type provides the credit card number and type. When this document is transmitted to a client system where the credit card number--in the number attribute--is only used for verification, all but the last four digits should be replaced with 'X' characters.

Definition

Sequence of name
us.address

Attributes

NameDatatypeRequiredDescription
id

ID

trueAn code used to uniquely identify this card.
type

string

One of the following values:

  • visa
  • mastercard
  • american.express
  • diners.club
  • discover
  • jcb
trueThe credit card type.
number

string

true
expires.on

date

trueThe credit card expiration date. Only the month and year are significant. Day should always be 01. As in 01/09/2002.