Account

Updates account profile

Updates account profile information

put/account/profile

Request body

announcementsboolean
fill_soundboolean
fillsboolean
is_username_privateboolean
max_slippagestring
ordersboolean
referral_codestring
referred_bystring
size_currency_displaystring
tap_share_ratestring
trading_value_displaystring
transfersboolean
usernamestring
xp_share_ratestring

Example request

{
  "fill_sound": true,
  "fills": true,
  "is_username_private": true,
  "orders": true,
  "referral_code": "referral_code",
  "referred_by": "referral_code",
  "tap_share_rate": "0.2",
  "transfers": true,
  "username": "username",
  "xp_share_rate": "0.2"
}

Response

OK

is_username_privateboolean
market_max_slippageobject
marketed_bystring
referral_codestring
referred_bystring
size_currency_displaystring
tap_statusstring

TAP affiliate status: "NONE", "ACTIVE", or "INACTIVE"

twitter_followingobject
usernamestring

Example response

{
  "is_username_private": true,
  "marketed_by": "maxDegen",
  "notifications": {
    "fill_sound": true,
    "fills": true,
    "orders": true,
    "transfers": true
  },
  "referral": {
    "commission_rate": "0.1",
    "commission_volume_cap": "1000000000",
    "discount_rate": "0.1",
    "discount_volume_cap": "30000000",
    "minimum_volume": "0.123",
    "name": "Referral",
    "points_bonus_rate": "0.1",
    "points_bonus_volume_cap": "1000000000",
    "referral_type": "Referral"
  },
  "referral_code": "cryptofox8",
  "referred_by": "maxDegen",
  "size_currency_display": "BASE",
  "tap_share_rate": {
    "last_updated_at": 1715592690488,
    "share_rate": "0.2"
  },
  "username": "username",
  "xp_share_rate": {
    "last_updated_at": 1715592690488,
    "share_rate": "0.2"
  }
}

Changes

Changed in 2 of the 50 revisions of this API.14

  • e0dd7ef9404f13See the full diff
    • added required request body

      request-body-added-required

    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the media type application/json for the response with the status 400

      response-media-type-added

    • added the media type application/json for the response with the status 401

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added