SDK Parameter Reference
Field | Type | M/O | Description |
|---|---|---|---|
type | String | M | Fixed value: |
sessionID | String | M | The sessionID returned by the interaction (LinkPay) API (16-character UUID in current LinkPay URL) |
locale | String | O | Language for Drop-in display. Example: |
environment | String | M | Set the environment for requests, e.g., |
mode | String | M |
|
uiOption | Object | O | |
| Object | O | Customize card payment section setting |
| boolean | O | To indicate if user is required to input card holder name when choosing card payment |
| boolean | O | To indicate if user is required to input CVV when choosing saved card to proceed payment |
| Object | O | Customize TnC section setting |
| boolean | O | To indicate if TnC is displayed. |
| boolean | O | Value for how user accepting TnC. |
| String | O | Mandatory field when |
appearance | Object | O | Customize Drop-in appearance. For the illustration of the uiOption effect, please refer to Drop-in Customization Reference |
| String | O | Checkbox or clickable button color, hex code (e.g., |
| String | O | Drop-in background color, hex code |
| String | O | Border/line color, hex code |
| String | O | Disabled button color, hex code |
| String | O | Error border and text color, hex code |
| String | O | Input background color, hex code |
| String | O | Input border color, hex code |
| String | O | Button text color, hex code |
| String | O | Input border when selected, hex code |
| String | O | Input placeholder color, hex code |
| String | O | Primary font color, hex code |
| String | O | Secondary font color, hex code |
| Object | O | Button font style |
| Object | O | Heading font style |
| Object | O | Subheading font style |
| Object | O | Popup heading font style |
| Object | O | Label font style |
| Object | O | Label info font style |
| Object | O | Popup label font style |
| Object | O | Input field font style |
| Object | O | Input field info font style |
| Object | O | Input field popup font style |
| Object | O | Paragraph font style |
| Object | O | Input placeholder font style |
| Array | O | Page corner radius |
| String | O | Merchant logo position: |
Updated about 2 hours ago
