Interface

DropInElementOptions

DropInElementOptions

Apply to dropIn element type integration, interface used when call createElement with type `dropIn`

View Source types/dropInElement.d.ts, line 7

Members

ApplePayHppOrDropInRequestOptions

# applePayRequestOptions Optional

The options of apple pay If you want to integrate with apple pay, you need to provide the following options

View Source types/dropInElement.d.ts, line 48

string

# authFormContainer Optional

Container for authentication form, it's an element id

View Source types/dropInElement.d.ts, line 74

boolean

# autoCapture Optional

Indicate whether to capture immediate when authentication success

View Source types/dropInElement.d.ts, line 42

Billing

# billing Optional

Billing info from merchant

View Source types/dropInElement.d.ts, line 123

string

# client_secret

If the intent provided, this should be the client_secret of the intent If no intent provided, this should be the client_secret of the customer

View Source types/dropInElement.d.ts, line 11

Array.<PaymentMethodType>

# components Optional

The payment methods your website would like to integrate with
Deprecated:
  • use `methods` instead

View Source types/dropInElement.d.ts, line 29

string

# country_code Optional

The 2-letter ISO country code from which the consumer will be paying If you want to integrate with `bank_transfer` payment method, it would be required

View Source types/dropInElement.d.ts, line 98

string

# currency

Currency of your payment intent or consent. Three-letter ISO currency code

View Source types/dropInElement.d.ts, line 17

string

# customer_id Optional

Checkout for know customer, refer to [Airwallex Client API](https://www.airwallex.com/docs/api#/Payment_Acceptance/Customers/Intro)

View Source types/dropInElement.d.ts, line 86

GooglePayRequestOptions

# googlePayRequestOptions Optional

The options of apple pay If you want to integrate with apple pay, you need to provide the following options

View Source types/dropInElement.d.ts, line 55

string

# intent_id Optional

The payment intent id you would like to checkout, it's required when mode is `payment`

View Source types/dropInElement.d.ts, line 80

Array.<PaymentMethodType>

# methods Optional

The payment methods your website would like to integrate with

View Source types/dropInElement.d.ts, line 36

Mode

# mode Optional

Checkout mode, can be one of payment, recurring
Default Value:
  • payment

View Source types/dropInElement.d.ts, line 22

RecurringOptions

# recurringOptions Optional

The options of recurring flow

View Source types/dropInElement.d.ts, line 92

string

# shopper_email Optional

Customer email

View Source types/dropInElement.d.ts, line 117

string

# shopper_name Optional

Customer name - minimum of 3 characters, up to 100 characters

View Source types/dropInElement.d.ts, line 105

string

# shopper_phone Optional

Customer phone

View Source types/dropInElement.d.ts, line 111

BoxStyle

# style Optional

Style for dropIn element

View Source types/dropInElement.d.ts, line 68

boolean

# withBilling Optional

Indicate to improve 3DS experience, indicate if the payment form will collect billing info from shopper

View Source types/dropInElement.d.ts, line 62