订单列表
订单列表
/pay/order/listhttps://sandbox.j-pay.net/pay/order/listQuery a paginated list of orders for a merchant under the agent account.
请求头
Agent-Merchant-Idstringrequired代理商户 ID。 The request is signed with the agent API key.
请求体application/x-www-form-urlencoded
pay_memberidstringrequiredsignMerchant ID to query orders for.
pagestringsign页码。默认:1。
sizestringsign每页条数。默认:20。
pay_applydate_startstring, YYYY-MM-DDsignOrder creation start date (inclusive).
pay_applydate_endstring, YYYY-MM-DDsignOrder creation end date (inclusive).
signstringrequired响应参数
totalnumberTotal number of matching orders.
pagenumberCurrent page number.
sizenumberPage size.
listarrayOrder object in the list array.
list.transaction_idstring平台流水号。
list.pay_memberidstringMerchant ID.
list.pay_orderidstringMerchant order ID.
list.pay_applydatestringOrder creation time.
list.pay_bankcodestringPayment bank code.
list.pay_notifyurlstringAsync notification URL.
list.pay_callbackurlstringReturn URL after payment.
list.pay_amountstringOrder amount.
list.pay_currencystringCurrency code.
list.pay_urlstringPayment page URL.
list.pay_productnamestringProduct name or JSON string.
list.pay_customernamestringCustomer name.
list.pay_street_address1stringStreet address.
list.pay_citystringCity.
list.pay_statestringState or province.
list.pay_postcodestringPostal code.
list.pay_country_iso_code_2string, ISO 3166-1 alpha-2Country code (e.g., US).
list.pay_email_addressstringCustomer email.
list.pay_telephonestringCustomer phone number.
list.pay_ipstringCustomer IP address.
list.trade_statestring, NOTPAY | PENDING | FAIL | SUCCESS | REFUNDOrder status: NOTPAY — unpaid; PENDING — processing; FAIL — failed; SUCCESS — paid; REFUND — refunded.
list.refund_amountstringTotal refunded amount.
list.refund_listarrayRefund records. Each item matches the refund_list object below.
list.pay_card_prefixstringFirst 6 digits of the card number.
list.pay_card_last4stringLast 4 digits of the card number.
list.pay_typestring, subscribes | card | apmPayment type.
list.pay_methodstringPayment method (e.g., Alipay, Apple Pay).
refund_listarrayRefund object in each order's refund_list array.
refund_list.orderidstringMerchant order ID.
refund_list.transaction_idstring平台流水号。
refund_list.refund_orderidstringRefund order ID.
refund_list.amountstringOriginal order amount.
refund_list.refund_amountstringRefund amount.
refund_list.refund_currencystringRefund currency.
refund_list.pay_applydatestringOrder creation time.
refund_list.apply_datestringRefund application time.
refund_list.refund_datestringRefund completion time.