{
"merchantId": 123456,
"outTradeNo": "ORDER001",
"totalAmount": 10000,
"subject": "服务支付",
"body": "订单描述",
"notifyUrl": "https://app.example.com/notify",
"returnUrl": "https://app.example.com/result",
"expireMinutes": 30,
"attach": "自定义数据"
}curl --location --request POST 'http://10.168.1.163:48080/open-api/v1/payment/cashier/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchantId": 123456,
"outTradeNo": "ORDER001",
"totalAmount": 10000,
"subject": "服务支付",
"body": "订单描述",
"notifyUrl": "https://app.example.com/notify",
"returnUrl": "https://app.example.com/result",
"expireMinutes": 30,
"attach": "自定义数据"
}'{
"code": 0,
"msg": "",
"data": {
"tradeNo": "",
"cashierUrl": ""
}
}