Quick Exchange
Search…
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.
Field
Type
Description
Required
currency
string
The default currency for the given side of the quote
false
quantity
string
The default quantity for the given side of the quote
(Note: cannot set defaults for both sides)
(Note: must set currency for the given side)
false
currency_scheme
string
Either FIAT or CRYPTO . Filter the list of available currencies
false
currency_options
Array<string>
Manually filter the list of available currencies.
false
1
{
2
"public_api_key": "pk_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
3
"config_version": "1.2",
4
"funding_default": {
5
"currency": "USDC"
6
}
7
"payout_default": {
8
"currency": "ETH",
9
"quantity": "0.5",
10
"currency_scheme": "CRYPTO"
11
}
12
}
Copied!
1
{
2
"public_api_key": "pk_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
3
"config_version": "1.2",
4
"funding_default": {
5
"currency_options": ["BTC", "BCH"]
6
}
7
"payout_default": {
8
"currency": "ETH",
9
"quantity": "0.5"
10
}
11
}
Copied!
Last modified 5mo ago
Copy link