Learn how the Phoenix payment iframe communicates with your application
window.postMessage
API. This page explains the messages exchanged between your application and the Phoenix payment iframe.
Parameter | Description | Example |
---|---|---|
address | The Ethereum wallet address where USDC will be sent | 0x742d35Cc6634C0532925a3b844Bc454e4438f44e |
amount | The amount in USD that the user wants to convert to USDC | 100 |
Parameter | Description | Example |
---|---|---|
theme | The UI theme to use. Can be either ‘light’ or ‘dark’ | dark |