Settlement Defaults

Both sides of the transaction can have optional defaults specified for currency and amount. To fix these, define the settlement below.

Note that the user will still be able to change the currency/quantity. To lock the currency or quantity, define the settlements below.

{
  "public_api_key": "pk_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "config_version": "1.2",
  "funding_default": {
    "currency": "USDC"
  }
  "payout_default": {
    "currency": "ETH",
    "quantity": "0.5",
    "currency_scheme": "CRYPTO"
  }
}
{
  "public_api_key": "pk_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "config_version": "1.2",
  "funding_default": {
    "currency_options": ["BTC", "BCH"]    
  }
  "payout_default": {
    "currency": "ETH",
    "quantity": "0.5"
  }
}

Last updated