Overview
To ensure a successful integration with Phoenix, please adhere to the following technical requirements. These specifications are designed to provide optimal user experience and security.Iframe Requirements
Iframe dimensions: Must be exactly 350px × 600px
Security Requirements
Origin validation: Always verify message origins for security
Parameter Requirements
Required parameters: Both wallet address and amount must be provided
Required Parameters
- address: A valid Ethereum wallet address
- amount: A valid USD amount (numeric value)
Optional Parameters
- theme: The UI theme to use. Can be either ‘light’ or ‘dark’
Browser Requirements
Phoenix works with modern browsers including:- Chrome 85+
- Firefox 80+
- Safari 14+
- Edge 85+
Network Requirements
Your application should be served over HTTPS to ensure secure communication with the Phoenix payment iframe.Production Deployment
In development environments, you may use a staging URL provided by the Phoenix team. For production, always use:Testing Your Integration
Before going live, we recommend testing your integration with the following scenarios:- Bank connection flow: Test the bank connection process
- Transaction flow: Complete a payment from end to end with the transaction success message
- Order tracking: Verify that order details are properly captured for record-keeping
- Parameter validation: Test with invalid parameters to ensure proper error handling
- Message handling: Ensure proper handling of all message types
- Security validation: Verify message origin validation