How a WafaCash payment works
WafaCash is a cash voucher payment method:- The customer selects WafaCash at checkout.
- Payrails returns a redirect URL from dLocal, and the customer goes to a dLocal-hosted page with the payment details.
- The customer pays the amount at a WafaCash agency.
- dLocal reports the payment to Payrails when the customer pays.
- Payrails updates the payment with the final result.
Supported currencies and countries
WafaCash supports MAD (Moroccan dirham) as its only presentment currency. WafaCash is available to customers based in:| Regions | Countries |
|---|---|
| Africa | 🇲🇦 Morocco |
Integrate WafaCash
The dLocal guide covers the setup in dLocal and in Payrails, plus the request fields dLocal requires.dLocal
WafaCash via dLocal
Check PSPs
| Workflow | dLocal |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✖ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
Ways to integrate WafaCash
- Payrails SDK: the Web SDK shows WafaCash when your workflow returns it as a payment option, and redirects the customer to the dLocal payment page. To control how the redirect opens, listen for the
actionRequiredevent. - Payrails API: call lookup payment options, then authorize with
wafaCashWalletas thepaymentMethodCode. The dLocal guide lists themetafields dLocal requires.
success URL as proof of payment.