Interface

PaymentConsentRequest

PaymentConsentRequest

Interface of the request when call createPaymentConsent

View Source types/airwallex.d.ts, line 485

Members

Billing

# billing Optional

The billing info for the payment consent

View Source types/airwallex.d.ts, line 544

string

# cardname Optional

The cardholder name for this payment method

View Source types/airwallex.d.ts, line 520

string

# client_secret Optional

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 For `cardNumber` or `card` element, it should be required. For `directDebit` element, you needn't provide it.

View Source types/airwallex.d.ts, line 501

string

# connected_account_id Optional

It is to be used by the platform to indicate the connected entity in the transaction where platform is the owner of transaction.

View Source types/airwallex.d.ts, line 550

string

# currency Optional

The currency of the payment consent, Only applicable for card consent

View Source types/airwallex.d.ts, line 495

string

# customer_id

The customer_id of the consent

View Source types/airwallex.d.ts, line 515

Element

# element

The element you would like to use to create consent

View Source types/airwallex.d.ts, line 510

string

# intent_id Optional

The intent_id that would be confirmed with the new created payment consent

View Source types/airwallex.d.ts, line 489

'scheduled' | 'unscheduled'

# merchant_trigger_reason Optional

The reason why merchant trigger transaction. Only applicable when next_triggered_by is `merchant`

View Source types/airwallex.d.ts, line 538

Record.<string, unknown>

# metadata Optional

A set of key-value pairs that can be attached to this PaymentConsent

View Source types/airwallex.d.ts, line 556

'merchant' | 'customer'

# next_triggered_by Optional

The subsequent transactions are triggered by `merchant` or `customer`

View Source types/airwallex.d.ts, line 532

string

# payment_method_id Optional

If customer already has a payment method, merchant could provide it instead of create a new one

View Source types/airwallex.d.ts, line 526

boolean

# skip_3ds Optional

Set it to true if you want to skip 3DS regardless of the risk score and SCA. Only applicable when it's card recurring flow.

View Source types/airwallex.d.ts, line 562