Skip to main content
PUT
Configure Submerchant Markup

Configure Submerchant Markup

Use this endpoint to set a submerchant’s own markup for each product and payment method. The submerchant’s markup takes priority over the merchant’s global markup, but not over an inline markup sent in the request.
This endpoint replaces the whole configuration. Every call removes the submerchant’s current markups and saves only the items in markups. Any product and payment method you leave out goes back to the global markup.

Path Parameters

integer
required
ID of the merchant (parent account). It must be one of the authenticated user’s companies.
integer
required
ID of the submerchant. It must be a submerchant of merchantId.

Request Body

array[object]
required
Markup configurations for the submerchant. Send between 1 and 8 items, and at most one item for each product and payment_method pair.
Unlike the global markup, a submerchant markup with mode = percent requires both min_charge_value and max_charge_value.

Request Examples

Response

Returns the submerchant with its updated markup, with the same fields as Get Submerchant Markup.

Batch Apply Submerchant Markup

Apply the same markup to many submerchants

Remove Submerchant Markup

Go back to the global markup

About Markup

Learn about markup types and configuration levels

Create Merchant Markup

Configure the global markup