Skip to main content
PATCH

Intro

Sets a per-merchant commission rate that overrides your marketplace’s default rate for one sub-merchant only.

Context

This is the focused, commission-only sibling of Update Merchant (which can also change commission alongside profile fields). The rate set here is what Create Charge reads at the moment a marketplace charge is split — it’s the second link in the resolution chain described below, after which your marketplace’s own default (set via Update Marketplace Settings) applies if no override exists.
Commission resolution order at charge time: this per-merchant rate → your marketplace’s default rate → 0 if neither is set.

Hows

Path Parameters

integer
required
The sub-merchant’s business ID (merchant_id from List Merchants).

Request Body

number
required
Decimal commission rate between 0 and 1 (e.g. 0.08 = 8%). Not a percentage — 8 is invalid, 0.08 is correct.

Response

Updates both the marketplace-merchant relationship’s rate and the sub-merchant’s own commission field on their account — the latter is what Create Charge actually reads at split time.

Error Codes

Whys

This exists as a narrower alternative to Update Merchant for the common case of “I just need to change this one merchant’s rate” — a single required field, no risk of accidentally touching profile data in the same call. Requiring the relationship to be active (not just existing) prevents renegotiating commission on a merchant who’s currently suspended from the marketplace, which wouldn’t affect any real charges anyway.

Why nots

This does not change your marketplace’s default rate for merchants without an override — that’s Update Marketplace Settings. It does not retroactively recalculate commission on transactions that already settled; it only affects charges processed after the update. And it only works on merchants with an active relationship — a suspended or never-linked merchantId returns BUSINESS_NOT_FOUND rather than creating or resurrecting a relationship implicitly.