Fee markups

List fee markups

Changed on

Lists the fee markups configured for an account. For a platform account, returns the platform's default markups.

Required permissions:

  • company:update_child_fees
get/fee_markups

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

after, string

Returns the elements in the list that come after the specified cursor.

before, string

Returns the elements in the list that come before the specified cursor.

first, integer

Returns the first n elements from the list.

Example:42
last, integer

Returns the last n elements from the list.

Example:42
account_id, string required

The unique identifier of the company to list fee markups for. Pass a platform account identifier to retrieve platform default markups.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

object required

The connection type for FeeMarkup.

data, FeeMarkupListItem[] required

A list of nodes.

page_info, PageInfo required

Information to aid in pagination.

Example response

{
  "data": [
    {
      "created_at": "2023-12-01T05:00:00.401Z",
      "fixed_fee_usd": 6.9,
      "notes": "Approved by finance team on 2024-01-15",
      "percentage_fee": 6.9,
      "updated_at": "2023-12-01T05:00:00.401Z"
    }
  ]
}

Changes

    • warning

      added the new payment_markup enum value to the data/items/fee_type response property for the response status

    • warning

      added the new crypto_swap_markup enum value to the data/items/fee_type response property for the response status

    • warning

      added the new transfer_markup enum value to the data/items/fee_type response property for the response status