Payments

Create Payment

创建新的支付订单(仅限注册用户,允许 API KEY 过期后续费)

post/payments/create

Request body

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.