Configuration

The widget is configured via the payload passed into the init call or the config attribute in the react implementation.

Config Object

Key

Required

Description

public_api_key

true

Provided API public key

config_version

true

Specify config structure version. Current version: 1.1

user_locale

false

User locale for translations

funding_default

false

Default currencies and quantities for the initial quote screen

payout_default

false

Default currencies and quantities for the initial quote screen

quote

false

Previously obtained quote. If provided the quote view will be skipped.

Quote must be valid and recent, or else the user will be prompted to select a new quote.

funding_settlement

false

Where method and parameters of funding settlement are know ahead of time, they can be provided here. If provided, and all required parameters are present, the funding view will be skipped.

payout_settlement

false

Where method and parameters of payout settlement are know ahead of time, they can be provided here. If provided, and all required parameters are present, the payout view will be skipped.

custom_styles

false

Set custom styles for the widget elements.

identity

false

Provide an authenticated identity set for the current user.

surpress_sandbox_warning

false

Prevent the sandbox warning from appearing.

intent_id

false

Render the widget with immutable parameters such as payout destination and quantity.