Skip to content

查询自动还款协议

使用服务商签约协议号查询自动还款协议详情

请求参数类型描述
out_contract_codestring服务商签约协议号
php
$instance->v3->creditRepayment->partner->contracts->_out_contract_code_->getAsync([
  'out_contract_code' => '100005698',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/credit-repayment/partner/contracts/{out_contract_code}')->getAsync([
  'out_contract_code' => '100005698',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/credit-repayment/partner/contracts/{out_contract_code}']->getAsync([
  'out_contract_code' => '100005698',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->creditRepayment->partner->contracts->_out_contract_code_->get([
  'out_contract_code' => '100005698',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/credit-repayment/partner/contracts/{out_contract_code}')->get([
  'out_contract_code' => '100005698',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/credit-repayment/partner/contracts/{out_contract_code}']->get([
  'out_contract_code' => '100005698',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
contract_idstring协议ID
plan_idstring模板ID
out_contract_codestring服务商签约协议号
display_namestring用户展示名称
contract_statestring协议状态
CONTRACT_STATE_INVALID | CONTRACT_STATE_EFFECTIVE | CONTRACT_STATE_TERMINATED 枚举值之一
contract_signed_timestring协议签署时间
contract_terminated_timestring协议解约时间
contract_termination_modestring协议解约方式
TERMINATION_MODE_INVALID | TERMINATION_MODE_BY_USER | TERMINATION_MODE_BY_MERCHANT | TERMINATION_MODE_BY_CUSTOMER_SERVICE 枚举值之一
contract_termination_remarkstring协议解约备注
repayment_dayinteger还款日

参阅 官方文档

Published on the GitHub by TheNorthMemory