Sandbox mode — Use https://wallet.e-mazad.store/api/v1 as your base URL
Embedded Wallet

Embedded Wallet

Give every user on your platform a Mazad wallet — without them needing to download the Mazad app. Sync users, read balances, and accept payments through a hosted checkout popup.

How it works

Your Platform
Frontend + Backend
REST API
Server-to-server
Mazad API
Wallet Engine
JS SDK
Checkout popup
End User
Browser / Mobile

Three capabilities

The Embedded Wallet API is organized around three actions: sync users, read data, and collect payments.

Integration flow

1

Sync your users

POST /embedded/users/sync with your user IDs. Mazad creates wallets automatically.

2

Display balances

GET /embedded/users/{id}/wallet to show wallet balances inside your UI.

3

Create a checkout session

POST /embedded/checkout/sessions to get a session token for the popup.

4

Open the popup

Call MazadCheckout.open() in the browser. User confirms payment. You get a webhook.

5

Handle the result

Poll GET /embedded/payments/{id} or listen for the payment.completed webhook.

No app download required

Your users do not need to install the Mazad Wallet app. The Embedded Wallet API creates custodial wallets that are managed entirely through your platform and the checkout popup.

Ready to integrate Mazad into your platform?

Our team will review your business and issue your production API keys within 2 business days.