企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 接口名称 Order/doPay ### 接口描述 支付订单 ### 演示地址 `http://URL/Order/doPay` 输入参数 ~~~ (int) order_id 订单号(必填) (int) order_no 订单号(必填) (string) channel 支付渠道(必填) (string) primary_key 第三方支付标识(必填) (double) amount 支付金额(必填) ~~~ 输出结果 ~~~ { "id": "ch_GGKmv1y5SCe91arL08SGWTGS", "object": "charge", "created": 1430978898, "livemode": false, "paid": false, "refunded": false, "app": "app_nfPybTK4yL40fvnz", "channel": "alipay", "order_no": "158974498894", "client_ip": "127.0.0.1", "amount": 110, "amount_settle": 0, "currency": "cny", "subject": "糖果支付", "body": "糖果app", "extra": {}, "time_paid": null, "time_expire": 1431065298, "time_settle": null, "transaction_no": null, "refunds": { "object": "list", "url": "/v1/charges/ch_GGKmv1y5SCe91arL08SGWTGS/refunds", "has_more": false, "data": [] }, "amount_refunded": 0, "failure_code": null, "failure_msg": null, "metadata": {}, "credential": { "object": "credential", "alipay": { "orderInfo": "_input_charset=\"utf-8\"&body=\"糖果app\"&it_b_pay=\"1440m\"&notify_url=\"https%3A%2F%2Fapi.pingxx.com%2Fnotify%2Fcharges%2Fch_GGKmv1y5SCe91arL08SGWTGS\"&out_trade_no=\"158974498894\"&partner=\"2008700608246605\"&payment_type=\"1\"&seller_id=\"2008700608246605\"&service=\"mobile.securitypay.pay\"&subject=\"糖果支付\"&total_fee=\"1.1\"&sign=\"bXZMaWpIaUw0R1dITHl6YjUwMEtDeTFT\"&sign_type=\"RSA\"" } }, "description": null } ~~~ ### 字段说明 ~~~ 成功时: 返回Charge 对象,app根据该对象调用支付控件完成支付 失败时: 0 ~~~ ### 其他说明