Common parameters
required
elType:
string
Example:
#switchere
Details:
Query selector for mount widget. Required element with this selector in the html document.
Not required ifmode
==modal
.
required
partnerKeyType:
string
Example:
XXXXXXXXXXX
Details:
Unique partner API key, you should create it in the partner settings.
required
httpReturnSuccessType:
string
Example:
https://domain.tld/success
Details:
While order can be finished, this url will be used to redirect back to your site.TIP
Not required if provide
closeButton
required
httpReturnFailedType:
string
Example:
https://domain.tld/failed
Details:
If order was canceled or moved to error state, this url will be used to redirect back to your site.TIP
Not required if provide
closeButton
partnerOrderId
Type:
string
Default:
null
Example:
ABCDEFG-1234567
Details:
Unique partner id for the order, 64 characters[A-Za-z0-9-_]
- you should make it up yourself - it should be UNIQ.
closeButton
Type:
boolean
Default:
false
Details:
ShowClose
button when order is finished.closeButtonCallback
is required.
Also see: Introduction -> Show close button.
closeButtonCallback
Type:
(data: 'success' | 'failed') => void
Default:
null
Details:
Javascript callback. Calling whenClose
button is clicked.closeButton
is required. Argument can be 'success' or 'failed'.
Also see: Introduction -> Show close button.
lang
Type:
string
Default:
null
Value:
en
- Englishde
- Deutschkr
- Koreanes
- EspaƱolDetails
Language for the widget. If not provide, language will set automatically by IP address.
mode
Type:
string
Default:
null
Value:
null | modal
Details:
Open widget in modal
Also see: Introduction -> Open widget in modal.
theme
Type:
string
Default:
null
Details:
Unique theme id
TIP
Also see field parameters.
payToPartner
Type:
boolean
Default
false
Details:
IfpayToPartner
==true
then money will be sent to partner account after exchange. ParameterpayoutCurrency
is required. Compatible only with crypto currencies.