WalletD developers
Catalog

Set a merchant's per-transaction commission rate (tenant admin)

The tenant's negotiated marketplace commission for this one merchant, applied to every catalog sale it makes.

PUT/v1/clients/{clientId}/commission

The tenant's negotiated marketplace commission for this one merchant, applied to every catalog sale it makes. It overrides the tenant's default commission rate; a per-offering rate still beats it. Requires fees:manage, the same authority as the tenant-wide fee plan; a merchant cannot set its own commission.

Authorization

bearerAuth
AuthorizationBearer <token>

A tenant API key (sk_{env}_{id}_{secret}), a wallet user token, or an IdP access token. Which principal the credential resolves to decides the scopes it carries; see the authentication guide.

In: header

Path Parameters

clientId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Only the rate is negotiable; the flat part and band stay with the tenant plan.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/v1/clients/497f6eca-6276-4993-bfeb-53cbbbba6f08/commission" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "merchant_id": "500924a8-3f5e-4c00-beb8-2efcde988aea",  "org_alias": "string",  "display_name": "string",  "category": "string",  "description": "string",  "logo_url": "string",  "commission_bps": 0,  "status": "pending",  "approved_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}