Payments

Create Guest Payment

为未注册用户创建支付订单(只需提供邮箱)

post/payments/guest-create

Request body

emailstring email required

用户邮箱,将用于创建或关联账户

amountnumber required

支付金额(人民币)

payment_method'alipay' | 'wxpay'

支付方式 (alipay 或 wxpay)

method'api' | 'web' nullable

支付接口类型 (api 或 web)

return_urlstring nullable

支付后的自定义返回URL

Response

Successful Response

order_nostring required
payment_urlstring nullable
qr_codestring nullable
qr_imgstring nullable
statusstring required
messagestring nullable
api_keystring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.