---
title: "Get Fee Config"
method: POST
path: "/fees/get-config"
---

# Get Fee Config

`POST /fees/get-config`

Retrieves the fee configuration that would be applied to a transaction.

## Request body

- object
  - `txType` 'send' | 'receive', required — The transaction type (send or receive)
  - `country` string, required — Any supported 2 letter country code e.g. KE
  - `currency` string, required — Any supported currency for the country provided above e.g. KES
  - `channelType` 'momo' | 'bank', required — The channel type used in the transaction
  - `directSettlement` boolean, required — Flag to decide if the transaction is a direct settlement or not.

## Response `200`

- object
  - `serviceFee` object
    - `minFeeLocal` number
    - `feePercentage` number
    - `flatFeeLocal` number

---

[API](https://skmtc.net/yellowcard/apis/yellow-cards-payment-api.md) · [All operations](https://skmtc.net/yellowcard/apis/yellow-cards-payment-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yellowcard/yellow-cards-payment-api/versions/516d251059cc/schema)
