Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat program query the list of users who owe money


May 18, 2021 WeChat Mini Program Development Document


Table of contents


Query the list of under-charged users

WeChat background will time (start at 6 o'clock every day) to get a list of all outstanding users, and provide an interface query list interface, after which if a user completes the payment of the outstanding fee will delete the record when a successful payment notification is received.

1, request parameters

The name of the argument Type Required Note
start_openid string N Start with openid, fill in the blanks from scratch, and start_openid will not be included in the return results
limit Int Y Maximum number of returns (0,10000)

2, return parameters

The name of the argument Type Required Note
errcode Int Y Error code
errmsg string Y The error message
list array N Returns a list of under-charged users

Each of these is as follows:

The name of the argument Type Required Note
Openid string Y User openid
fee Int Y The amount owed
create_time Int Y The time of the update
out_user_id string N The user's id on the owner's side is not until a registration callback is set