⚙️ 整合方式
產品端只要一支 API
POST /api/v1/charges
X-Merchant-Id: tours
X-Signature: <hmac-sha256(secret, body)>
{ "order_ref":"TR...001", "amount":1440,
"desc":"台中包車訂金",
"methods":["ecpay","wallet","usdt","bank"],
"notify_url":"https://app.bosbm.net/api/pay/webhook" }
→ { "checkout_url":"https://pay.bosbm.net/checkout/ch_..." }
產品把使用者導向 checkout_url;付款完成後 BOSBM Pay 以 HMAC 簽章 webhook 回呼 notify_url,產品驗章後履約(出貨/開通/成團)。