Settlement Parameters

Lock in some of the parameters of a settlement.

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.2",
  "payout_settlement": {
    "method": "BLOCKCHAIN_TRANSFER",
    "currency": "DASH",
    "input_parameters": {
      "wallet_address": "XaxsLtAAh9LeyPdxTC5o2ZuwQaniELzYtQ",
    },
  },
}

Last updated