{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"3. 集成模式：托管收银台"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"3-集成模式托管收银台","__idx":0},"children":["3. 集成模式：托管收银台"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["托管收银台是 Infini 提供的标准化支付集成方案，商户只需调用一个 API 创建订单并将用户重定向至 Infini 托管的支付页面，即可完成从币种选择、支付指引到链上交易监控的全过程。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"31-模式概述","__idx":1},"children":["3.1 模式概述"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["在此模式下，Infini 将负责："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["支付页面的 UI 展示（支持多语言）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["币种、网络及多支付方式的选择逻辑（包括链上支付、Binance Pay、Onramp 购币等可扩展能力）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["支付指引、二维码、支付地址或第三方支付链接的生成与展示"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["链上交易监听、支付确认与状态同步"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["订单状态更新与 Webhook 回调推送"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["异常场景处理（超时、部分支付、重复支付、晚到支付等）"]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["托管收银台模式支持未来扩展更多支付方式，商户无需额外修改前端逻辑。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"32-接入流程","__idx":2},"children":["3.2 接入流程"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["托管收银台模式的典型流程如下："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["商户系统发起订单创建请求"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["调用 POST /v1/acquiring/order"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["提供订单金额、货币、过期时间、账单名称（可选）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["返回 order_id 与 checkout_url"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["商户前端将用户重定向至 checkout_url"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["用户进入托管收银台页面"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["展示币种、网络、支付金额、倒计时等信息"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["用户完成链上支付"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["选择代币与网络"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["进行链上转账"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Infini 自动检测交易并开始确认"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Infini 处理支付状态"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["根据链上确认更新订单状态（processing/paid/expired 等）"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["用户查看支付结果"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["托管收银台展示支付成功页面"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Infini 推送 Webhook 给商户"]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Webhook 通知订单状态变更"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["商户根据事件执行发货、开通权限等业务动作"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"33-商户侧的最小对接工作量","__idx":3},"children":["3.3 商户侧的最小对接工作量"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["托管收银台模式只需实现以下三项内容即可上线："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["调用创建订单 API"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["将用户重定向到 checkout_url"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["处理 Webhook 回调事件"]}]}]}]},"headings":[{"value":"3. 集成模式：托管收银台","id":"3-集成模式托管收银台","depth":2},{"value":"3.1 模式概述","id":"31-模式概述","depth":3},{"value":"3.2 接入流程","id":"32-接入流程","depth":3},{"value":"3.3 商户侧的最小对接工作量","id":"33-商户侧的最小对接工作量","depth":3}],"frontmatter":{"seo":{"title":"3. 集成模式：托管收银台"}},"lastModified":"2026-06-12T06:47:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh/docs/en/3-checkout-mode","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}