Kenya's Digital Service Tax applies to income earned from services delivered through a digital marketplace or over the internet. If you build and operate a product that earns revenue through digital channels in Kenya, you may be liable for DST. The tax is separate from VAT and separate from payment gateway fees. You need to register with KRA, file returns, and remit the tax. This article is not tax advice. Consult KRA and a qualified tax professional for your specific situation.
This article is not tax advice. It provides general information to help developers understand how Kenya's Digital Service Tax may relate to online payment products. Tax law is complex, changes frequently, and depends on your specific business circumstances.
Before making any tax decisions, consult:
The rates, thresholds, and requirements mentioned in this article are based on publicly available information and may have changed since publication. [TODO: verify current DST rate and thresholds with KRA]. Always verify against the most current KRA guidelines.
Kenya introduced the Digital Service Tax as part of the Finance Act. The tax targets income derived from services provided through a digital marketplace or over the internet to users in Kenya.
The basic idea: if you earn money by providing digital services in Kenya, the government wants a portion of that income, regardless of whether your company is based in Kenya or elsewhere.
The categories of services generally covered include:
What DST is not: it is not a tax on using the internet, not a tax on M-Pesa transactions, and not a tax on payment processing itself. It is a tax on the income you earn from providing digital services.
Get weekly developer tips
Join 25,000+ developers. Practical guides, job tips, and new content — straight to your inbox.
No spam. Unsubscribe anytime.
This is where it gets relevant for developers. If you build and operate a product that earns revenue through digital channels, you need to determine whether your business is liable for DST.
Resident businesses. If your company is registered in Kenya and provides digital services, DST may apply to the income from those services. However, the interaction between DST and income tax for residents has been subject to legislative changes. Check the current rules. For some periods, resident taxpayers have been subject to DST, while for others, the tax has applied primarily to non-residents. [TODO: verify current DST rate and thresholds with KRA].
Non-resident businesses. If you are a foreign company providing digital services to Kenyan users, you are generally liable for DST on income derived from Kenya. This is one of the main targets of the tax, aimed at global tech companies earning from Kenyan users without a physical presence in Kenya.
Developers as employees vs. business owners. If you are employed by a company and building their product, DST is your employer's concern, not yours personally. If you are a freelancer or run your own SaaS business, you need to assess your own liability.
A few scenarios for clarity:
If your business falls within the scope of DST, you need to register with KRA. Here is the general process (verify current steps with KRA):
For non-resident businesses, KRA has established processes for registration even without a physical presence in Kenya. The iTax portal supports non-resident taxpayer registration.
The key point for developers: if you are building a digital product that earns revenue from Kenyan users, do not wait until you are making large amounts of money to look into this. Registration has deadlines, and late registration can attract penalties. Even if your product is in early stages, understand the requirements early.
Once registered, you need to file DST returns and remit the tax to KRA. The general process:
Record-keeping is important. You need to maintain records that show:
If you use Paystack, your Paystack dashboard provides transaction reports that show payments from Kenyan customers, amounts, dates, and fees. These reports are useful for calculating DST liability, but they are not a substitute for proper accounting records.
Your Paystack transaction exports can help you determine the total revenue from your digital service. Export the data, filter by currency (KES for Kenyan transactions), subtract Paystack fees to get your net income, and apply the DST rate to the gross amount (not the net). However, whether DST is calculated on gross or net income depends on the specific regulations in effect. Consult your accountant.
This is the part that confuses developers most. You have a product that earns money. Paystack takes a fee. KRA wants DST. VAT may also apply. How do these stack up?
Here is the general picture (exact numbers depend on current rates):
The important point: these are not alternatives. They stack. A Kenyan SaaS business could be paying Paystack fees, remitting DST, collecting and remitting VAT, and paying income tax. All on the same revenue.
This matters for your pricing. If you price your product at KES 1,000 per month, you need to know how much of that KES 1,000 you actually keep after all fees and taxes. Build a simple model that accounts for:
Many early-stage developers price their products without thinking about this stack. Then they are surprised when the math does not work. Do the math early.
DST does not affect every product the same way. Here is how it maps to common product types built by Kenyan developers.
SaaS products. A subscription-based software product sold to Kenyan businesses is likely in scope for DST. The recurring subscription revenue from Kenyan customers is digital service income. If you accept payment through Paystack (or any other method), the tax obligation is on you as the service provider, not on the payment gateway.
E-commerce platforms. If you sell physical goods through an online store, the sale of the goods themselves may not be subject to DST. However, if you run a marketplace that charges commissions or listing fees, those fees are digital service income and may be in scope. The distinction between "selling goods online" and "providing a digital marketplace service" matters for DST.
Digital content. Selling e-books, courses, music, or video content online to Kenyan users is generally within DST scope. If you run a paid content platform that accepts payment through Paystack, the content revenue is digital service income.
Mobile apps with in-app purchases. Revenue from in-app purchases and premium features in apps used by Kenyan users may be subject to DST. If you also earn advertising revenue from Kenyan traffic, that may separately be in scope.
API services. If you provide a paid API (data services, communication APIs, or payment facilitation) to Kenyan developers or businesses, the API subscription or usage fees are digital service income.
In every case, the tax is on the income from the digital service, not on the payment method. Whether the customer pays via M-Pesa, card, Pesalink, or bank transfer through Paystack does not change the DST calculation. The payment method is the delivery mechanism for the money. The tax is on the money itself.
If you are building a digital product that earns money from Kenyan users, here is a practical checklist. This is not exhaustive and does not replace professional advice.
A few things that developers frequently get wrong about DST:
For the broader context of regulatory considerations when building payment products in Kenya:
For learning to build payment integrations professionally, the McTaba 26-week bootcamp covers payment systems, API design, and deployment for the African market.
KES 2,999
The definitive guide to building payment systems with Paystack — from your first transaction to production-grade payment infrastructure across Africa. 9 modules, 47 lessons. Free preview available.
Start Paystack Course