---
title: "CustomizeSupplierCommissions"
method: POST
path: "/v2/CustomizeSupplierCommissions"
tags: ["Supplier"]
---

# CustomizeSupplierCommissions

`POST /v2/CustomizeSupplierCommissions`

Sets a customized commission for the supplier based on the payment method that will be used to make the payment. This allows different commission structures for different payment methods.

## Request body

- object
  - `SupplierCode` integer, required — The unique code of the supplier
  - `SupplierCommissions` object[] — Array of supplier commission configurations for different payment methods
    - `PaymentMethodId` integer — The payment method ID
    - `CommissionValue` number — A fixed value that will be deducted from each transaction
    - `CommissionPercentage` number — A percentage value that will be deducted from each transaction
    - `IsPercentageOfNetValue` boolean — true: deduct the percentage from the (total amount - transaction fees), false: deduct the percentage from the total amount. Affects only in case of one supplier in the request

## Response `200`

Successful response

- object
  - `IsSuccess` boolean — Indicates if the request was successful
  - `Message` string — Response message
  - `FieldsErrors` unknown[] — List of validation errors if any
    - unknown
  - `Data` object — Supplier commission customization result
    - `SupplierCode` integer — The unique code of the supplier
    - `SupplierEmail` string — The email address of the supplier
    - `Date` string — The date when the commission was customized

---

[API](https://skmtc.net/myfatoorah/apis/myfatoorah-api-v3.md) · [All operations](https://skmtc.net/myfatoorah/apis/myfatoorah-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myfatoorah/myfatoorah-api-v3/revisions/994a74287a16/schema)
