---
updatedAt: 2026-03-03T17:16:47.000Z
agentTools:
  projectIndex: https://docs.dlocal.com/llms.txt
---

# Morocco

Learn about the dLocal supported payment methods in Morocco.

[block:html]
{
  "html": "\n<style>\n  \n  .main {\n    margin-left: auto;\n    margin-right: auto;\n    margin-bottom: 5px;\n    display: grid;\n    grid-template-columns: repeat(3, 1fr); /* Tres columnas */\n    width: 740px; /* Ancho máximo de la caja */\n}\n\n.overview-card1 {\n    position: relative; /* Asegúrate de que el contenedor sea relativo para posicionar el pseudoelemento */\n    width: 100%;\n    max-width: 233px;\n    box-sizing: border-box;\n    margin: 0;\n}\n\n.overview-card1::after {\n    content: '';\n    position: absolute;\n    right: 0; /* Pega la línea al borde derecho */\n    top: 30%; /* Ajusta la posición superior de la línea */\n    height: 70%; /* Establece el alto de la línea al 60% */\n    width: 1px; /* Grosor de la línea */\n    background-color: #D2D8EC; /* Color de la línea */\n}\n  \n.overview-card2 {\n    position: relative; /* Asegúrate de que el contenedor sea relativo para posicionar el pseudoelemento */\n    width: 100%;\n    max-width: 233px;\n    box-sizing: border-box;\n    margin: 0;\n}\n\n.overview-card-upper-side1 {\n    height: 105px;\n    padding: 20px;\n    background-color: transparent;\n    text-align: left;\n}\n\n.overview-card-bottom-side {\n    position: relative;\n    width: 100%;\n    height: 100%;\n    padding: 30px;\n    padding-right: 20px;\n    background-color: transparent;\n    border-radius: 16px;\n}\n\n.overview-card-title1 {\n    font-family: 'Plus Jakarta Sans', sans-serif;\n    font-size: 24px;\n    font-weight: 700;\n    line-height: 26.4px;\n}\n\n.overview-card-content1 {\n    font-size: 14px;\n    font-weight: 300;\n    margin-top: 20px;\n    line-height: 20px;\n    margin-bottom: 40px!important;\n}\n\n.overview-icon1 {\n    margin-bottom: -5px;\n    margin-top: 20px;\n}\n  \n.doc-link {\n        position: relative;\n        font-weight: 500;\n        color: #21A35B !important;\n        text-decoration: none;\n        display: block;\n    }\n  \n\ndiv:not(.markdown-body) .doc-link:hover {\n            text-decoration: none;\n            color: #1043FA !important;\n            transform: translateX(0.2em);\n        }\n\n.overview-card-title1:hover {\n    color: #2D59F5 !important;\n    cursor:pointer;\n    transform: none!important;\n}\n\n    div:not(.markdown-body) .doc-link_arrow {\n        display: inline-block;\n        height: 1em;\n        width: auto;\n        vertical-align: middle;\n        margin-left: 0.2em;\n        margin-top: -0.1em;\n    }\n  \n     div:not(.markdown-body) .doc-link:hover .doc-link_arrow-color {\n            fill: #1043FA !important;\n        }\n  \n  \n      [data-color-mode=\"dark\"] .overview-icon1 img {\n  filter: brightness(0) invert(1);\n  transition: filter 0.3s ease;\n}\n  \n/* Media Queries para dispositivos móviles */\n@media (max-width: 768px) {\n  .main {\n    grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */\n  }\n}\n\n@media (max-width: 480px) {\n  .main {\n    grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */\n}\n</style>\n  \n    <div class=\"main\">\n\n     <!-- Market specifications -->\n      <div class=\"overview-card1\" onclick=\"parent.location='/docs/morocco#market-specifications'\">\n     <div class=\"overview-card-bottom-side\">\n       <div class=\"overview-icon1\"><img width=\"48\" src=\"https://files.readme.io/922681fecfb238c94f7213fa9e0aa1675f1e190ec55beff2b6994169c77fdefc-adjust-circle.svg\"  alt=\"\" loading=\"lazy\"><div class=\"img_overlay img_color_rgba(0,0,0,.2)\"></div></div>\n           <h3 class=\"overview-card-title1\">Market specifications</h3>\n          <p class=\"overview-card-content1\">\n            Take a look of all the payment methods available.   \n        </p>\n          <a href=\"#country-reference\" class=\"doc-link\">Country reference</a>\n          <a href=\"#cards-supported\" class=\"doc-link\">Cards supported</a>\n          <a href=\"#alternative-payment-method-supported\" class=\"doc-link\">APM supported</a>\n        </div>\n      </div>\n      \n      <!-- Cards -->\n      <div\n        class=\"overview-card1\" onclick=\"parent.location='/docs/morocco#cards'\">\n        <div class=\"overview-card-bottom-side\">\n                <div class=\"overview-icon1\"><img width=\"48\" src=\"https://files.readme.io/8d450ada4af3880f85f70c5daedebb0bec1b2b6d64479be929af48fdc8d66f40-credit-card.svg\"  alt=\"\" loading=\"lazy\"><div class=\"img_overlay img_color_rgba(0,0,0,.2)\"></div></div>\n           <h3 class=\"overview-card-title1\">Cards</h3><br>\n          <p class=\"overview-card-content1\">\n           Find all the information about the card supported capabilities.   \n          </p>\n          <a href=\"#capabilities\" class=\"doc-link\">Capabilities</a>\n          <a href=\"#how-to-process-card-payments\" class=\"doc-link\">Process Card Payments</a>\n        </div>\n      </div>  \n      \n      <!-- APM -->\n      <div class=\"overview-card2\" onclick=\"parent.location='/docs/morocco#alternative-payment-method'\">\n    <div class=\"overview-card-bottom-side\">\n             <div class=\"overview-icon1\"><img width=\"48\" src=\"https://files.readme.io/5a59519487455e7af361db8b67a2dee8d71627d4d6e1ed0a0bd805f5da861fcc-money-stack.svg\"  alt=\"\" loading=\"lazy\"><div class=\"img_overlay img_color_rgba(0,0,0,.2)\"></div></div>\n           <h3 class=\"overview-card-title1\">Alternative Payments</h3>\n          <p class=\"overview-card-content1\">\n             Learn how to integrate cash, bank transfer or wallet payment.  \n        </p>\n          <a href=\"#wafacash\" class=\"doc-link\">Wafacash</a>\n        </div>\n      </div> \n      \n    </div>"
}
[/block]

***

# Market specifications

Do you want to know more information about Morocco's market? Go to the [Morocco’s economy and eCommerce market](https://dlocal.com/payment-processors-middle-east-africa/morocco-payment-methods-processors-ecommerce-market/) article.

## Country reference

| `country` code | `currency` code | `amount` decimals | `document` name |      `document` format     | `document` required? |
| :------------: | :-------------: | :---------------: | :-------------: | :------------------------: | :------------------: |
|      `MA`      |      `MAD`      |         2         |       CNIE      | Between 5 to 20 characters |          Yes         |

## Cards supported

| `payment_method_id` | Brand ID | Name               | `payment_method_type` | Details       | Allowed Flows       | Logo                                                                                  |
| :------------------ | :------- | :----------------- | :-------------------- | :------------ | :------------------ | :------------------------------------------------------------------------------------ |
| `CARD`              | `VI`     | Visa               | `CARD`                | Credit Card ​ | `DIRECT` `REDIRECT` | <img src="https://static.dlocal.com/images/providers/checkout/VI.svg" width = 40px /> |
| `CARD`              | `VD`     | Visa Debit ​       | `CARD`                | Debit Card ​  | `DIRECT` `REDIRECT` | <img src="https://static.dlocal.com/images/providers/checkout/VD.svg" width = 40px /> |
| `CARD`              | `MC`     | Mastercard         | `CARD`                | Credit Card ​ | `DIRECT` `REDIRECT` | <img src="https://static.dlocal.com/images/providers/checkout/MC.svg" width = 40px /> |
| `CARD`              | `MD`     | Mastercard Debit ​ | `CARD`                | Debit Card ​  | `DIRECT` `REDIRECT` | <img src="https://static.dlocal.com/images/providers/checkout/MD.svg" width = 40px /> |
| `CARD`              | `UP`     | UnionPay           | `CARD`                | Credit Card ​ | `DIRECT` `REDIRECT` | <img src="https://static.dlocal.com/images/providers/checkout/UP.svg" width = 40px /> |

> ℹ️
>
> To offer all the card options that may be available in your integration, send the `payment_method_id` as `CARD`.

## Alternative Payment Method

| `payment_method_id` | Name     | `payment_method_type` | Details       | Allowed Flows       | Logo                                                                         |
| :------------------ | :------- | :-------------------- | :------------ | :------------------ | :--------------------------------------------------------------------------- |
| `WF`                | Wafacash | `TICKET`              | Cash Payments | `DIRECT` `REDIRECT` | <img src="https://static.dlocal.com/images/providers/WF.png" width = 40px /> |

<br />

***

# Cards

## Capabilities

|                               | Visa Credit   | Mastercard Credit | Visa Debit    | Mastercard Debit | UnionPay      |
| :---------------------------- | :------------ | :---------------- | :------------ | :--------------- | :------------ |
| **Refunds**                   | Yes           | Yes               | Yes           | Yes              | Yes           |
| **Recurring**                 | Yes           | Yes               | Yes           | Yes              | Yes           |
| **Chargeback option**         | Yes           | Yes               | Yes           | Yes              | Yes           |
| **Chargeback Dispute option** | Yes           | Yes               | Yes           | Yes              | Yes           |
| **Descriptor**                | Merchant name | Merchant name     | Merchant name | Merchant name    | Merchant name |

## How to process Card Payments?

Learn how to process payments with credit and debit cards with dLocal in our [Card Payments](https://docs.dlocal.com/docs/card-payments) section.

<br />

***

# Alternative Payment Method

## Wafacash

Wafacash is an extremely attractive option for merchants looking to dive into the country. It is currently the leader in cash methods.

### Capabilities

|                                    | Wafacash                 |
| :--------------------------------- | :----------------------- |
| **Max. expiration time supported** | 5 days                   |
| **Notification delay**             | Immediate                |
| **Refunds**                        | Yes                      |
| **Flow**                           | `DIRECT` <br> `REDIRECT` |

### Request Parameters

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "h-3": "Mandatory?",
    "0-0": "`amount`",
    "0-1": "Number",
    "0-2": "Amount to be charged.",
    "0-3": "Yes",
    "1-0": "`currency`",
    "1-1": "String",
    "1-2": "`MAD`<br><br>Transaction currency in [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).",
    "1-3": "Yes",
    "2-0": "`country`",
    "2-1": "String",
    "2-2": "`MA` <br><br>Transaction country in [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes).",
    "2-3": "Yes",
    "3-0": "`payment_method_id`",
    "3-1": "String",
    "3-2": "`WF` <br><br>ID of the selected payment method",
    "3-3": "Yes",
    "4-0": "`payment_method_flow`",
    "4-1": "String",
    "4-2": "`DIRECT` or `REDIRECT`",
    "4-3": "Yes",
    "5-0": "`payer.name`",
    "5-1": "String",
    "5-2": "Name of the payer.",
    "5-3": "Yes",
    "6-0": "`payer.email`",
    "6-1": "String",
    "6-2": "Email of the payer.",
    "6-3": "Yes",
    "7-0": "`payer.document`",
    "7-1": "String",
    "7-2": "Document of the payer.",
    "7-3": "Yes",
    "8-0": "`order_id`",
    "8-1": "String",
    "8-2": "ID of the capture given by the merchant in their system. Think of it as an external ID of the capture.",
    "8-3": "No",
    "9-0": "`notification_url`",
    "9-1": "String",
    "9-2": "Notifications will be sent in every change of status of a payment to the `notification_url` specified by the merchant.",
    "9-3": "No"
  },
  "cols": 4,
  "rows": 10,
  "align": [
    "left",
    "left",
    "left",
    "left"
  ]
}
[/block]

### Examples

```json Request Example
{
    "amount": 1000,
    "currency": "MAD",
    "country": "MA",
    "payment_method_id": "WF",
    "payment_method_flow": "DIRECT",
    "payer": {
        "name": "Jane Doe",
        "email": "janedoe@mymail.com",
        "document": "12345678",
        "address": {
            "country": "MA",
            "state": "Casablanca",
            "city": "Casablanca",
            "zip_code": "8858",
            "street": "Main St.",
            "number": "540"
        }
    },
    "order_id": "34545sk3483kqw0",
    "description": "Tshirt",
    "notification_url": "http://merchantsite.com/notification/new",
    "callback_url": "http://merchantsite.com/success_page"
}
```
```json Response Example
{
    "id": "D-4-04254154-fc96-4d2e-3edq-1cb8f161bce8",
    "amount": 1000,
    "currency": "MAD",
    "payment_method_id": "WF",
    "payment_method_type": "TICKET",
    "payment_method_flow": "DIRECT",
    "country": "MA",
    "bank_transfer": {},
    "ticket": {
        "type": "CUSTOM",
        "number": "720420093952",
        "expiration_date": "2023-01-28T22:59:00.000+0000",
        "id": "1100351374387",
        "company_name": "Depansum Marruecos",
        "provider_name": "apm-binga",
        "provider_logo": "https://static.dlocal.com/images/providers/logo_wafa.png",
        "image_url": "https://pay.dlocal.com/gmf-apm/payments/M-ce2fbbe6-98hg-4193-bb04-9e5c18139ccf",
        "amount": 1000,
        "currency": "MAD"
    },
    "created_date": "2023-01-23T17:40:36.000+0000",
    "status": "PENDING",
    "status_detail": "The payment is pending.",
    "status_code": "100",
    "order_id": "34545sk3483kqw0",
    "notification_url": "http://merchant.com/notification/new"
}
```

### Example ticket

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/076de51bab87900de45e5b6919036eaff3724eb68500defed085dbc61098db14-APM_-_wafacash.png",
        null,
        "Example Wafacash UI "
      ],
      "align": "center",
      "sizing": "70% ",
      "caption": "Example Wafacash UI "
    }
  ]
}
[/block]