API v1
Moallet API
Add wallets to your product with a few server-side calls. Create a customer to get a dedicated Solana deposit address for USDT and SOL; deposits are credited to your app pool and to the customer's ledger automatically, and payouts go to any wallet address you choose.
Core concepts
- App
- Your integration. Each app has its own customers, pool and API credentials (client_id and client_secret).
- Customer
- One of your users. You create it through the API with your own user_id; it gets its own deposit address and balance.
- Deposit address
- A Solana address issued to a customer. Asking again with the same user_id returns the current address. If you issue a new one, earlier addresses keep working and are still credited.
- Customer balance
- What you owe the customer (spendable_amount). It grows automatically on deposit and you adjust it with balance/adjust. The funds themselves sit in your pool.
- App pool
- All of the app's funds, per asset. Deposits and top-ups add to it; payouts are taken from it.
Authentication
Authentication example
curl "https://api.moallet.com/api/partner/{app_id}/users/" \
-H "Authorization: ApiKey {client_id}:{client_secret}"How it fits together
- 1
Get credentials
Create an app in the console and copy its client_id and client_secret.
- 2
Create a customer
Send your user_id to POST /users/. The customer and its deposit address are created.
- 3
Show the address
Display the deposit address from the response to your customer.
- 4
Detect deposits
When a deposit arrives, your pool and the customer's balance grow automatically. Read it from the transactions API.
- 5
Pay out
Call the payouts API with a destination address. External wallets are paid on-chain; wallets on our network are settled internally — instant, with no network fee.
Supported networks
Solana · SOLSolana · USDT (SPL)