v1

latestOpenAPI 3.0.42026-08-068161,1253.1 MB
Trades

Checks if the user can trade with a specific user.

get/v2/users/{userId}/can-trade-with

Path parameters

userIdinteger required

Response

OK

userIdinteger

The ID of the user.

targetUserIdinteger

The ID of the target user.

canTradeboolean

Whether the user can trade with the target user or not.

mutualTradeEligibility'Unknown' | 'Eligible' | 'CallingUserIneligible' | 'TargetUserIneligible' | 'CannotTradeWithSelf' | 'CallingUserPrivacySettingsRestricted'

The mutual trade eligibility status between the two users. ['Unknown' = 0, 'Eligible' = 1, 'CallingUserIneligible' = 2, 'TargetUserIneligible' = 3, 'CannotTradeWithSelf' = 4, 'CallingUserPrivacySettingsRestricted' = 5]