> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mythex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Accept mada, Tap, Moyasar, PayTabs and HyperPay payments

> Take payments in the Gulf with your own local gateway — Tap, Moyasar, PayTabs, HyperPay or Checkout.com, including mada cards and Apple Pay — by asking the agent in plain words. Paid straight into your own merchant account.

# Accept local payments in the Gulf

Stripe doesn't cover every country or card. In Saudi Arabia, for example, customers often pay with **mada** debit cards, and local gateways such as **Moyasar**, **Tap**, **HyperPay**, **PayTabs** and **Checkout.com** process them. Mythex works with any of these: the agent writes the payment code on your app's server using the gateway's own API, so the money goes straight into **your** merchant account.

## Steps

1. Open a merchant account with your gateway and copy its **test** keys from its dashboard.
2. Add them to [Secrets](https://docs.mythex.ai/features/env-and-secrets.md), for example `MOYASAR_SECRET_KEY` and `MOYASAR_PUBLISHABLE_KEY` (or `TAP_SECRET_KEY`, `PAYTABS_SERVER_KEY`…).
3. Ask the agent in plain words:

```text theme={null}
Add checkout with Moyasar for my order page: mada, Visa, Mastercard and Apple Pay.
Use MOYASAR_SECRET_KEY from secrets on the server only.
Save each order with its payment status, and show a success and a failed page.
Arabic and English, right to left in Arabic.
```

4. Pay with the gateway's **test cards** in Preview (most gateways publish a mada test card).
5. Switch to your **live** keys in Secrets and publish.

The same prompt works for Tap, PayTabs, HyperPay or Checkout.com: name the gateway and its keys.

## Good to know

* **Your keys stay on the server.** The agent keeps secret keys in server code, never in the page your customers load.
* **Payment confirmations.** Ask the agent to confirm each payment through the gateway's webhook or verify call, so an order is only marked paid when the gateway says so. See [Webhooks](https://docs.mythex.ai/recipes/webhooks.md).
* **Phone apps.** In iPhone and Android apps, physical goods and services (cakes, bookings, deliveries) can use your gateway. Digital goods and subscriptions sold inside a phone app must use Apple's and Google's own in-app purchase rules.
* **International cards too.** You can keep [Stripe](https://docs.mythex.ai/recipes/add-stripe-payments.md) for international customers and a local gateway for mada; ask the agent to show both at checkout.

## Related

* [Accept payments with Stripe](https://docs.mythex.ai/recipes/add-stripe-payments.md)
* [Connect any API](https://docs.mythex.ai/recipes/integrate-any-api.md)
* [Secrets](https://docs.mythex.ai/features/env-and-secrets.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.