Types

PaymentConfig

PropertyTypeDescription
usernamestring
environmentstring
accessTokenstringRefer to

PaymentIntent

PropertyTypeDescription
paymentPayment
verificationstringRefer to specific component for hash calculation.

Payment

PropertyTypeDescription
amountnumber
currencystring
referencestring
hide_card_holderboolean<- not sure if this one is actually used so maybe not needed

Options


PropertyTypeDescription
buttonTextstringCustom label for the payment button.
cardsstringSupported card types for the transaction.
challengeWindowSizeChallengeWindowSizeSize of the challenge window for 3DS2 flows.
cssstringCustom CSS string to style the payment form.
cssSignaturestringSignature used to verify the integrity of the custom CSS.
hideButtonbooleanHides the primary payment button.
hideLogosbooleanHides the card network logos from the form.
logoUrlstringURL of a custom logo to display.
enableScabooleanEnables Strong Customer Authentication (SCA).
showEmailbooleanDisplays an email input field.
showExtrasbooleanDisplays additional optional fields.
tokenizeOnlybooleanTokenizes the card without processing a payment.
hideCardHolderbooleanHides the cardholder name input field.
returnPathstringURL to return to after payment is completed.
cardTypesArray<string>List of supported card types for the transaction.
surchargeEnabledboolean or stringIndicates whether surcharging is enabled.
scaEnabledbooleanEnables Strong Customer Authentication (SCA).

Challenge Window Type

Enum ValueCodeDimensions
SIZE_250X40001250 × 400
SIZE_390X40002390 × 400
SIZE_500X60003500 × 600
SIZE_600X40004600 × 400
SIZE_FULL_PAGE05Full page