One platform, three ways to build. Pick the one that matches what you're making:
platform တစ်ခု၊ တည်ဆောက်နည်း သုံးမျိုး။ သင် ဖန်တီးမည့်အရာနှင့် ကိုက်ညီသည့်တစ်ခုကို ရွေးပါ —
sk_ keys, the merchant SDK, Loyalty / Delivery / Orders.sk_ key များ၊ merchant SDK၊ Loyalty / Delivery / Orders။pk_ publishable key + the consumer SDK.pk_ publishable key နှင့် consumer SDK။sk_test_… key in the portal (environment: test), signing in as the shop owner or with a delegated developer account.npm install @beyondplusmm/doehpos-sdkpnpm smoke:sandboxsk_test_… key တစ်ခု ထုတ်ပါ (environment: test)၊ ဆိုင်ပိုင်ရှင်အဖြစ် ဖြစ်စေ လွှဲအပ်ထားသော developer account ဖြင့် ဖြစ်စေ sign in ဝင်ပါ။npm install @beyondplusmm/doehpos-sdkpnpm smoke:sandboxnpm install @beyondplusmm/doehpos-sdk
A typed TypeScript client for the Merchant API — auth, idempotency, and typed errors built in.
Merchant API အတွက် typed TypeScript client — auth, idempotency နှင့် typed error များ ပါဝင်ပြီးသား။
Quickstart →Loyalty referenceError reference
Quickstart →Loyalty အကိုးအကားError အကိုးအကား
sk_test_… keys — isolated
test data, no real orders. See the Sandbox guide.
API_KEY_ENV_MISMATCH)sk_test_… key များဖြင့် တည်ဆောက်ပြီး စမ်းသပ်ပါ — သီးခြားခွဲထားသော test data၊ အစစ်အမှန် order မရှိ။
Sandbox guide ကို ကြည့်ပါ။
API_KEY_ENV_MISMATCH)Inside a cloned Starter Kit, prove the full loyalty flow end to end against the sandbox:
clone ကူးထားသော Starter Kit ထဲတွင် loyalty flow အပြည့်အစုံကို sandbox ပေါ်၌ အစအဆုံး သက်သေပြပါ —
pnpm smoke:sandbox
# connectivity · earn · balance · redeem · idempotency → PASS
Build and publish your own branded app on DOEH — you own the Apple / Google accounts and the code.
DOEH ပေါ်တွင် ကိုယ်ပိုင်အမှတ်တံဆိပ် app ကို တည်ဆောက်ပြီး ထုတ်ဝေပါ — Apple / Google account များနှင့် code ကို သင်ကိုယ်တိုင် ပိုင်ဆိုင်သည်။
Base URL: https://api.doehpos.com · authentication is a merchant bearer token; scope is derived server-side. Shop owners — and delegated developer accounts — sign in to the portal to create and manage keys.
Base URL: https://api.doehpos.com · authentication သည် merchant bearer token ဖြစ်သည်။ scope ကို server ဘက်တွင် တွက်ချက်သည်။ ဆိုင်ပိုင်ရှင်များ — နှင့် လွှဲအပ်ထားသော developer account များ — key များ ဖန်တီး/စီမံရန် portal သို့ sign in ဝင်ပါ။
Operational APIs used by DOEH's own apps. Not part of the integration SDK; Sanctum auth, separate stack.
DOEH ၏ ကိုယ်ပိုင် app များ သုံးသော operational API များ။ integration SDK ၏ အစိတ်အပိုင်း မဟုတ်ပါ။ Sanctum auth၊ သီးခြား stack။
Build a shop's own customer-facing app. A publishable pk_test_… key identifies the shop — it grants nothing by itself, and the shop is bound server-side from the key; customers sign in and every call carries both credentials. A different plane from the merchant SDK above.
ဆိုင်၏ ကိုယ်ပိုင် customer-facing app ကို တည်ဆောက်ပါ။ publishable pk_test_… key က ဆိုင်ကို ဖော်ပြသည် — key တစ်ခုတည်းဖြင့် ဘာမှ လုပ်၍မရပါ၊ ဆိုင်ကို key မှတစ်ဆင့် server ဘက်တွင် ချိတ်ဆက်သည်။ customer များ sign in ဝင်ပြီး request တိုင်းတွင် credential နှစ်ခုလုံး ပါသွားသည်။ အပေါ်က merchant SDK နှင့် သီးခြား plane ဖြစ်သည်။
npm install @beyondplusmm/doeh-consumer-sdk
pk_test_… key for the shop (environment: test).npm install @beyondplusmm/doeh-consumer-sdkpnpm smoke:consumerpk_test_… key ထုတ်ပေးသည် (environment: test)။npm install @beyondplusmm/doeh-consumer-sdkpnpm smoke:consumerFive branding-only packs in the Loyalty Starter — copy one, re-skin in minutes.
Loyalty Starter ထဲတွင် branding သက်သက် pack ၅ ခု — တစ်ခုကို ကူးယူပြီး မိနစ်ပိုင်းအတွင်း အသွင်ပြောင်းပါ။
Shipped: publishable keys + consumer plane (sandbox — see Consumer apps above). On the horizon:
Production consumer plane (pk_live_ issuance) · Hosted customer sign-in · Catalog APIs.
Today's contract is frozen and CI-enforced; these arrive additively under /v1.
ထုတ်ဝေပြီး — publishable key များ + consumer plane (sandbox — အပေါ်က Consumer app များ ကဏ္ဍကို ကြည့်ပါ)။ လာမည့်အရာများ —
Production consumer plane (pk_live_ ထုတ်ပေးခြင်း) · Hosted customer sign-in · Catalog API များ။
ယနေ့ contract သည် frozen ဖြစ်ပြီး CI ဖြင့် ထိန်းချုပ်ထားသည်။ ၎င်းတို့သည် /v1 အောက်တွင် ထပ်ဆင့်တိုးလာမည်။