View a markdown version of this page

Card - AWS Billing and Cost Management

Card

The details of a card payment instrument.

Contents

last4

The last four digits of the card number.

Type: String

Length Constraints: Fixed length of 4.

Pattern: [0-9]{4}

Required: Yes

brand

The network the card runs on.

Type: String

Valid Values: VISA | MASTERCARD | AMEX | DISCOVER | JCB | RUPAY | CHINA_UNIONPAY

Required: No

cardType

Whether the card is a credit card or a debit card.

Type: String

Valid Values: CREDIT | DEBIT

Required: No

expirationMonth

The calendar month that the card expires in.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 12.

Required: No

expirationYear

The calendar year that the card expires in.

Type: Integer

Valid Range: Minimum value of 2000. Maximum value of 2300.

Required: No

issuerCountry

The country of the bank that issued the card.

Type: String

Length Constraints: Fixed length of 2.

Pattern: [A-Z]{2}

Required: No

issuingBank

The bank that issued the card.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: