Get Transaction Fees

Get pricing for MPESA to Bank, Paybill, or Till number. This endpoint requires no authentication.

GET https://upesipay.com/api/transaction_fees

Headers

Parameter Type Description
Content-Type* String application/json

Responses

200 OK

[
  {
    "amount_from": 1,
    "amount_to": 49,
    "price": 0
  },
  {
    "amount_from": 50,
    "amount_to": 499,
    "price": 6
  },
  {
    "amount_from": 500,
    "amount_to": 999,
    "price": 10
  },
  {
    "amount_from": 1000,
    "amount_to": 1499,
    "price": 15
  },
  {
    "amount_from": 1500,
    "amount_to": 2499,
    "price": 20
  }
]

Notes

  • This endpoint requires no authentication
  • Fees are charged based on transaction amount brackets
  • Transactions between 1-49 are free
  • Check the response array to find the applicable fee for your transaction amount

Try It Out

This API requires no authentication.

Headers

Code Samples

curl -X GET \
  'https://upesipay.com/api/transaction_fees' \
  -H 'Content-Type: application/json'

Was this page helpful?

Previous

Initiate a global payment transaction.

Make Global Payments

Next

Install and configure the WooCommerce plugin.

WooCommerce Plugin Installation