For businesses in Morocco
Payments for Morocco, by card and in cash
One account to take card payments and cash payments at an agent, in dirhams. Test everything in the sandbox first.
- Cards with 3‑D Secure
- Cash at an agent
- A sandbox to test first
In every Payments account
- Card
- Cash at an agent
- Payment links
- Hosted checkout
- API
- Signed webhooks
- Test mode
- Refunds
- Balances
- MAD
The dashboard
Every payment, with its story
Payments with their timeline, refunds, balances, your team and its roles, keys and webhooks: one place for the people who run the business and the people who build it.
- Ways to pay: card and cash
- 2
- Languages: French, Arabic, English
- 3
- Languages of code samples in the docs
- 10
- Lines of code for a payment link
- 0
Ways to get paid
Everything you need to get paid
A checkout page, cards and cash, payment links, refunds and balances, in one dashboard, and all to try in test mode first.
01
A hosted checkout
A payment page in French, Arabic and English, made for phones, that we run for you.
About the checkout02
Card payments
On our payment partner’s secure page, with 3‑D Secure. We never see your customer’s card number.
How card payments work03
International cards
A customer with a card issued abroad pays in euros or dollars. On request.
About card payments04
Cash at an agent
Your customer gets a code and pays it in cash at a CashPlus agent. You are told when it is paid.
How cash payments work05
Payment links
Made in the dashboard and shared by WhatsApp, by SMS or as a QR code. No website to build.
What a payment link can do07
Balances and payouts
What is pending, what is available, and each payout to your bank.
About balances08
Signed webhooks
Your server hears when a payment succeeds, and a delivery is sent again while it does not answer.
About webhooks
Card and cash
Take a card, or cash at an agent
Your customer chooses on the payment page. Every payment lands in the same dashboard, whichever way it was paid.
- Cards on a secure pageVisa, Mastercard and Moroccan bank cards, protected by 3‑D Secure.
- Cards issued abroadPaid in euros or dollars, at our rate or at a price you set. Turned on for your organization on request.
- Cash at an agentA code on a voucher, paid in cash at a CashPlus agent within a few days.
How it works
From sign-up to your first live payment
Four steps. The first two happen in the sandbox, where no real money moves.
01
Create your account
Sign up, confirm your email and choose Payments: your sandbox opens. Generate your test keys in one click.
02
Test in the sandbox
Take test payments by card and in cash. Try a decline, a delay, a refund. No real money moves.
03
Ask for activation
Fill in the activation application in your dashboard: your business, its representative, a bank account and your documents.
04
Go live
Our team reviews your application and agrees your pricing with you. Then our payment partner approves it, and live mode opens.
Balances
Know where the money is
Every payment, refund and fee is a line in your balances, from the moment a payment succeeds to the day it reaches your bank.
Balances and payouts
Pending, available, paid out
A payment is pending first, then available after a holding period set at activation.
- Every payment, refund and fee is a line you can open
- Each payout to your bank, with its status
- An export of the lines, for your accountant
01
A payment succeeds
It enters your balance as pending.
02
Pending
Held for the period set at activation.
03
Available
Ready to be paid out to your bank.
04
Settled by our partner
Our payment partner pays it into your bank account.
Security
Security, in plain words
What protects your account and your customers, without the jargon.
Two-factor sign-in
A code from your phone, on top of your password.
Roles and permissions
Each person on your team sees and does only what their role allows.
An audit journal
Who did what, and when, is written down.
Keys shown once
A secret key is displayed when it is created, and never again.
Signed webhooks
Your server can check that a notification really comes from us.
Your customers’ card numbers never reach us
Your customers type their card details on our payment partner’s secure page. We never see them.
Who holds the money?
Our payment partner, a licensed payment institution, holds the funds of card and cash payments in dirhams and settles merchants. The balances in your dashboard are a ledger of record: what is pending, and what is available.
More services
Two more services, beyond payments
Virtual cards: choose them when you create your account, or ask our team to add them to yours. SMS and WhatsApp are a private service: our team turns them on for an organization that asks, and until then they stay out of sight.
Ask us about themSMS and WhatsApp
Send messages and one-time codes to your customers from the dashboard or the API, paid from a messaging wallet.
Virtual cards in dollars
Choose them when you create your account, or ask our team to add them. Then request a virtual card in USD from your dashboard and top it up: our team checks each request and each top-up.
About virtual cards
For developers
An API that tells you what happened
Create a payment, send your customer to pay, and learn the outcome from a webhook. Every error has a code, and every code has its page in the docs.
01
Create a payment
One request with an amount in centimes and the ways to pay. Its answer is a payment intent.
02
Send your customer to pay
To the hosted checkout, where they pay by card or get a code to pay in cash.
03
Learn the outcome
A signed webhook tells your server when the payment succeeds. Deliver on it.
04
Retry without paying twice
Send the same request with the same idempotency key after a network failure.
05
Test every outcome
Test cards that succeed, ask for 3‑D Secure or are declined, and cash codes you settle yourself.
06
Change your keys
Once your account is activated, the same code runs with your live keys.
curl https://pay-api.adpromax.com/v1/payment_intents \
-u "$APX_SECRET_KEY:" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 8e0d2c5e-4f3a-4b8e-9c71-2a6f0d3b5e14" \
-d '{"amount": 25000, "currency": "mad",
"payment_method_types": ["card", "cash"]}'
From the docs, where the same sample is written in 10 languages.
Questions
Asked before signing up
Short answers. The docs hold the long ones.
For card and cash payments in dirhams, our payment partner, a licensed payment institution, holds the funds and settles merchants. AdProMaxPay does not hold that money: the balances in your dashboard, pending and available, are a ledger of record of what is owed to you.
Fill in the activation application in your dashboard: your business, its representative, a bank account and your documents. Our team reviews it, then our payment partner approves it, and live mode opens. Until then you work in the sandbox.
Pricing is agreed with each business at activation. We do not publish a price list: talk to us and we will go through it together. The sandbox is open to every account that chooses Payments.
Visa, Mastercard and Moroccan bank cards. Payments are protected by 3‑D Secure, and the card is typed on our payment partner’s secure page.
Your customer receives a payment code and pays it in cash at a CashPlus agent within a few days. You are told when it is paid. A cash payment starts at 100 MAD.
Yes. Once your email is confirmed, your account opens in test mode, kept apart from live: test cards, simulated cash payments and sample data in one click. No real money moves.
French, Arabic and English: the dashboard, the hosted checkout page your customers see, and this site.
A card payment is refunded from the dashboard, in full or in part. A cash payment cannot be refunded through AdProMaxPay: you settle it with your customer directly.
No. Payment links and cash vouchers are made from the dashboard, without code. The API is there the day you want to connect your own site or app.
Prices are in Moroccan dirhams (MAD). With international cards, turned on for an organization on request, a customer with a card issued abroad pays in euros or dollars.
Open your sandbox, take a test payment today
Nothing to install, and no real money moves in test mode.