Skip to content

创建支付分订单

用户申请使用服务时,商户可通过此接口申请创建微信支付分订单。 官方文档

js
wxpay
.
v3
.
payscore
.
serviceorder
.
post
({
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
openid
,
need_user_confirm
,
}) .
then
(
({
data
: {
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
mchid
,
state
,
state_description
,
order_id
,
package
:
packageStr
,
}, }) => ({
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
mchid
,
state
,
state_description
,
order_id
,
package
:
packageStr
,
}) )

查询支付分订单

用于查询单笔微信支付分订单详细信息。 官方文档

js
wxpay
.
v3
.
payscore
.
serviceorder
.
get
({
params
,
}) .
then
(
({
data
: {
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
mchid
,
state
,
state_description
,
order_id
,
package:
packageStr
,
}, }) => ({
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
mchid
,
state
,
state_description
,
order_id
,
package
:
packageStr
,
}) )

Released under the MIT License. (SITEMAP)