Online payments

Payment gateway in Tunisia

DHMAD lets Tunisian businesses and freelancers accept online payments on their website, their store, or through a simple link. The customer pays on DHMAD's hosted payment page without creating an account; you receive the money in your DHMAD wallet, then withdraw it in dinars to your Tunisian bank account or D17.

Accepted payment methods

International cards (Visa, Mastercard, Amex), PayPal, and Apple Pay through PayPal, from 20 TND. Bank transfer and D17: the customer sends the payment and the proof, and the DHMAD team checks it before confirming. Cash collected at the customer's address in Tunisia by a courier, with the collection fee paid by the customer. DHMAD wallet for customers who already have a balance. You choose which methods each link or integration offers.

Three ways to get paid

No code: create a payment link from the dashboard or the mobile app and share it as a link, QR code, or email. On a store: install the official WooCommerce plugin or PrestaShop module, paste an API key, and DHMAD checkout appears at payment. Custom: the REST API creates payments (POST /api/v1/charges), returns the hosted payment page URL, and notifies your server through webhooks.

Receiving the money

After a successful payment, the funds are held for 72 hours to protect the customer (longer for some card payments the bank did not verify), then credited to your DHMAD wallet. You then request a withdrawal in dinars to your Tunisian bank account (RIB) or D17. Full and partial refunds are possible up to 90 days after the payment.

Pricing

No subscription and no setup fee. By default, a 5% service fee excl. VAT (plus 19% VAT on the fee) applies to each successful payment; you can keep it or have the customer pay it. Withdrawal fees depend on the channel. Details are on the Pricing page, and custom terms exist for API volume.

Who can use it

Tunisian businesses registered with the RNE (company, sole proprietor, or auto-entrepreneur) after KYB verification, for the API and plugins. Individuals can create payment links after identity verification. The developer portal's sandbox opens at sign-up so you can test the integration; live mode needs KYB verification and billing details.

Direct payment or escrow

A DHMAD payment (charge) is credited to the merchant after the protection period. For a service or a sale between individuals, escrow holds the funds until delivery is confirmed. Both work from the same account.

Accept payments on your website in 5 steps

  1. Create an account — Sign up on dhmad.tn and add your business for KYB verification.
  2. Pick an integration — Payment link, WooCommerce or PrestaShop plugin, or the REST API.
  3. Test in the sandbox — Create an sk_sandbox_ key on the developer portal and simulate payments.
  4. Go live — Once KYB verification and billing are complete, create a live key.
  5. Withdraw your funds — After the protection period, withdraw your balance in dinars to your RIB or D17.

Get started

FAQ

Which payment gateway can I use for an online store in Tunisia?
DHMAD offers a hosted payment page you connect with a payment link, a WooCommerce or PrestaShop plugin, or the API. Your customers pay by international card, PayPal, Apple Pay, bank transfer, D17, or cash collected at their address, and you withdraw in dinars to a Tunisian account.
Are Tunisian bank cards accepted?
Not yet: card payments go through PayPal and accept international Visa, Mastercard, and Amex cards. Customers in Tunisia can pay by bank transfer, D17, cash collection, or DHMAD wallet.
Do my customers need a DHMAD account?
No. The customer pays on the hosted page with an email address for the receipt. An account is only needed to pay with a DHMAD wallet balance.
How much does DHMAD cost to accept payments?
No subscription. By default, a 5% service fee excl. VAT per successful payment, plus 19% VAT on that fee. You choose whether you or the customer pays it. See the Pricing page.
When do I get the money?
Funds are credited to your DHMAD wallet 72 hours after the payment (longer for some card payments the bank did not verify). You then request a withdrawal in dinars to your Tunisian bank account or D17.
Is there a WooCommerce or PrestaShop plugin?
Yes. The official WooCommerce plugin and PrestaShop module are downloaded as a zip from DHMAD. You upload it in WordPress or PrestaShop and paste an API key.
Can I charge in euros or dollars?
Yes, a payment can be priced in TND, EUR, or USD. Withdrawals are in Tunisian dinars.
Can I refund a customer?
Yes, in full or in part, up to 90 days after the payment, from the dashboard, the mobile app, or the API.