payment

Precreate Payment

创建当面付(扫码支付)订单,直接返回二维码 URL。Agent 可嵌为 <img src='qr_code'>。

post/api/v1/payment/precreate

Request

  • Base URL: https://api.ticktest.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.ticktest.cn/api/v1/payment/precreate
  • Auth: none declared

Request body

symbolstring required

股票代码,如 sz000001

strategystring required

策略描述,如 MA5上穿MA20买入

start_datestring

回测开始日期

end_datestring

回测结束日期

out_trade_nostring nullable

商户订单号(自动生成)

total_amountstring

订单金额

subjectstring nullable

订单标题

Response

Successful Response

successboolean required
out_trade_nostring nullable
qr_codestring nullable

支付宝当面付二维码 URL,可直接渲染为 <img> 标签

amountstring nullable
plan_namestring nullable
creditsinteger nullable
messagestring nullable

Changes

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