Morocco
Learn about the dLocal supported payment methods in Morocco.
Market specifications
Take a look of all the payment methods available.
Country reference Cards supported APM supportedCards
Find all the information about the card supported capabilities.
Capabilities Process Card PaymentsMarket specifications
Do you want to know more information about Morocco's market? Go to the Morocco’s economy and eCommerce market article.
Country reference
country code | currency code | document name | document format | document required? |
---|---|---|---|---|
MA | MAD | 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 | |
CARD | VD | Visa Debit | CARD | Debit Card | DIRECT REDIRECT | |
CARD | MC | Mastercard | CARD | Credit Card | DIRECT REDIRECT | |
CARD | MD | Mastercard Debit | CARD | Debit Card | DIRECT REDIRECT | |
CARD | UP | UnionPay | CARD | Credit Card | DIRECT REDIRECT |
To offer all the card options that may be available in your integration, send the
payment_method_id
asCARD
.
Alternative Payment Method
payment_method_id | Name | payment_method_type | Details | Allowed Flows | Logo |
---|---|---|---|---|---|
WF | Wafacash | TICKET | Cash Payments | DIRECT REDIRECT |
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 section.
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 REDIRECT |
Request Parameters
Property | Type | Description | Mandatory? |
---|---|---|---|
amount | Number | Amount to be charged. | Yes |
currency | String | MAD Transaction currency in ISO 4217. | Yes |
country | String | MA Transaction country in ISO 3166. | Yes |
payment_method_id | String | WF ID of the selected payment method | Yes |
payment_method_flow | String | DIRECT or REDIRECT | Yes |
payer.name | String | Name of the payer. | Yes |
payer.email | String | Email of the payer. | Yes |
payer.document | Number | Document of the payer. | Yes |
order_id | Number | ID of the capture given by the merchant in their system. Think of it as an external ID of the capture. | No |
notification_url | String | Notifications will be sent in every change of status of a payment to the notification_url specified by the merchant. | No |
Examples
{
"amount": 1000,
"currency": "MAD",
"country": "MA",
"payment_method_id": "WF",
"payment_method_flow": "DIRECT",
"payer": {
"name": "Jane Doe",
"email": "[email protected]",
"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"
}
{
"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
Updated 27 days ago