Interface

EventDetail

EventDetail

Event detail, field define by CustomEvent, we fully leverage it to communicate the event payload

View Source types/element.d.ts, line 73

Members

string

# brand Optional

Indicate the brand of card, only apply for card payment method

View Source types/element.d.ts, line 94

boolean

# complete Optional

Indicate if the element input is validate format

View Source types/element.d.ts, line 82

object

# directDebit Optional

Indicate the direct debit information
Properties:
Name Type Description
url string

View Source types/element.d.ts, line 114

boolean

# empty Optional

Indicate if the element input is empty or not

View Source types/element.d.ts, line 88

ElementError

# error Optional

Response error when failed to call interact with shopper input

View Source types/element.d.ts, line 108

Intent | object

# intent Optional

Indicate the confirm response when integrate with `card` | `wechat` | `dropIn` element
Properties:
Name Type Description
latest_payment_attempt object
payment_method PaymentMethodBasicInfo

View Source types/element.d.ts, line 100

ElementType | 'threeDsFrictionless' | 'threeDsChallenge'

# type

Type of element which fire the event

View Source types/element.d.ts, line 77