SimulatedCardType

A SimulatedCardType represents a specific type of payment card that can be used for testing.

Entries

Link copied to clipboard

Visa

Link copied to clipboard

Visa (debit)

Link copied to clipboard

Mastercard

Link copied to clipboard

Mastercard (debit)

Link copied to clipboard

Mastercard (prepaid)

Link copied to clipboard

American Express

Link copied to clipboard

American Express

Link copied to clipboard

Discover

Link copied to clipboard

Discover

Link copied to clipboard

Diners Club

Link copied to clipboard

Diners Club (14 digit card)

Link copied to clipboard

JCB

Link copied to clipboard

UnionPay

Link copied to clipboard

Interac

Link copied to clipboard

Eftpos Australia

Link copied to clipboard

Visa Debit card supporting US Debit

Link copied to clipboard

Charge is declined with a card_declined code.

Link copied to clipboard

Charge is declined with a card_declined code. The decline_code attribute is insufficient_funds.

Link copied to clipboard

Charge is declined with a card_declined code. The decline_code attribute is lost_card.

Link copied to clipboard

Charge is declined with a card_declined code. The decline_code attribute is stolen_card.

Link copied to clipboard

Charge is declined with an expired_card code.

Link copied to clipboard

Charge is declined with a processing_error code.

Link copied to clipboard

Eftpos debit card with visa network branding.

Link copied to clipboard

Eftpos debit card with mastercard branding.

Link copied to clipboard

Simulates the cardholder being prompted for and entering an offline PIN. The resulting charge has cardholder_verification_method set to offline_pin.

Link copied to clipboard

Simulates an SCA-triggered retry flow where a cardholder’s initial contactless charge fails and the reader then prompts the user to insert their card and enter their offline PIN. The resulting charge has cardholder_verification_method set to offline_pin.

Link copied to clipboard

Simulates the cardholder being prompted for and entering an online PIN. The resulting charge has cardholder_verification_method set to online_pin.

Link copied to clipboard

Simulates an SCA-triggered retry flow where a cardholder’s initial contactless charge fails and the reader then prompts the user to insert their card and enter their online PIN. The resulting charge has cardholder_verification_method set to online_pin.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.