通过 OPT-IN 签署合同
请求
ENDPOINT
/debt/DEBT-KEY/signedMÉTODO
POST请求体
{
"type": "data_signature",
"signatures": [
{
"signed_object": {
"raw_text": "Lorem ipsum dolor sit amet, consectetur a...."
},
"authenticity": {
"timestamp": "1970-01-01 00:00:01",
"ip_address": "179.104.42.245",
"session_id": "ddb1d063-4fdf-4330-af9c-3316e9142ff3"
},
"signer": {
"name": "IVANILDO DE SENA LIMA",
"email": "ivanlima2604@gmail.com",
"phone": {
"country_code": "055",
"area_code": "11",
"number": "999999999"
},
"document_number": "61766976204"
},
"authentication_type": "opt-in"
}
]
}
路 径参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
debt_key * | string | 创建信贷操作时返回的债务密钥。 | - |
请求体参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
type * | string | 将要发送的签署类型。 | - |
signatures * | array of objects | 包含签署证明对象的列表——在签署类型为"data-signature"时发送。 | signatures 对象 |
signatures 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
signed_object | object | 包含正在签署文件的对象。 | signed_object 对象 |
authenticity | object | 包含认证数据的对象。 | authenticity 对象 |
signer | object | 包含签署人数据的对象。 | signer 对象 |
authentication_type * | string | 签署类型。 | - |
signed_object 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
raw_text * | string | 包含将要签署的合同数据的连续文本。 | - |
authenticity 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
timestamp * | string | 签署日期。 | - |
ip_address | string | 对于"opt-in"认证类型为必填字段,表示收集接受时的 IP 地址。 | - |
session_id | string | 签署时客户的会话标识 ID——必须可查询,会话证据须保存至少 5 年("opt-in"认证类型必填)。 | - |
geolocation | object | 可选地理位置字段。 | - |
signer 对象
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
name * | string | 签署人姓名。 | - |
email * | string |