Setup Widget
Introduction
By following this guide, you can quickly begin using the Direct Checkout Widget. With minimal coding required, you can enable your users to buy NFTs.
Step 1: Initialize the widget
This is an sample Widget URL for NFT Checkout
You can use the widget in various ways such as
Redirect your users to the widget URL in a new tab or pop-up
Embed the widget in your existing web application using an iframe
Deploy a Webview in your existing mobile application.
Step 2: Configure the widget
Parameter | Description |
---|---|
apiKey* | The public api key |
network* | Network Chain |
listingId* | The listing ID of the NFT |
receiverId* | The wallet address or user id |
extra | Extra informations |
backgroundColorHex | Ex: eddac3, Customize background color |
textColorHex | Ex: 69341D, Customize text color |
primaryColorHex | Ex: 69341D, Customize primary color |
itemName* | The name of the item |
itemImageURL* | The image url of the item |
marketplaceCode* | Poko will send you marketplace code |
type | nft |
redirectUrl | Callback URL |
Last updated