Where parameters of a settlement are known before hand, eg the destination wallet address, it is possible to pass in a settlement configuration. Where parameters like this predefined, the relevant screens will skipped in the widget.
Note that defining funding_settlement
or payout_settlement
will lock whichever values are specified. In the example below, the payout currency will be locked to DASH
{"public_api_key": "pk_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","config_version": "1.1","payout_settlement": {"method": "BLOCKCHAIN_TRANSFER","currency": "DASH","input_parameters": {"account_key": {"type": "WALLET_ADDRESS","value": "XaxsLtAAh9LeyPdxTC5o2ZuwQaniELzYtQ",},},},}