开始

    API Endpoint

        https://darlie-payment.ziwei.com.my/
                

请使用POST FORM方式提交

申请支付链接



https://pay.darlie-pay.com/api/pay


                    
                    例子 :

                    {
                            "code": "zhanyingkeji001",
                            "orderno": "790607145134",
                            "amount": 99.99,
                            "ppID": 1,
                            "returnurl": "https://test.com",
                            "notifyurl": "https://test.com",
                    }
                    
                

参数列表

字段名 类型 说明
code String N 商户标识
orderno String N 订单号
amount String N 金额
name String Y 产品名字
ppID Integer N 支付方式 (微信 = 1, 支付宝 = 2, 网银 = 3, 快捷支付 = 4, 云闪付 = 5)
returnurl String Y 记录回调URL (客户端返回地址)
notifyurl String Y 记录通知URL

返回参数

字段名 类型 说明
url String 请求支付地址
message String 返回信息

签名机制

SIGN = MD5(amount+code+notifyurl+orderno+ppID+returnurl+secret)

支付异步通知

                 
                        
                        例子 :

                        {
                                "status": 1,
                                "code": "zhanyingkeji001",
                                "orderno": "790607145134",
                                "amount": 99.99,
                                "sign": FSD35DFD353D,
                        }
                        
                    

参数列表

字段名 类型 说明
status Integer 状态 (2: 成功, 3:失败)
code Integer 商户标识
orderno String 订单号
amount String 金额
sign String 数据MD5加密

签名机制

SIGN = MD5(amount+code+orderno+secret)

订单号查询


https://pay.darlie-pay.com/api/query

                 
                        
                        例子 :

                        {
                                "code": "zhanyingkeji001",
                                "orderno": "790607145134",
                                "sign": FSD35DFD353D,
                        }
                        
                    

参数列表

字段名 类型 说明
code String 商户标识
orderno String 订单号
sign String 数据MD5加密

返回参数

字段名 类型 说明
amount String 金额
status Integer 状态 (1: 等待 2: 成功, 3:失败)

签名机制

SIGN = MD5(code+orderno+secret)