Skip to main content

Enum Values

The following enums are used across P2P API endpoints. Always pass string values.

EnumValueDescription
Side (Trade Direction)BUYBuy
SELLSell
KycLevelNONENo KYC
PRIMARYPrimary KYC
ADVANCEDAdvanced KYC
advStatus (Ad Status)CLOSEClosed
OPENOpen
DELETEDeleted
LOW_STOCKLow Stock
FeeTypeNONENone
EACH_FIXFixed per trade
EACH_RATIORatio per trade amount
OrderDealStateNOT_PAIDNot paid
PAIDPaid
WAIT_PROCESSWaiting for merchant
PROCESSINGProcessing
DONECompleted
CANCELCancelled
INVALIDInvalid
REFUSERefused
TIMEOUTTimeout
NotifyTypeSMSSMS verification
MAILEmail verification
GAGoogle Authenticator
tradeBlockReasons CodesOWN_ADVERTISEMENTThe current user is viewing an advertisement published by the same user.
TRADE_COUNT_BELOW_MINThe current user's completed P2P trade count is below the advertisement's minimum requirement.
TRADE_COUNT_REACHED_MAXThe current user's completed P2P trade count has reached the advertisement's maximum limit.
SPOT_TRADE_COUNT_BELOW_MINThe current user's spot-trade count in the last six months is below the advertisement's requirement.
KYC_LEVEL_NOT_METThe current user's KYC level is below the advertisement's requirement.
REGISTRATION_DAYS_BELOW_MINThe current user's registration period is shorter than the advertisement's requirement.
MOBILE_NOT_VERIFIEDThe advertisement requires a verified mobile number, but the current user has not verified one.
COUNTRY_NOT_SUPPORTEDThe current user's KYC country is not in the advertisement's supported-country list.
MERCHANT_TAKER_NOT_ALLOWEDThe current user is a merchant and the advertisement does not allow other merchants to place orders as takers.
KYB_REQUIREDThe advertisement permits only KYB enterprise users, and the current user is not a KYB user.