Skip to content

API 全量清单 · 支付

支付

requestPayment

⚠️

发起支付。

大概用法

三端策略

  • 微信:直连 `wx.requestPayment`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

requestOrderPayment

⚠️

发起订单支付。

大概用法

三端策略

  • 微信:直连 `wx.requestOrderPayment`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

requestPluginPayment

⚠️

发起插件支付。

大概用法

三端策略

  • 微信:直连 `wx.requestPluginPayment`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

requestVirtualPayment

⚠️

发起虚拟支付。

大概用法

三端策略

  • 微信:直连 `wx.requestVirtualPayment`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

openHKOfflinePayView

⚠️

打开香港线下支付视图。

大概用法

三端策略

  • 微信:直连 `wx.openHKOfflinePayView`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

requestCommonPayment

⚠️

发起通用支付请求。

大概用法

三端策略

  • 微信:直连 `wx.requestCommonPayment`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

requestMerchantTransfer

⚠️

发起商家转账请求。

大概用法

三端策略

  • 微信:直连 `wx.requestMerchantTransfer`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

createGlobalPayment

⚠️

创建全局支付对象。

大概用法

三端策略

  • 微信:直连 `wx.createGlobalPayment`
  • 支付宝:无同等 API,调用时按 unsupported 报错
  • 抖音:无同等 API,调用时按 unsupported 报错

Released under the MIT License.