Widget SDK Reference
Technical Reference
Complete API documentation and implementation details for the PaySight Widget SDK
Technical Reference
This technical reference provides detailed documentation of the PaySight Widget SDK’s APIs, interfaces, and implementation details.
SDK Architecture
The PaySight Widget SDK is built on a message-based architecture that enables secure communication between your application and the widget iframe. The SDK handles:
- Cross-origin communication
- Configuration validation
- Event management
- State synchronization
- Resource management
- Security measures
Core Interfaces
Widget Configuration
Widget Instance
Error Handling
Error Types
API Endpoints
The widget communicates with the following endpoints:
Next Steps
- Configuration Guide - Detailed configuration options
- Events Guide - Event handling details
- Advanced Usage - Advanced implementation topics
- Examples - Implementation examples