签约报备
若查询申请状态为待签约,接口会一并返回签约二维码,服务商需引导商户使用本人微信扫码完成协议签署。
🚫
本接口服务已于 2023.05.23
(北京时间)下线,文档仅做留存参考。
请求参数 | 类型 | 描述 |
---|---|---|
security | true | 声明加载商户API证书 |
xml | object | 声明请求的XML 数据结构 |
php
$instance->v2->applyment->micro->signcontract->postAsync([
'security' => true,
'xml' => [
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance->chain('v2/applyment/micro/signcontract')->postAsync([
'security' => true,
'xml' => [
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance['v2/applyment/micro/signcontract']->postAsync([
'security' => true,
'xml' => [
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$response = $instance->v2->applyment->micro->signcontract->post([
'security' => true,
'xml' => [
],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance->chain('v2/applyment/micro/signcontract')->post([
'security' => true,
'xml' => [
],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance['v2/applyment/micro/signcontract']->post([
'security' => true,
'xml' => [
],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
返回字典 | 类型 | 描述 |
---|
参阅 官方文档