Developer Docs

Types

PaymentConfig

Property Type Description
username string
environment string
accessToken string Refer to

PaymentIntent

Property Type Description
payment Payment
verification string Refer to specific component for hash calculation.

Payment

Property Type Description
amount number
currency string
reference string
hide_card_holder boolean <- not sure if this one is actually used so maybe not needed

Options


Property Type Description
buttonText string Custom label for the payment button.
cards string Supported card types for the transaction.
challengeWindowSize ChallengeWindowSize Size of the challenge window for 3DS2 flows.
css string Custom CSS string to style the payment form.
cssSignature string Signature used to verify the integrity of the custom CSS.
hideButton boolean Hides the primary payment button.
hideLogos boolean Hides the card network logos from the form.
logoUrl string URL of a custom logo to display.
enableSca boolean Enables Strong Customer Authentication (SCA).
showEmail boolean Displays an email input field.
showExtras boolean Displays additional optional fields.
tokenizeOnly boolean Tokenizes the card without processing a payment.
hideCardHolder boolean Hides the cardholder name input field.
returnPath string URL to return to after payment is completed.
cardTypes Array<string> List of supported card types for the transaction.
surchargeEnabled boolean or string Indicates whether surcharging is enabled.
scaEnabled boolean Enables Strong Customer Authentication (SCA).

Challenge Window Type

Enum Value Code Dimensions
SIZE_250X400 01 250 × 400
SIZE_390X400 02 390 × 400
SIZE_500X600 03 500 × 600
SIZE_600X400 04 600 × 400
SIZE_FULL_PAGE 05 Full page