Create fee markup
Changed onCreates or updates an account's markup for one fee type. If the account already has a markup for that fee_type, it is updated with the new values.
Required permissions:
- company:update_child_fees
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Request body
Parameters for UpdateFeeMarkup
The unique identifier of the company to create or update the fee markup for.
The type of fee this markup applies to, such as processing or platform fees.
The fixed fee amount in USD to charge per transaction. Must be between 0 and 50.
Custom key-value metadata to attach to this fee markup.
Internal notes about this fee markup for record-keeping purposes.
The percentage fee to charge per transaction. Must be between 0 and 25.
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"fixed_fee_usd": 6.9,
"percentage_fee": 6.9
}Response
A successful response
A fee markup configuration that defines additional charges applied to transactions for a platform's connected accounts.
The datetime the fee markup was created.
The category of fee this markup applies to.
A flat fee charged per transaction, in USD. Ranges from 0 to 50. Null if no fixed fee is configured.
The unique identifier for the fee markup.
Internal notes about this fee markup, visible only to administrators. Null if no notes have been added.
A percentage-based fee charged per transaction. Ranges from 0 to 25. Null if no percentage fee is configured.
The datetime the fee markup was last updated.
Example response
{
"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_markupenum value to thefee_typeresponse property for the response status - info
added the new
payment_markupenum value to the request propertyfee_type
- warning
- warning
added the new
crypto_swap_markupenum value to thefee_typeresponse property for the response status
1 more change in this revision
- warning