1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Roblox.Trades.Api.Models.V2.CanTradeWithResponse — openapi

The response for the CanTradeWith endpoint.

Properties

NameTypeRequiredDescription
userIdintegerfalseThe ID of the user.
targetUserIdintegerfalseThe ID of the target user.
canTradebooleanfalseWhether the user can trade with the target user or not.
mutualTradeEligibilitystringfalseThe mutual trade eligibility status between the two users. ['Unknown' = 0, 'Eligible' = 1, 'CallingUserIneligible' = 2, 'TargetUserIneligible' = 3, 'CannotTradeWithSelf' = 4, 'CallingUserPrivacySettingsRestricted' = 5, 'CallingUserAgeCheckRequired' = 6]
currencyTransferEligibility#/components/schemas/Roblox.Trades.Api.Models.V2.CurrencyTransferEligibilityResponsefalse

Complete Schema

{
  "description": "The response for the CanTradeWith endpoint.",
  "type": "object",
  "properties": {
    "userId": {
      "format": "int64",
      "description": "The ID of the user.",
      "type": "integer"
    },
    "targetUserId": {
      "format": "int64",
      "description": "The ID of the target user.",
      "type": "integer"
    },
    "canTrade": {
      "description": "Whether the user can trade with the target user or not.",
      "type": "boolean"
    },
    "mutualTradeEligibility": {
      "description": "The mutual trade eligibility status between the two users. ['Unknown' = 0, 'Eligible' = 1, 'CallingUserIneligible' = 2, 'TargetUserIneligible' = 3, 'CannotTradeWithSelf' = 4, 'CallingUserPrivacySettingsRestricted' = 5, 'CallingUserAgeCheckRequired' = 6]",
      "enum": [
        "Unknown",
        "Eligible",
        "CallingUserIneligible",
        "TargetUserIneligible",
        "CannotTradeWithSelf",
        "CallingUserPrivacySettingsRestricted",
        "CallingUserAgeCheckRequired"
      ],
      "type": "string"
    },
    "currencyTransferEligibility": {
      "$ref": "#/components/schemas/Roblox.Trades.Api.Models.V2.CurrencyTransferEligibilityResponse"
    }
  },
  "additionalProperties": false
}