# 接口说明

  • 1.查询对公付款订单详情接口 通过该接口可以查询企业使用分贝通对公付款的订单详情信息
名称 描述
HTTP方法 POST
Content-Type application/x-www-form-urlencoded
method /openapi/func/orders/public/pay/detail
字段 名称 类型 必填 描述
timestamp 时间戳 long Y 13位时间戳
sign 签名 string Y gaghegsgd535te3534
access_token token string Y 登录 token
employee_id 操作人id string Y 操作人id,调用接口人 id
employee_type 用户类型 string Y 类型,0为分贝用户,1为第三方用户
data 订单编号 string Y 用逗号拼接,['订单号1','订单号2']

请求示例:

	"access_token":"5747fbc10f0e60e0709d8d722",
	"sign":"oihfnlyeofdh98",
	"timestamp":124124325,
	"employee_id":"59b74c1323445f2d54dd07922",
	"employee_type":"1",
	"data":["订单号1","订单号2"]

1
2
3
4
5
6
7

响应结果示例:

# 响应数据:
字段 名称 类型 必填 描述
code 响应码 integer Y 0:成功;1:失败
msg 响应信息 string N success
data 订单详情数据 jsonObject N
# 订单信息order_info:
字段 名称 类型 必填 描述
order_id 订单编号 string Y
shop_name 交易商户名 string Y
bank_account_no II类账户银行卡号 string Y
total_price 订单总价 integer Y
cost_price 订单采购价 string Y
company_total_pay 公司支付总金额 string Y
order_status 订单状态 string Y
supplier_id 供应商ID string Y
user_mark 用户是否标记 0 否 1是 string Y
fb_order_id 退款时,存入正向订单号 integer Y
transaction_type 交易类型 string Y
order_channel 订单来源 string Y
category_type 场景类型 string Y
account_type 订单类型 string Y
create_time 创建时间 string Y
update_time 更新时间 integer Y
reserve_time 预定时间 string Y
pay_time 支付时间 string Y
complete_time 完成时间 string Y
user_id 下单人id string Y
user_name 下单人名称 string Y
user_phone 下单人手机号 integer Y
company_id 公司ID string Y
bankTrans_time 银行交易时间 string Y
bankTrans_no 银行消费流水号 string Y
fb_cashier_txn_id 收银台流水号 string Y
fb_pay_notify_url 分贝支付回调通知路由 string Y
account_sub_type 支付账户类型 integer Y
bank_name 银行名称 string Y
bank_hupo_trans_type 银行通知交易业务类型 string Y
bank_ori_trans_no 原银行交易流水号 string Y
month_type 月份 string Y
check_status 核销状态 string Y
check_time 核销变更时间 string Y
replace_tag 是否有替票 string Y
user_mark_time 标记时间 string Y
refund_status 正向单关联退款标识 string Y
total_invoice_price 发票总金额 integer Y
payment_id 付款单号 string Y
electronic_status 电子回单状态 string Y
fail_desc 交易失败原因 string Y
receiver_name 收款方名称 string Y
receiver_bank 收款方开户行 string Y
receiver_account 收款方账户 integer Y
public_model 对公支付业务模式枚举 string Y
cost_image_url 发票地址 string Y
business_mode 状态码 integer Y
third_info 三方信息 jsonObject Y
# 三方信息third_info:
字段 名称 类型 必填 描述
user_id 三方员工id string N 三方员工id
dept_id 三方部门id string N 三方部门id
cost_dept_id 三方费用归属部门id string N dinge78ced08591e110bf5bf40eda33b7ba0
cost_project_id 三方费用归属项目id string N dinge78ced08591e110bf5bf40eda33b7ba2
{
    "code": 0,
    "msg": "success",
    "data": [
        {
            "order_id": "",
            "bank_account_no": "",
            "total_price": 1.00,
            "cost_price": 1.00,
            "order_status": 1,
            "supplier_id": 1,
            "transaction_type": 1,
            "order_channel": 1,
            "category_type": 1,
            "account_type": 1,
            "create_time": "",
            "update_time": "",
            "user_id": "",
            "user_name": "",
            "user_phone": "",
            "company_id": "",
            "fb_cashier_txn_id": "",
            "bank_name": "",
            "bank_hupo_trans_type": 1,
            "month_type": "",
            "show_type": 1,
            "refund_status": 1,
            "payment_id": "",
            "electronic_status": 1,
            "receiver_name": "",
            "receiver_bank": "",
            "receiver_account": "",
            "public_model": 1,
            "third_info": {
                "user_id": "23122222222112",
                "dept_id": "146f0295-fbbc-4448-b9ec-c6dc171de573",
                "cost_project_id": "third_group_033"
             }
        },{
            "order_id": "",
            "bank_account_no": "",
            "total_price": 1.00,
            "cost_price": 1.00,
            "order_status": 1,
            "supplier_id": 1,
            "transaction_type": 1,
            "order_channel": 1,
            "category_type": 1,
            "account_type": 1,
            "create_time": "",
            "update_time": "",
            "user_id": "",
            "user_name": "",
            "user_phone": "",
            "company_id": "",
            "fb_cashier_txn_id": "",
            "bank_name": "",
            "bank_hupo_trans_type": 1,
            "month_type": "",
            "show_type": 1,
            "refund_status": 1,
            "payment_id": "",
            "electronic_status": 1,
            "receiver_name": "",
            "receiver_bank": "",
            "receiver_account": "",
            "public_model": 1,
            "third_info": {
                "user_id": "23122222222112",
                "dept_id": "146f0295-fbbc-4448-b9ec-c6dc171de573",
                "cost_project_id": "third_group_033"
             }
        }
    ],
    "request_id": ""
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
lastUpdate: 2/22/2022, 4:19:55 PM