create_payment_order
Create a payment order with a merchant order number and amount in yuan. Returns a QR code for payment or a fallback link, and provides an order number for status polling.
Instructions
Create a cashier payment order. Amount is in yuan and merchant_order_no is the merchant's own unique order number. After success, display pay_qrcode_markdown, the returned image content block, pay_qrcode_image data URL, or pay_qrcode_base64 with pay_qrcode_mime_type as the QR code. If QR rendering fails, show pay_url/qrcode as the fallback payment link. Save order_no/query_order_no when present. If order_no is null, save merchant_order_no plus order_time and use both for query_payment_order polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_order_no | Yes | ||
| amount | Yes | ||
| notify_url | No |