Skip to main content

Enum Values

The following enums are used across P2P API endpoints. Pass string values or numbers.

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.
CancelType (Cancellation Reason)1No longer interested in the transaction
2Unable to contact the seller
3The advertisement's trading requirements are not met
4The seller requests additional fees
5The seller's payment method is abnormal
6Other
7Don't know how to make the payment
8The payment method provided by the seller is invalid
9The seller does not respond
10Agreed to cancel the order
11The seller is suspected of fraud
OverVerifyType (Additional Verification Type)1ID Card
2Passport
3Selfie
4Proof of Address
5Bill
6Other
OverVerifyState (Additional Verification Status)0Pending Review
1Approved
2Rejected