Widget Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
After you for configuration you can use following optional parameters:
asset_type
currency code
string
to_address
wallet address to send assets to
string
amount_type
"fiat" or "crypto"
string
amount
amount of assets
number
network
supported network
string
webhook_url
postback url
string
additional_fields[0]
your custom data
string
additional_fields[key]
your custom data
string
asset_type
- requires currency code for supported assets, using this parameter locks asset type to enable only buying of this asset and prevents user from changing to different cryptocurrency, should be in lowercase
to_address
- setting this parameter locks user from changing destination wallet address. If to_address
is defined then either asset_type
or network parameters also need to be defined
amount_type
- possible options for this parameters are "fiat
" or "crypto
". Default fiat is EUR. This field is required if amount
parameter is being sent, and it defines whether the defined amount
is crypto or fiat
amount
- define how much user will be buying, setting this parameter locks user from changing amount value
webhook_url
- destination for postback data
additional_fields
- can use number or string as key, there is no limit for number of additional fields used
network
- defines supported network and filters available coins shown in UI according to it