GET
/
merchants
/
fees
/
getAll
cURL
curl -X GET "https://api.onekhusa.com/sandbox/v1/merchants/fees/getAll?MerchantAccountNumber=35253486" \
  --header "Authorization: Bearer your-jwt-token" \
  --header "accept: application/json" \
  --header "X-Organisation-Id: FYH0NTVW0DXK" \
  --header "X-Merchant-Account-Number: 35253486" \
  --header "Accept-Language: en"
[
  {
    "merchantAccountNumber": 12445132,
    "transactionType": "Account To Merchant",
    "currencyCode": "MWK",
    "convenienceFee": 625,
    "transactionFeeTag": "P",
    "transactionFee": 1,
    "vatPercentage": 0
  },
  {
    "merchantAccountNumber": 12445132,
    "transactionType": "Merchant To Account",
    "currencyCode": "MWK",
    "convenienceFee": 700,
    "transactionFeeTag": "P",
    "transactionFee": 1,
    "vatPercentage": 16.5
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <Token>, where <Token> is your access token.

Headers

X-Organisation-Id
string
required

The organization identifier

X-Merchant-Account-Number
string
required

The merchant account number

Accept-Language
string
default:en

Preferred language for the response

Query Parameters

MerchantAccountNumber
integer
required

The unique identifier of the merchant account

Required range: 10000000 <= x <= 99999999
Example:

35253486

Response

Success Response (200)

merchantAccountNumber
integer

The unique identifier of the merchant account

Example:

35253486

transactionType
string

The type of transaction the charges apply to

Example:

"Account To Merchant"

convenienceFee
number

The convenience fee amount charged for the transaction

Example:

625

transactionFeeTag
string

Indicates if the transaction fee is a percentage or fixed amount

Example:

"P"

transactionFee
number

The transaction fee amount (either fixed amount or percentage)

Example:

1

vatPercentage
number

The VAT percentage applicable to the transaction fee

Example:

16.5

currencyCode
string

Currency code for the above fees

Example:

"MWK"