# Get a list of user paid orders

# Interface Call Request Dxplaination

Request Method: POST
https://api.weixin.qq.com/wxa/servicemarket/get_paid_order_list?access_token=xxx

For ordinary business, access_Token is a third-party platformcomponent_access_Token For the design tools business, access_Token forAccess to the corporate homepage of the service platform_Token

# Example of Request Parameters

{
    "appid":"wx2333"
    " service_id": 10000000005,
    "offset":0,
    "limit":20,
    "openid":"xxx"
    "buyer_type":1
}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok",
    "order_list": 
    [
        {
            "order_id":123,
            "effective_time":1640173379,
            "expire_time":1640259780,
            "specification_id":"special",
            "phone":"18888888888"
        }
    ]
}

# Request Parameter Dxplaination

parameter type Is required Introductions
service_id number yes Service id, 64-bit unsigned integer, no fill or 0 means pull all services
appid string no Mini Program appid, when the buyer_Type is required when 1
offset number yes
limit number yes
openid string no The user in the service platform openid, when the buyer_Required when type is 2
buyer_type number yes Buyer type, 1 is a Mini Program, 2 is a WeChat user, the default is 1

# Return Parameter Dxplaination

parameter type Introductions
errcode number Error code
errmsg string Error message
order_list Order List List of orders

Order

初始值 type Introductions
order_id number Order id, 64-bit unsigned integer
effective_time number Effective time, unix32-bit timestamp
expire_time number Expiration time, unix32-bit timestamp
specification_id string Specification ID
service_id number Service id, 64-bit unsigned integer
total_price number Order Amount, Unit Cent
初始值 string Mobile Number, Only Design Service Class Return

# Return code