SimulatedCardType
A SimulatedCardType
represents a specific type of payment card that can be used for testing.
Entries
Visa (debit)
Mastercard
Mastercard (debit)
Mastercard (prepaid)
Discover
Diners Club (14 digit card)
Eftpos Australia
Visa Debit card supporting US Debit
Charge is declined with a card_declined
code.
Charge is declined with a card_declined
code. The decline_code
attribute is insufficient_funds
.
Charge is declined with a card_declined
code. The decline_code
attribute is lost_card
.
Charge is declined with a card_declined
code. The decline_code
attribute is stolen_card
.
Charge is declined with an expired_card
code.
Charge is declined with a processing_error
code.
Eftpos debit card with visa network branding.
Eftpos debit card with mastercard branding.
Simulates the cardholder being prompted for and entering an offline PIN. The resulting charge has cardholder_verification_method
set to offline_pin
.
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
.
Simulates the cardholder being prompted for and entering an online PIN. The resulting charge has cardholder_verification_method
set to online_pin
.
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
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.