Quick Exchange
  • Quick Exchange for Partners
  • Expired Quote Handling
  • Widget Integration
    • Embedded Widget
    • Configuration
      • Config Version
      • Settlement Defaults
      • Settlement Parameters
      • Custom Styles
      • Identity
      • Special Layout
      • Partner Fields
    • Event Hooks
  • API Integration
    • Authentication
    • User Session
      • OAuth
      • KYC
    • Settlements
  • Settlements
    • Funding Methods
      • BLOCKCHAIN_TRANSFER
      • BLOCKCHAIN_DELEGATED_BROADCAST
      • CARD_PAYMENT
        • Test Cards
    • Payout Methods
      • BLOCKCHAIN_TRANSFER
      • LIQUID_PARTNER_WALLET
      • LIQUID_WALLET
      • LIQUID_USER_WALLET
  • E-Commerce
    • X-Quoine-Auth
    • Intents (Fixed Settlements)
      • Deliverable Currency
    • Transactions
      • Transaction Status
Powered by GitBook
On this page

Was this helpful?

  1. Widget Integration
  2. Configuration

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

{
  "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"
  }
}
PreviousConfig VersionNextSettlement Parameters

Last updated 4 years ago

Was this helpful?