Skip to main content

Submit order

Interface address: /api/v1/order/create-order
Notes: Use to create orders

Request input parameters

ParameterTypeMandatoryDescription
merchantOrderStringYMerchant order's unique tag
typeStringY0: Create a new order (by default).
1: Resubmit a new order. "merchantOrder" must be consistent. Nothing can be updated except for "quoteId".
userIdStringYUser's unique tag
businessTypeStringYBusiness type: BUY/SELL
clientIpStringYClient IP address
merchantUserLevelStringNMerchant user level 0 – 4
quoteObjectYQuote information
cardObjectYCard information
paymentObjectYPayment information
withdrawObjectYWithdrawal information
clientInfoObjectNClient information
googlePayInfoObjectNGooglePay PaymentMethodTokenizationData.token view
googlePayBillInfoObjectNGooglePay Address view
applePayInfoObjectNApplePay ApplePayPaymentToken view
applePayBillInfoObjectNApplePay ApplePayPaymentContact view

Request input parameters (quote)

ParameterTypeMandatoryDescription
quoteIdLongNQuote id; if passed in, an order will be generated according to this quote. The quote needs to be valid; expired quotes cannot generate orders. The quote corresponding to the quote id needs to be consistent with cryptocurrencyCurrency\fiatAmount\fiatCurrency. If there is no quote id, it will be automatically generated when placing an order and an order will be created according to the quote at that time.
cryptoCurrencyStringNCryptocurrency to buy
fiatCurrencyStringNFiat currency to be paid
fiatAmountStringNFiat amount to be paid by the user

Request input parameters (card)

ParameterTypeMandatoryDescription
cardIdStringYCard ID to be used by the user. Only allowed to enter when the payment method is a card. Verify that the card ID matches the user ID.
fullNameStringNCardholder's Name
countryStringNCountry/region
addressStringNBilling address
cityStringNCity
postalCodeStringNPostal code
phoneStringNPhone number
areaCodeStringNCountry code of the phone number

Request input parameters (payment)

ParameterTypeMandatoryDescription
payWayCodeStringYPayment method to be used by the user. enum: GOOGLE_PAYAPPLE_PAYCARD
redirectUrlStringYUsers will be redirected to this address after payment. When using API, this parameter is passed through to "checkout".
failUrlStringYUsers will be redirected to this address if payment failed. When using API, this parameter is passed through to "checkout".
callbackUrlStringYPush address for the order's webhook.
deviceSessionIdStringYView generation method
forterTokenStringNForter token
cybsTokenStringNCybs token

Request input parameters (withdraw)

ParameterTypeMandatoryDescription
networkStringNThe network associated with the cryptocurrency.
Merchant type: "network" is mandatory for on-chain mode and optional for off-chain mode.
transferAddressStringNMerchant type: In on-chain mode, pass the on-chain address; in off-chain mode, pass the userId
transferModeStringNCHAIN: on-chain
merchantUserStringNUser's unique ID on the merchant end.
Merchant type: "merchantUser" is mandatory for off-chain mode.

Request input parameters (clientInfo)

ParameterTypeMandatoryDescription
deviceIdStringNUnique device identifier
userAgentStringNBrowser UA Information
LanStringNBrowser Language
browserVersionStringNBrowser Version
browserNameStringNBrowser Name
agentOSStringNOperating System
browserWidthStringNBrowser Width
browserHeightStringNBrowser Height
forterMobileUIDStringNForter App Device Fingerprint Field
This field is required for the app side, but since all transaction investigations are conducted on the web side, it needs to be confirmed whether it is missing. For the web side, the forterTokenCookie is present.

Note: clientInfo is not a mandatory field, but the absence of this field may impact the success rate of orders. It is recommended that the merchant side transmits as much information as possible.

Output parameters

ParameterTypeMandatoryDescription
orderIdStringYOrder ID

How was your Reading Experience with us?

footer_logoCopyright
Quadrum Verslo Centra, Konstitucijos pr 21, Vilnius 08130 , Lithuania