获取还款链接接口
服务商后台获取垫资的还款链接、线下向用户核实后,人工转发给还款的微信号;然后通过后台接口进行解约,让用户使用其他微信号重新签约。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
out_user_id | string | 商户用户ID |
organization_id | string | 机构id |
php
$instance->v3->offlineface->repaymentUrl->postAsync([
'json' => [
'out_user_id' => '',
'organization_id' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/offlineface/repayment-url')->postAsync([
'json' => [
'out_user_id' => '',
'organization_id' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/offlineface/repayment-url']->postAsync([
'json' => [
'out_user_id' => '',
'organization_id' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->offlineface->repaymentUrl->post([
'json' => [
'out_user_id' => '',
'organization_id' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/offlineface/repayment-url')->post([
'json' => [
'out_user_id' => '',
'organization_id' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/offlineface/repayment-url']->post([
'json' => [
'out_user_id' => '',
'organization_id' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
repayment_url | string | 还款链接 |
expire_at | string | 链接过期时间 |
参阅 官方文档