Skip to content

通过协议号查询签约

商户通过签约协议号可查询签约信息,当合约不存在时返回NOT_FOUND错误码 官方文档

js
wxpay
.
v3
.
eduschoolpay
.
contracts
.
_contract_id_
.
get
({
contract_id
,
}) .
then
(
({
data
: {
contract_id
,
mchid
,
appid
,
openid
,
plan_id
,
contract_status
,
create_time
,
out_contract_code
,
}, }) => ({
contract_id
,
mchid
,
appid
,
openid
,
plan_id
,
contract_status
,
create_time
,
out_contract_code
,
}) )

Released under the MIT License. (SITEMAP)