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

# CustomizeSupplierCommissions

`POST /v2/CustomizeSupplierCommissions`

## Request

- Base URL: `https://apitest.myfatoorah.com`
- URL: `https://apitest.myfatoorah.com/v2/CustomizeSupplierCommissions`
- Auth: HTTP bearer

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.dev/myfatoorah/apis/myfatoorah-api-v2.md) - [All operations](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/myfatoorah/apis/myfatoorah-api-v2/revisions/4c0c2a3af558?raw)
