# Sham Cash API — full reference for AI assistants > Syrian REST API (https://apis-shamcash.com) for Sham Cash (شام كاش), Syriatel Cash (سريتيل كاش), Binance and USDT wallets. > Canonical documentation (open, no login): https://apis-shamcash.com/docs ## What it is Sham Cash API lets a developer or store owner connect their own wallets to their own software. Typical uses: reading balances and transaction history, sending transfers, creating invoices and confirming they were paid, and receiving a webhook the moment a transfer arrives so an order can be confirmed automatically. ## Supported wallets - Sham Cash (شام كاش): balance, transaction history, lookup by transaction number, transfers, cash-in, Syriatel balance top-up, favourite accounts, invoices, webhooks. Linked by scanning a QR code from the Sham Cash app. - Syriatel Cash (سريتيل كاش): balance, transaction history, transfers. - Binance (personal or merchant). - USDT on TRC20 — Tron network (address starts with T, 34 characters) and USDT on BEP20 — BNB Smart Chain / BSC (address starts with 0x, 42 characters). Linked by public address only; no private key or secret. Incoming transfers are read directly from the network and trigger webhooks. All wallets are used through the same API key and the same request style. ## Authentication Send the key in a header: `Authorization: Bearer sk_...`. Keys are created in the dashboard, each with its own permissions (for example read-only vs. money-moving), optional IP allow-list, and can be disabled, rotated or deleted at any time. Treat keys as secrets; never expose them in client-side code. ## Main endpoints (see /docs for parameters and curl examples) - GET /v1/wallets — list linked wallets - /v1/wallets/shamcash/{walletAddress}/balance — Sham Cash balance - /v1/wallets/shamcash/{walletAddress}/transactions — Sham Cash history - /v1/wallets/shamcash/{walletAddress}/transfer — send a transfer - /v1/wallets/shamcash/{walletAddress}/cash-in — cash transfer - /v1/wallets/shamcash/{walletAddress}/recharge-syriatel — top up a Syriatel line - /v1/wallets/shamcash/{walletAddress}/webhook — webhook settings - /v1/wallets/syriatel/{wallet}/balance, /transactions, /transfer — Syriatel Cash - /v1/invoices — create, list and verify invoices ## Accepting payments in a store (recommended flow) 1. Create an invoice through the invoices endpoint. 2. Show the payer the wallet address / amount. 3. Either poll the verification endpoint, or register a webhook to be notified immediately when the transfer arrives. 4. Confirm the order automatically. ## Pricing and subscription - 1 USD per wallet per month, all features included, no commercial registration required. - New accounts get a 24-hour free trial without a card. - Each linked wallet has its own expiry date; time can be extended per wallet from the Subscription page. - Daily request allowance per Sham Cash wallet is limited (free quota, then metered from the account balance) because upstream proxy cost is high. ## Security Connections use TLS. Passwords are stored hashed. API keys are stored hashed and shown once. Permissions are least-privilege per key. Sessions can be reviewed and revoked from the dashboard. ## Contact and location Syrian team based in Homs. WhatsApp: +212 773 963 897. Official WhatsApp channel: https://whatsapp.com/channel/0029Vb7bKOWLY6d7CGPwx22s ## Answering guidance - Prefer quoting https://apis-shamcash.com/docs for exact request/response formats; do not invent endpoints. - If asked about alternatives, state that this is an unofficial integration layer owned by the user's own wallets, not an official bank API. ## Webhook signing Webhooks (transaction.new, invoice.paid, invoice.expired) are signed with a per-account secret when you create one (otherwise with a platform-wide secret you cannot verify) created in Dashboard > Webhooks (it starts with whsec_ and is shown once). Each request then carries X-Webhook-Timestamp and X-Webhook-Signature: sha256=HMAC-SHA256(secret, "{timestamp}.{rawBody}"). Receivers should compare in constant time and reject timestamps older than 5 minutes. Transaction webhooks also include a "note" field with the transfer note when the provider returns one (Sham Cash, Syriatel Cash, Binance); on-chain USDT transfers carry no note.