CreditCard

Uses the Component:CreditCardType

The credit card information for the individual purchasing the item.

Fields and Components

Table 6.25. Fields and Components

Name Description Occurrence Type Data Type User Notes
CreditCardType

Account type (e.g. Visa, Mastercard, American Express, etc.)

0..1Field scl:CreditCardTypeEnumeratedType  
AccountID

Identifies an account number or similar identifier.

0..1Field oag:OpenIDType  
NameOnAccount

Indicates the name on the account, in the case of a credit card the name as it appears on the credit card.

0..1Field oag:NameType  
CreditCardExpirationDateYearMonthDate

Indicates the expiration month and year of the credit card.

0..1Field oag:YearMonthDateType  
CompanyNameOnAccount

Company name on credit card.

0..1Field oag:NameType  
CardID

Card Id field can be optionally provided to use additional security features of credit card authorization. It is typically a 3-digit number located on the back of most credit cards.

0..1Field oag:OpenIDType  
BillingAddress

Credit card billing address.

0..1Componentoag:AddressBaseType 
Authorization

The Authorization Component represents the authorization information if the method of payment was authorized (credit card or EFT).

0..1ComponentAuthorizationType 

Sample XML

The XML Sample provided here is an approximation of the generated XML for this component. Not all of the fields are required for implementation.

Example 6.32. CreditCard

<CreditCard>
     <CreditCardType>......</CreditCardType>     [0..1]
     <AccountID>......</AccountID>     [0..1]
     <NameOnAccount>......</NameOnAccount>     [0..1]
     <CreditCardExpirationDateYearMonthDate>......</CreditCardExpirationDateYearMonthDate>     [0..1]
     <CompanyNameOnAccount>......</CompanyNameOnAccount>     [0..1]
     <CardID>......</CardID>     [0..1]
     <BillingAddress>......</BillingAddress>     [0..1]
     <Authorization>......</Authorization>     [0..1]
</CreditCard>