This differentiates between the PRODUCTION environment and the SANDBOX environment. The options are
A parameter to choose between the buy or sell mode of the widget. Options are
buy - for buying crypto and
sell - for selling crypto. Please note: This parameter is not relevant for redirect integration. Instead, the base URL must point to the correct action, being either https://widget.paychant.com/buy or https://widget.paychant.com/sell
Your Paychant Partner API Key. If you don't have one, please Fill out this form to request your Key.
This is an optional string parameter in a comma-separated list, it allows you to sets a list of available crypto assets for users to choose from. Only the crypto assets you set will be shown in the widget. This will be a string of comma-separated values, for example (listedAsset=ethereum_dai,polygon_matic,celo_cusd). If this parameter is not set, the user will select an asset on their own from all available assets. The list of the available crypto assets can be found here.
fiatAmount is an integer parameter, that allows you to set the fiat amount of either buy or sell that will be presented to the user.
This is an integer optional parameter that represents the amount of crypto your user wants to buy or sell. If this is not set, the user will choose the amount on their own, but if it's set, users can't change the amount.
The blockchain address of the user's wallet where crypto will be sent to. This is an optional string parameter, If this parameter is not set, the user will be prompted to manually enter a wallet address.
This is an optional string parameter that pre-selects a crypto asset that will be shown to the user when they are on the widget.
A hosted image URL of your brand logo. This will appear as the widget logo in your integration.
This is an optional string parameter that pre-select the payment method type, If this parameter is not set, the user will be required to select the payment method. List of supported payment methods
id can be found here
This is an optional string parameter that pre-sets the email address of your user to make the buy or sell process quicker. If this parameter is not set, the user will be prompted to enter their email
This is an optional parameter that allows you to subscribe to events via webhooks. More information about webhooks can be found here.
This is an optional parameter to sets the theme color for the widget. If this parameter is set, Its changes the color of buttons, links, and highlighted text in the widget. Only hexadecimal codes are accepted but do not include the #. For example (2a1f63).
An optional parameter that allows you to pre-set the code of the fiat currency you want the user to use in buying or selling crypto. A list of supported fiat currencies can be found here.
This is an optional string parameter that allows you to provide a link that the user will be redirected to after completing the transaction.
Please note: this parameter is only available for the Redirect integration.