跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://waffo.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

必填参数

参数类型描述
paymentRequestIdString幂等键,最长 32 个字符。请在发起请求前生成并持久化存储。
merchantOrderIdString商户侧订单 ID
orderCurrencyString订单币种(ISO 4217)
orderAmountString订单金额,例如 "100.00"
notifyUrlStringWebhook 回调 URL(HTTPS)
successRedirectUrlString支付成功后的用户跳转 URL
failedRedirectUrlString支付失败后的用户跳转 URL

可选参数

参数类型描述
orderDescriptionString订单描述
payMethodTypeString指定支付方式类型(例如 CREDITCARD
payMethodNameString指定具体支付方式(例如 CC_VISA
userCurrencyString用户侧币种(当与商户币种不一致时使用)
goodsInfoObject商品信息
userInfoObject用户信息

userInfo

参数类型描述
userIdString商户侧用户 ID
userEmailString用户邮箱
userTerminalString终端类型:WEBAPP

goodsInfo

参数类型描述
goodsIdString商品 ID
goodsNameString商品名称
goodsUrlString商品链接
如果未指定 payMethodType / payMethodName,Checkout 页面将展示所有可用的支付方式。