API list

The following table lists the APIs in terms of category, endpoint, and calling direction. You can click the interface name to see the detailed specification of each API.

For ISVs/merchants

Category

Interface name

Endpoint

Direction

Mini Program

inquireOperatorInfo

/v2/pds/console/inquireOperatorInfo

ISV/Merchant > Mini Program Platform

sync

/v2/pds/merchant/operator/sync

ISV/Merchant > Mini Program Platform

sync

/v2/pds/merchant/sync

Mini Program Platform > ISV/Merchant

upload

/v2/miniprogram/decorate/upload

ISV/Merchant > Mini Program Platform

Payment

pay

/v2/payments/pay

ISV/Merchant > Mini Program Platform

inquiryPayment

/v2/payments/inquiryPayment

ISV/Merchant > Mini Program Platform

notifyPayment

/v2/payments/notifyPayment

Mini Program Platform > ISV/Merchant

refund

/v2/payments/refund

ISV/Merchant > Mini Program Platform

cancel

/v2/payments/cancelPayment

ISV/Merchant > Mini Program Platform

Message

send

/v2/miniprogram/message/send

ISV/Merchant > Mini Program Platform

For super apps

Category

Interface name

Endpoint

Direction

Mini Program

query

/v2/miniprogram/app/info/list/query

Super app > Mini Program Platform

Authorization

applyToken

/v2/authorizations/applyToken

Mini Program Platform > Super app

revoke

/v2/authorizations/revoke

Mini Program Platform > Super app

User

inquiryUserInfo

/v2/users/inquiryUserInfo

Mini Program Platform > Super app