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 |
---|---|---|
hide_card_holder | boolean | Hides the cardholder name input field. |
hide_button | boolean | Hides the primary payment button. |
return_path | string | URL to return to after payment is completed. |
card_types | Array<string> | Supported card types for the transaction. |
surcharge_enabled | string | Indicates whether surcharging is enabled ("true" or "false" ). |
sca_enabled | boolean | Enables Strong Customer Authentication (SCA). |
css | string | Custom CSS string to style the payment form. |
css_signature | string | Signature used to verify the integrity of the custom CSS. |
Updated 1 day ago