Skip to main content

PurseHeadlessCheckoutBase

Base interface for all payment items in the Purse checkout system. Provides common properties shared between payment methods and tokens.

Remarks​

This interface should not be used directly in your application code. Instead, use PurseHeadlessCheckoutMethod or PurseHeadlessCheckoutToken.

Extended by​

Properties​

id​

id: string;

Unique identifier of the payment method

Examples​

'hipay-bancontact'
'illicado-giftcard'
'aci-creditcard'

isSecondary​

isSecondary: boolean;

Indicates if the payment method is a secondary mean of payment


method​

method: string;

Type of payment method, it can be a card, a wallet, a bank transfer, etc.

Examples​

'applepay'
'googlepay'
'creditcard'

partner​

partner: string;

Partner associated with the payment method

Examples​

'hipay'
'payconiq'
'paypal'

type​

type: "method" | "token";