B2b API List

View Markdown

Last edited on 2025-12-21

Store_assistant

API NameRequest PathDescription
Activation Process/wxa/business/retailbusinessapplyMethod 1: Activation via Mini Program Admin Console
Pre-fill Store Information/wxa/business/batchcreateretailThis API allows for the pre-filling of store information.
Store Information Query/wxa/business/getretailinfoQuery the store information of users who have completed store authentication and
Query All Authorized Stores/wxa/business/getretailopenidlistThis interface is used to retrieve information of all authorized stores under Mi

Notify

API NameRequest PathDescription
Template Message List and Delivery/wxa/business/retailnotifybusinessThis interface is used to send template messages.
Message Performance Data/wxa/business/getretailmessagelistThis API is used to retrieve data for sent messages.

Bill

API NameRequest PathDescription
Merchant onboarding/retail/B2b/retailregistermchYou can perform onboarding for Merchant via API.
Upload Merchant Image/retail/B2b/retailuploadmchfileYou can upload materials via API to obtain an image ID, and then fill in the ima
Query the activation status of a Merchant account/retail/B2b/retailgetmchorderYou can query the entry order (including status information) of a Merchant accou
Apply for Bank Transfer Activation/retail/B2b/registeronlywqfWhen WeChat Pay has been successfully enabled but Bank Transfer has not yet been
Navigate to the Bank Transfer Page/retail/B2b/createwqflinkAfter applying to enable bank transfers, if the activation status is "Awaiting I
Retrieve all Merchant information under the Mini Program./retail/B2b/getmchinfoYou can use the API to retrieve all Merchant information under a specific Mini P
Enroll in the WeChat Pay technical service fee promotion/retail/B2b/setmchprofitrateOn the page:
Enroll in the bank transfer technical service fee discount campaign/retail/B2b/updatewqfchargefeePortal method:
Query the technical service fee rate for bank transfers/retail/B2b/getwqfchargefeeThis information can be retrieved via Merchant account status inquiry. See the
Query Order/retail/B2b/getorderThis API is used to query B2b order information.
Close Order/retail/B2b/closeb2borderYou can call this API to actively close an order only when the order is in the O
Refund/retail/B2b/refundWithin 160 days after a transaction occurs, if a refund is required due to reaso
Query Refund/retail/B2b/getrefundThis API is used to query B2b refund order information.
Get AppKey/retail/B2b/getappkeyGet the AppKey for the B2b Merchant account.
Download Transaction and Fund Bills via API/retail/B2b/downloadbillThis API supports querying bills within the last 90 days.
Query account balance/retail/B2b/getmchbalanceQuery the balance under the B2b Merchant ID
Initiate a Manual Withdrawal/retail/B2b/withdrawInitiate a manual withdrawal using the API.
Query Withdrawal Status/retail/B2b/querywithdrawQuery Withdrawal Status
WeChat Pay Automatic Withdrawal API/retail/B2b/setautowithdrawThis API is used to configure WeChat Pay automatic withdrawals for B2b Merchant
Add Profit Sharing Party/retail/B2b/addprofitsharingaccountProfit sharing parties can be added via API. The maximum number of profit sharin
Remove a profit-sharing payee/retail/B2b/delprofitsharingaccountYou can remove a profit-sharing payee via API.
Query Profit Sharing Recipients/retail/B2b/queryprofitsharingaccountQuery profit sharing recipients via API
Request Profit Sharing/retail/B2b/createprofitsharingorderInitiate a profit sharing request via this interface to distribute settled funds
Query Split Payout Results/retail/B2b/queryprofitsharingorderCan be used to query whether a specific split payout record for a payment order
Query the remaining amount for profit sharing/retail/B2b/queryprofitsharingremainamtCan be used to query the remaining amount after profit sharing for a specific pa
Complete Profit Sharing/retail/B2b/finishprofitsharingorderAfter a payment order is marked for profit sharing at the time of order placemen
Request Profit-Sharing Rollback/retail/B2b/refundprofitsharingFor orders that have been profit-shared, after a refund is completed, this inter
Query Profit Sharing Reversal Result/retail/B2b/queryrefundprofitsharingorderUse this API to query the reversal result.