docs
ဤစာမျက်နှာတွင်

ကြေးနှင့် business အချက်အလက်

ကြေး တွက်ပုံ

Platform fee ကို sweep တိုင်းအတွင်း on-chain ပေါ်မှာ (invoice / customer လိပ်စာများမှ သင့် Hot Wallet သို့ ရွှေ့ချိန်) ယူသည်။ Invoice တစ်ခုချင်းအတွက် သင် ငွေမပေးရပါ။ နှုန်းသည် business တစ်ခုချင်းအလိုက် ပုံသေ ရက် ၃၀ fee period (ကြေးကို ရက် ၃၀ တစ်ကြိမ် ပြန်စတွက်သော ပုံသေ cycle များ၊ ဥပမာ Nov 3 → Dec 3 UTC၊ လက်ရှိ cycle ကို dashboard နှင့် GET /v1/fees တွင် ပြသည်) အတွင်း sweep လုပ်ခဲ့သော ပမာဏပေါ် မူတည်သော marginal နှုန်း ဖြစ်သည် —

Period ပမာဏ (USDT)နှုန်း
≤ 150,0002.0 %
≤ 300,0001.5 %
≤ 600,0001.0 %
≤ 900,0000.5 %
အထက်0.3 %

ထို့အပြင် သင့် operator ၏ အပိုင်း (operator multiplier၊ /v1/fees ကို ကြည့်ပါ) ရှိသည်။ Deposit တစ်ခုကို ငွေ ရောက်ချိန် မဟုတ်ဘဲ sweep လုပ်ချိန် ၏ period ထဲတွင် ရေတွက်သည်။

GET /v1/fees (scope business:read)

Factory contract ကို ဖတ်သည် (30 s cache၊ RPC မရလျှင် 503 chain_unavailable) —

{"object":"fees","fee_period":{"period":692,"start":"…","end":"…","swept_volume":"3.000000","polysia_fee":"0.060000",
 "next_rate_percent":"2","tiers":[…],"note":"…"},"operator_multiplier_percent":"50","pending_multiplier":null,
 "unswept":{"amount":"1.000000","estimated_polysia_fee":"0.020000","estimated_operator_fee":"0.010000","estimate":true}}

GET /v1/fees/quote?amount=250 (scope business:read)

ယခု amount ပမာဏဖြင့် sweep တစ်ခု ထပ်လုပ်လျှင် ကျမည့်ကြေး ခန့်မှန်းချက် (estimated_polysia_fee၊ estimated_operator_fee၊ estimated_net)။ တကယ့်ကြေးသည် ထို period အတွင်း ၎င်းမတိုင်မီ sweep လုပ်ခဲ့သမျှအပေါ် မူတည်သည်။

GET /v1/business (scope business:read)

Business အမည်နှင့် on-chain id၊ network၊ chain_id၊ factory၊ token၊ Hot Wallet (active / pending)၊ on-chain owner အခြေအနေ နှင့် invoice_settings (min_amount၊ max_amount၊ expiry_default_seconds၊ tolerance များ) — invoice မဖန်တီးမီ ကန့်သတ်ချက်များကို ဒီမှာ ဖတ်ပါ။

curl -sS "$API/v1/business" -H "Authorization: Bearer $POLYSIA_API_KEY"