Complete configuration options for the Paysight Widget SDK
Option | Type | Description |
---|---|---|
productId | string | Your unique product identifier |
sessionId | string | Unique session identifier for the transaction |
amount | number | Payment amount in smallest currency unit (e.g., cents) |
Option | Type | Default | Description |
---|---|---|---|
environment | string | ’production’ | Payment environment (‘production’, ‘sandbox’, ‘local’) |
Option | Type | Default | Description |
---|---|---|---|
currency | string | ’USD’ | ISO 4217 currency code |
locale | string | ’en-US’ | Language/locale code |
threeDSRequired | boolean | false | Enable 3D Secure authentication |
ecom | boolean | false | Enable e-commerce mode |
Option | Type | Required | Description |
---|---|---|---|
customer.email | string | No | Customer email address |
customer.name | string | No | Customer full name |
customer.phone | string | No | Customer phone number |
customer.address | object | No | Customer address details |
Option | Type | Required | Description |
---|---|---|---|
data.campaignId | string | No | Paysight tracking campaign identifier |
data.affiliateId | string | No | Paysight tracking affiliate identifier |
data.subAffiliateId | string | No | Paysight tracking sub-affiliate identifier |
data.trackhouseClickId | string | No | Paysight tracking click identifier |
data.clickId | string | No | Generic tracking click identifier for analytics and attribution |
data.gclid | string | No | Google Click Identifier for tracking ad clicks |
data.wbraid | string | No | Web BRAID identifier for Google Ads tracking |
data.gbraid | string | No | Google BRAID identifier for app conversion tracking |
data.[key] | any | No | Any additional custom data key-value pairs |
Option | Type | Description |
---|---|---|
theme.font | string | Custom font URL |
theme.css | object | Custom CSS styles |