Enquire about order details
Examples of Interface Requests
Interface Force Check Source IP
Example of request parameters
Examples of back-up
Dxplaination of request parameters
parameter | type | Is it compulsory? | Introductions |
trade_no | string | yes | Merchant transaction number |
Return parameter explaination
parameter | type | Is it compulsory? | Introductions |
errcode | number | yes | Error code |
errmsg | string | yes | Error message |
order | Object Order | yes | Order Information |
Object Order
Field Name | type | Is it compulsory? | Introductions |
trade_no | string | yes | Merchant transaction number |
combine_trade_no | string | yes | Total transaction number for merchant contract payment |
mchid | string | yes | Merchant Number |
transaction_id | string | no | WeChat Payment side transaction number |
create_time | number | yes | Order creation time, second time stamp |
update_time | number | yes | Order update time, second time stamp |
pay_time | number | no | Order payment time, second time stamp |
expire_time | number | no | Order expiration time, second time stamp |
close_status | number | no | Order closed status, 0: Normal; 1: It is closed |
close_time | number | no | Order closing time, second time stamp |
amount | number | yes | Order Amount, in units |
description | string | yes | Order Description |
profit_sharing_list | Array Object ProfitSharingRecord | no | List of accounts receivable information |
refund_list | Array Object RefundRecord | no | List of refund information |
profit_sharing_delay | number | no | Account period, how many days after the order begins payment time can be divided up |
profit_sharing_frozen | number | no | Is the order currently frozen to be divided? 1: Can't be divided, 0 can be divided normally |
Object ProfitSharingRecord
Field Name | type | Is it compulsory? | Introductions |
profit_sharing_no | string | yes | Business billing number |
profit_sharing_id | string | yes | WeChat Payment Side Account Number |
mchid | string | yes | Merchant Number |
amount | number | yes | Amounts divided, in units |
create_time | number | yes | Payment allocation request time, second-rate timestamp |
finish_time | number | no | Payment completion time, second-rate timestamp |
result | string | no | Results of accounting |
fail_reason | string | no | Reasons for failure |
Object RefundRecord
Field Name | type | Is it compulsory? | Introductions |
refund_no | string | yes | Merchant refund number |
refund_id | string | yes | WeChat Payment Side Refund Number |
amount | number | yes | Amount of refund, in units |
create_time | number | yes | Refund application time, second time stamp |
finish_time | number | no | When the refund is completed, a second time stamp |
result | string | no | Refund results |
fail_reason | string | no | Reasons for failure |