Skip to content

Latest commit

 

History

History
64 lines (53 loc) · 5 KB

File metadata and controls

64 lines (53 loc) · 5 KB

PlaceBizPushOrder

Place ad order request

Properties

Name Type Description Notes
currencyType String Cryptocurrency symbol.
exchangeType String Fiat currency
type TypeEnum Ad operation type. `0`: publish sell ad; `1`: publish buy ad; `2`: edit sell ad; `3`: edit buy ad.
unitPrice String Per-unit price in fixed-price mode.
number String Ad amount priced in `currencyType`.
payType String Payment types enabled for the ad, comma-separated; values can be obtained from `pay_type` in the payment method list, e.g. `bank`, `alipay`, `wechat`, `paypal`, `swift`, `wu`. `pay_type_json` uses the types in this field as keys to specify the corresponding payment accounts.
payTypeJson String JSON string of specific payment accounts corresponding to `payType`. Each key is a payment type listed in `payType`, and each value is the current user's payment method ID for that type. For example, when `payType` is `bank,swift`, this field can be {"bank":"10001","swift":"10002"}. [optional]
rateFixed String Price type: `0` floating; `1` fixed. [optional]
oid String Pass ad ID when editing; omit or empty when publishing a new ad. [optional]
minAmount String Minimum quantity per order, denominated by currencyType; required when limitBasis is not passed or is 0 [optional]
maxAmount String Maximum quantity per order, denominated by currencyType; required when limitBasis is not passed or is 0 [optional]
limitBasis LimitBasisEnum Trading limit unit. 0: by crypto quantity, 1: by fiat amount; defaults to 0 when not passed for a new ad. The limit unit of an existing ad cannot be changed when editing; a fiat-limit ad must keep passing 1 when edited [optional]
fiatMinAmount String Minimum amount per order, denominated by exchangeType; required when limitBasis is 1 [optional]
fiatMaxAmount String Maximum amount per order, denominated by exchangeType; required when limitBasis is 1, and must not exceed the total fiat value of the ad quantity converted at the price [optional]
tierLimit String Minimum counterparty VIP level; `0` means no requirement. [optional]
verifiedLimit String Minimum counterparty verification level; `0` means no limit. [optional]
regTimeLimit String Minimum counterparty account age in days; `0` means no limit. [optional]
advertisersLimit String Whether trading with the advertiser is restricted. `0`: no; `1`: yes. [optional]
polymarketLimit PolymarketLimitEnum Whether to restrict trading with Polymarket users. 0: no restriction, 1: restricted [optional]
expireMin String Payment timeout in minutes. [optional]
tradeTips String Advertisement trade terms displayed to ordering users; goes through off-platform traffic diversion risk control on submission, and when hit, the advertisement is not saved and code 70305102 is returned [optional]
autoReply String Auto reply content after order creation; goes through off-platform traffic diversion risk control on submission, and when hit, the advertisement is not saved and code 70305102 is returned [optional]
minCompletedLimit String Minimum completed orders for counterparty; `-1` unlimited. [optional]
maxCompletedLimit String Maximum completed orders for counterparty; `-1` unlimited. [optional]
completedRateLimit String Counterparty minimum 30-day completion rate; `-1` means no limit. [optional]
userCountryLimit String KYC nationality restriction; `-1` means no restriction. [optional]
userOrderLimit String Maximum concurrent orders allowed for the counterparty. `-1`: unlimited. [optional]
rateReferenceId String Floating price reference. `1`: platform reference; `2`: Gate reference; `3`: spot reference. [optional]
rateOffset String Absolute floating offset ratio, e.g. `0.5` means 0.5%. [optional]
floatTrend String Floating direction: `0` markup; `1` markdown. [optional]
teamPaymentUid String Team payee UID; optional for non-team merchants. [optional]

Enum: TypeEnum

Name Value
_0 "0"
_1 "1"
_2 "2"
_3 "3"

Enum: LimitBasisEnum

Name Value
NUMBER_0 0
NUMBER_1 1

Enum: PolymarketLimitEnum

Name Value
NUMBER_0 0
NUMBER_1 1