Skip to main content

Partner API Sandbox in Morocco

Test your integration of Chari Money's partner API safely: customer wallets, card deposits with 3-D Secure, cash-in and cash-out by reference, bill payment, telecom top-ups and vouchers, with no real money. Sandbox access is requested from the API documentation.

What is it?

A payment sandbox is a testing environment that simulates real payment processing without moving actual money. It allows developers to test their integration end-to-end: initiating payments, handling 3D Secure flows, processing refunds, receiving webhooks, and handling error cases, all with test credentials and simulated payment methods. A good sandbox mirrors production behavior as closely as possible, supports all payment methods and scenarios, and provides test card numbers and credentials for different outcomes (success, decline, error).

Why Chari Money?

Chari Money's partner sandbox uses the same routes and formats as production. You receive a sandbox API key, an invitation to the partner back office and, on request, activation of the modules you need and test float for debit operations. A test card lets you run the 3-D Secure authentication, and webhooks are sent as in production. Sandbox access is requested from the API documentation.

How Chari Money addresses this

Chari Money provides a partner sandbox with the same routes as production, a test card, test float for debit operations, webhook delivery, documentation with end-to-end guides, the OpenAPI specification and a Postman collection. The sandbox is a technical step and is not a launch authorization: for partners using Chari Money's financial services under their own brand, going live remains subject to Bank Al-Maghrib's approval, through the granting of principal agent status, and any new use case requires the prior approval of the Banking Supervision Directorate.

Want to collect payments from your own customers?

This sandbox is the partner API one. A merchant who wants to test card collection opens a ChariPay account in test mode, free and with no time limit: Start in test mode.

Use cases

Early development

Test your integration from the start of development with the sandbox, even before you have a production account.

Regression testing

Check that updates to your application do not affect existing payment flows.

Error scenario testing

Simulate payment failures, timeouts and card declines to check error handling.

Webhook validation

Test that your application receives and correctly processes webhook notifications.

Team training

Train your technical teams on the Chari Money integration in a risk-free environment.

Regulatory note — Any partner wishing to use Chari Money's financial services on a white-label basis must be approved by Bank Al-Maghrib, through the granting of principal agent status. Launching any new use case requires the prior approval of the Banking Supervision Directorate.

Frequently asked questions

By filling in the "Get sandbox access" form in the API documentation. You receive your sandbox key through a secure single-use link and an invitation to the partner back office.

Yes. The sandbox uses the same API endpoints, request/response formats, and webhook structures as production. Only the credentials and payment processing are simulated.

Yes. A documented test card lets you run the card deposit and the 3-D Secure authentication in the sandbox, with no real money.

Yes. The sandbox sends test webhooks for every event, letting you validate notification handling in your application.

Partner sandbox access is provided as part of partner onboarding, and no real transaction is processed there. A merchant who wants to test card collection opens a ChariPay account in test mode instead, free and with no time limit.

Ready to get started?

Request a demo and discover how Chari Money can power your financial products in Morocco and beyond.

Request a Demo

Regulatory note — Any partner wishing to use Chari Money's financial services on a white-label basis must be approved by Bank Al-Maghrib, through the granting of principal agent status. Launching any new use case requires the prior approval of the Banking Supervision Directorate.