-
- |
- `card`
- |
-
-
- Configure settings for the credit card form:
- |
-
-
-
- |
-
- |
-
-
- * **`type`**: Card form layout type. Options: `step` or `extends`
- |
-
-
-
- |
-
- |
-
-
- * **`styles`**: Write custom CSS to style the card form. Your CSS will be injected into the iframe.
- |
-
-
-
- |
-
- |
-
-
- * **`cardSaveEnable`**: Show checkbox to save or enroll the card. Defaults to `false`.
- |
-
-
-
- |
-
- |
-
-
- * **`texts`**: Custom text for the card form buttons.
- |
-
-
-
- |
-
- |
-
-
- * **`cardNumberPlaceholder`**: Optional. Custom placeholder text for the card number field. Supports alphanumeric characters, spaces, and UTF-8 characters for localization. If not provided, the SDK uses the default English placeholder ("Card number"). This customization does not affect card formatting, masking, BIN logic, or validation.
- |
-
-
-
- |
-
- |
-
-
- * **`hideCardholderName`**: Optional. When set to `true`, the cardholder name field is hidden in the card form. When not specified or set to `false`, the cardholder name field is displayed (default behavior). Hiding the field does not affect PAN, expiry, CVV collection, BIN logic, or 3DS/provider validations.
- |
-
-
-
- |
-
- |
-
-
- * **`onChange`**: Callback function triggered when card information state changes. Called when card-related events occur, such as during data fetching (loading), after completion, when a network is selected (e.g., Visa, Mastercard), or when the card form is reset. Receives `{error, data}` where `data` contains card IIN (Issuer Identification Number, also known as BIN - Bank Identification Number) information and installment options. The BIN (first 6 digits of the card number) can be used for real-time tax calculations. Works the same as the secure fields `options.onChange` method.
- |
-
-
-