TUNGKAO API စာရွက်စာတမ်း
API · truewallet_verify

TrueMoney Wallet စလစ်စစ်

TrueMoney Wallet ငွေလွှဲစလစ် အစစ်ဖြစ်ကြောင်း၊ ပမာဏမှန်ကြောင်း၊ သင့် e-wallet နံပါတ်သို့ ရောက်ပြီး မသုံးရသေးကြောင်း စစ်ဆေးသည်

🕒 နောက်ဆုံးအပ်ဒိတ်: ထိုင်းစံတော်ချိန် (UTC+07:00) · ✅ ကုဒ်ဟောင်း ဆက်သုံးနိုင်

🤖 AI ဖြင့် ချိတ်ဆက်ကုဒ်ရေးခိုင်းရန်

ဤလင့်ခ်ကို AI ဖတ်ရန် ကူးပါ သို့မဟုတ် ခလုတ်နှိပ်ပါ — prompt ကူးပြီး AI ဖွင့်ပေးမည်

https://app.tungkao.com/docs/api/truewallet_verify.md?lang=my
https://api.tungkao.com/changelog/truewallet_verify.json

ဤလင့်ခ်သည် ဤ API ၏ အပ်ဒိတ်များကို JSON ဖြင့် ပြန်ပေးသည် (key မလို၊ မည်သည့် domain မှမဆို)။ admin စာမျက်နှာတွင် “အပ်ဒိတ်ကြေညာချက်” ဘောက်စ်အဖြစ်ပြပြီး last_updated ပြောင်းလျှင် “အသစ်” ပြပါ

ChatGPT ↗Claude ↗Gemini ↗Grok ↗

ကူး + ဖွင့်ရန်: AI ခလုတ်နှိပ်လျှင် prompt ကို အလိုအလျောက်ကူးပေးသည်၊ chat အကွက်လွတ်နေလျှင် paste လုပ်ပါ

🔑 သုံးရမည့် key

ကုန်သည်ပေါ်တယ် (API key) တွင် truewallet_verify key ဖန်တီး၍ request တိုင်းတွင် ဤ header ပို့ပါ — အခြား service ၏ key များ ဤနေရာတွင် အလုပ်မလုပ်

Authorization: Bearer $TUNGKAO_KEY

📋 အဆင့်များ

  1. ငွေလက်ခံ wallet ကို တစ်ကြိမ်သတ်မှတ်ပါ (PUT /v1/truewallet/profile သို့မဟုတ် portal ရှိ key ကတ်တွင်): ဖုန်းနံပါတ် သို့မဟုတ် e-Wallet ID၊ ထိုင်း/အင်္ဂလိပ် အမည်နှင့် ငွေလက်ခံ QR ပုံ
  2. ဖောက်သည် ငွေပေးရန် QR ပုံ (qr_image_url) ကိုပြပြီး စလစ်ပုံ တင်ခိုင်းပါ
  3. စလစ်ပုံ (image_base64) နှင့် မျှော်မှန်းပမာဏကို API သို့ ပို့ပါ။ နံပါတ်နှင့် အမည်ကို သိမ်းထားသည့် profile မှ ယူသည် (သို့မဟုတ် wallet_number / ewallet_id ကို တောင်းဆိုချက်တွင် ပို့ပါ)
  4. status = VALID ဖြစ်မှသာ အော်ဒါလက်ခံပါ

📡 API ခေါ်ဆိုမှု + ကုဒ်နမူနာ

PUT/v1/truewallet/profile
curl -X PUT https://api.tungkao.com/v1/truewallet/profile \
  -H "Authorization: Bearer $TUNGKAO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"wallet_number":"0812345678","ewallet_id":"140000812345678","name_en":"Somchai Jaidee","qr_image_base64":"<base64 QR image>"}'
GET/v1/truewallet/profile
curl -X GET https://api.tungkao.com/v1/truewallet/profile \
  -H "Authorization: Bearer $TUNGKAO_KEY"
POST/v1/truewallet/verify
curl -X POST https://api.tungkao.com/v1/truewallet/verify \
  -H "Authorization: Bearer $TUNGKAO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_base64":"<base64 slip image>","expected_amount":"500.00"}'

📖 အကျဉ်း: key ကို ဆိုက်အများတွင် သုံးလျှင် ရလဒ်

ကိစ္စkey သတ်မှတ်ချက် (API Keys စာမျက်နှာ)ရလဒ်
ဆိုက် ၂ ခု (aaa.com, bbb.com) သည် အကောင့်တစ်ခုတည်းသို့ ငွေလက်ခံသည်key နှစ်ခုလုံး: Group A (သို့မဟုတ် အကောင့်တစ်ခုလုံး)aaa.com တွင် အောင်ပြီးသော စလစ်ကို bbb.com သို့ ပို့လျှင် DUPLICATE — ဆိုက်တစ်ခုတွင်သာ သုံးနိုင် ✅
ဆိုက် ၂ ခု အကောင့်တူ သို့သော် key ခွဲထား (မူလ)key နှစ်ခုလုံး: ဤ key သာစလစ်တစ်ခု ဆိုက်နှစ်ခုလုံးတွင် အောင် ⚠️ ဖောက်သည် နှစ်ကြိမ်ဖြည့်နိုင် — key များကို ချိတ်ပါ
ဆိုက် ၂ ခု ငွေလက်ခံအကောင့် မတူဤ key သာ (မူလ)ဆိုက်တစ်ခု၏ စလစ်ကို အခြားဆိုက်တွင် ပို့လျှင် RECEIVER_MISMATCH ရပြီးသား ✅
ဆိုက် ၂ ခု tungkao အကောင့် မတူ (ပိုင်ရှင်မတူ) သို့သော် ငွေလက်ခံအကောင့် တူtungkao အကောင့်ကြား key ချိတ်၍ မရစလစ်တစ်ခု နှစ်ခုလုံးတွင် အောင် ⚠️ — key နှစ်ခုကို tungkao အကောင့်တစ်ခုတည်းမှ ဝယ်ပြီး ချိတ်ပါ
ဆိုက်တစ်ခု key ၂ ခုသုံး (ဥပမာ ဝဘ်ဆိုက် + အက်ပ်)key နှစ်ခုလုံး: group တူဝဘ်ဆိုက် သို့မဟုတ် အက်ပ်မှ ပို့ပို့ စလစ်ကို တစ်ကြိမ်သာ သုံးနိုင် ✅

DUPLICATE ကို QR ရှိ ရည်ညွှန်းနံပါတ်ဖြင့် ချက်ချင်းစစ်သည်။ API Keys စာမျက်နှာရှိ “key များကြား စလစ်ထပ်သုံးမှု ကာကွယ်ခြင်း” ကတ်တွင် သတ်မှတ်ပါ (key အသစ် မူလ: ဤ key သာ)

📚 အသုံးပြုပုံ ဥပမာများ

ဥပမာ 1

ငွေလက်ခံ wallet ကို တစ်ကြိမ်သတ်မှတ်ပါ

အခြေအနေ: ဆိုင်သည် TrueMoney 081-234-5678 (Somchai) သို့ ငွေလက်ခံပြီး ငွေလက်ခံ QR ရှိသည်

တောင်းဆိုချက်
PUT /v1/truewallet/profile
{
  "receive_by": "wallet_number",
  "wallet_number": "0812345678",
  "name_en": "Somchai Jaidee",
  "qr_image_base64": "<base64 of the QR image>"
}
နမူနာ တုံ့ပြန်ချက်
{
  "success": true,
  "data": {
    "receive_by": "wallet_number",
    "wallet_number": "0812345678",
    "qr_image_url": "https://api.tungkao.com/v1/truewallet/qr/…"
  }
}

➡️ ငွေပေးစာမျက်နှာတွင် qr_image_url ကိုပြ၍ ဖောက်သည် စကင်ဖတ်ရန်

ဥပမာ 2

သိမ်းထားသော wallet ဖြင့် စစ်ဆေးခြင်း

အခြေအနေ: ဖောက်သည်က သင့် TrueMoney wallet သို့ 300 ဘတ် လွှဲပြီး စလစ်တွဲသည်

တောင်းဆိုချက်
POST /v1/truewallet/verify
{
  "image_base64": "<base64 of the slip image>",
  "expected_amount": "300.00"
}
နမူနာ တုံ့ပြန်ချက်
{
  "success": true,
  "status": "VALID",
  "data": {
    "amount": "300.00",
    "currency": "THB"
  }
}

➡️ နံပါတ် ထပ်ပို့ရန်မလို — key တွင် သိမ်းထားသော wallet ကို သုံးသည်

ဥပမာ 3

e-Wallet ID ဖြင့်သာ ငွေလက်ခံခြင်း

အခြေအနေ: ဖောက်သည်က ဂဏန်း ၁၅ လုံး e-Wallet ID ဖြင့် လွှဲသည်၊ သင့်ဖုန်းနံပါတ် မပေးရ

တောင်းဆိုချက်
PUT /v1/truewallet/profile
{
  "receive_by": "ewallet_id",
  "ewallet_id": "140000812345678"
}

➡️ ဖုန်းနံပါတ်သို့ လွှဲသော စလစ်များ RECEIVER_MISMATCH ရ၊ e-Wallet ID ကိုသာ လက်ခံ

ဥပမာ 4

လက်ခံသူကို တောင်းဆိုချက်တွင် ပို့ခြင်း (wallet အများ)

အခြေအနေ: ဆိုင်ခွဲအလိုက် wallet အများကို လှည့်သုံးသည်

တောင်းဆိုချက်
POST /v1/truewallet/verify
{
  "image_base64": "<base64 of the slip image>",
  "expected_amount": "300.00",
  "wallet_numbers": [
    "0812345678",
    "0898765432"
  ],
  "wallet_name_en": "Somchai Jaidee"
}

➡️ စာရင်းထဲရှိ wallet တစ်ခုခုသို့ လွှဲပြီး အမည်ကိုက်လျှင် အောင်

ဥပမာ 5

အဓိက provider ပျက်၊ အရန် ဆက်လုပ်

အခြေအနေ: ဖောက်သည် ပို့နေစဉ် အဓိကစစ်ဆေးသူ ပျက်သည်

တောင်းဆိုချက်
POST /v1/truewallet/verify
{
  "image_base64": "<base64 of the slip image>",
  "expected_amount": "300.00"
}

➡️ အရန်က တောင်းဆိုချက်တစ်ခုတည်းအတွင်း စစ်ပေးသည်။ image_base64 ပို့ပါ: အရန်က ပုံမှ စစ်သည်

ဥပမာ 6

ထပ်သုံး သို့မဟုတ် ပမာဏ မှား

အခြေအနေ: ဖောက်သည်က စလစ်ထပ်ပို့ သို့မဟုတ် ငွေလျော့လွှဲ

နမူနာ တုံ့ပြန်ချက်
{
  "success": false,
  "status": "DUPLICATE"
}

➡️ DUPLICATE = သုံးပြီးသား · AMOUNT_MISMATCH = ပမာဏမှား။ နှစ်မျိုးလုံး credit မဖြည့်ပါနှင့်

💡 နောက်ထပ်

📜 ဤ API ၏ အပ်ဒိတ်မှတ်တမ်း

  1. တိုးတက် ထိုင်းစံတော်ချိန် (UTC+07:00)
    📘 The TrueMoney Wallet docs page is now fully translated into all 10 languages (steps, examples, case table, notes)
  2. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    📄 TrueMoney Wallet API landing page in 10 languages (tungkao.com/en/truemoney-wallet-api)
  3. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    Duplicate-slip protection between keys is now configurable: this key only / group A–E / whole account — for several sites that receive into the same account
  4. တိုးတက် ထိုင်းစံတော်ချိန် (UTC+07:00)
    TrueMoney Wallet slip verification: choose whether you receive with the mobile number or the e-Wallet ID (receive_by); the wallet identifier must always match — a matching name alone no longer passes
  5. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    TrueMoney Wallet slip verification: save your receiving wallet on the key (GET/PUT /v1/truewallet/profile) — wallet number or e-Wallet ID, Thai/English name and a receiving QR image with a link to show your customer
  6. တိုးတက် ထိုင်းစံတော်ချိန် (UTC+07:00)
    TrueMoney Wallet slip verification now fails over to a backup provider inside the same API call when the primary provider is down (requires the slip image)
  7. အသစ် ထိုင်းစံတော်ချိန် (UTC+07:00)
    New service: TrueMoney Wallet slip verification — POST /v1/truewallet/verify (a truewallet_verify key). The receiver is an e-wallet number; responses are identical to /v1/slip/verify
  8. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    API update announcements by webhook: new api.update event (opt in per key on the key card; off by default)
  9. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    error.user_message: ready-to-show text for end users on outages, no credits or key problems (white-label keys omit tungkao.com)
  10. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    GET /status: ဝန်ဆောင်မှုအလိုက် API အခြေအနေ (key မလို)
  11. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    key ဖွင့်/ပိတ် ခလုတ်နှင့် ပြောင်းချိန် + ဝက်ဘ်ဆိုက်တစ်ခု ဝန်ဆောင်မှုတစ်ခုလျှင် key ၁ ခု
  12. တိုးတက် ထိုင်းစံတော်ချိန် (UTC+07:00)
    API v1 ကိုအမြဲပိတ် (ထပ်ထည့်ရုံသာ) + X-Tungkao-Api-Version header + ၁၂ လကြိုတင်အသိပေး
  13. စာရွက်စာတမ်း ထိုင်းစံတော်ချိန် (UTC+07:00)
    API တစ်ခုချင်း docs စာမျက်နှာ + AI လင့်ခ် (ဘာသာ ၁၀)
  14. လုံခြုံရေး ထိုင်းစံတော်ချိန် (UTC+07:00)
    API key တစ်ခုချင်း domain အတည်ပြု (key 1 = site 1) — key ဟောင်းများ ဆက်သုံးနိုင်
  15. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    HMAC request လက်မှတ် (ရွေးချယ်) — မဖွင့်လျှင် ဘာမှမပြောင်း
  16. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    API key သက်တမ်း + သတိပေး + သက်တမ်းတိုး — key စာသားမပြောင်း
  17. ထပ်ထည့် ထိုင်းစံတော်ချိန် (UTC+07:00)
    service တိုင်းအတွက် test mode key (ပုံတူ၊ အခမဲ့)

✅ ကုဒ်ဟောင်း ဆက်သုံးနိုင်

🛡️ တည်ငြိမ်မှုကတိ: တစ်ကြိမ်ချိတ် အမြဲသုံး

🚦 စနစ်အခြေအနေ (GET /status)

API ပုံမှန်ဖြစ်မဖြစ် အချိန်မရွေးစစ်နိုင် — key မလို

GET https://api.tungkao.com/status

curl https://api.tungkao.com/status
{
  "success": true,
  "data": {
    "status": "ok",
    "services": [
      { "id": "slip_verify", "status": "ok", "routes": ["ok", "ok", "busy"] },
      { "id": "slip_deposit", "status": "ok", "routes": ["ok", "ok", "busy"] },
      { "id": "login", "status": "ok" },
      { "id": "telegram", "status": "ok" },
      { "id": "discord", "status": "ok" },
      { "id": "email", "status": "busy" },
      { "id": "crypto", "status": "ok" },
      { "id": "core", "status": "ok" }
    ],
    "paused": [],
    "updated_at": "2026-11-14T12:00:00.000Z"
  }
}

🏷️ TUNGKAO credit ပြသရန် စည်းကမ်း

Powered by TUNGKAO