Skip to main content

Create Ad

Create Ad

Description

Create a new P2P advertisement. Merchants can set fixed or floating price, payment methods, quantity limits, and trader requirements.

HTTP Request

  • POST /api/v3/p2p/ad-create
  • Rate limit: 10/sec/UID
  • Permission: UTA P2P (read and write)
Request
curl -X POST "https://api.bitget.com/api/v3/p2p/ad-create" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{
"token": "USDT",
"fiat": "CNY",
"side": "sell",
"priceType": "fixed",
"price": "7.28",
"minAmount": "100",
"maxAmount": "10000",
"quantity": "500",
"payMethodIds": [{"payMethodId": "1", "userPayMethodId": "101"}],
"payTimeLimit": "15"
}'

Request Parameters

ParametersTypeRequiredDescription
tokenStringYesCryptocurrency, e.g. USDT
fiatStringYesFiat currency, e.g. CNY
sideStringYesTrade direction:
buy buy
sell sell
priceTypeStringYesPrice type:
fixed fixed price
floating floating price
priceStringNoFixed unit price
Required when priceType=fixed
premiumStringNoPremium rate
Required when priceType=floating
minAmountStringYesMinimum trade amount per order in fiat currency
maxAmountStringYesMaximum trade amount per order in fiat currency
quantityStringYesTotal ad quantity in cryptocurrency
payMethodIdsListYesPayment method ID array
>payMethodIdStringYesPayment method ID. Retrieve via Get Pay Methods. Merchant's accepted payment method
>userPayMethodIdStringNoUser payment method ID
Required when side=sell. Merchant's collection method
remarkStringNoAd remarks
tradeTermsStringNoTrade terms
payTimeLimitStringYesPayment time limit in minutes: 5, 10
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": {
"advId": "1234567890"
}
}

Response Parameters

ParametersTypeDescription
advIdStringAd ID

How was your Reading Experience with us?