Files
jnc-server/YunYinSignPay.json

411 lines
11 KiB
JSON
Raw Permalink Normal View History

2026-01-16 03:33:02 +08:00
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [],
"paths": {
"/service/getAccessToken": {
"post": {
"summary": "获取token",
"deprecated": false,
"description": "",
"tags": [],
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"appSecret": {
"type": "string"
}
},
"required": [
"appId",
"appSecret"
]
},
"example": {
"appId": "7226242043420468",
"appSecret": "ceac4dc740e3443bbb1433fbe9723326"
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/member/infoByCorpId": {
"post": {
"summary": "获取操作id",
"deprecated": false,
"description": "",
"tags": [],
"parameters": [
{
"name": "appId",
"in": "header",
"description": "",
"required": true,
"example": "7226242043420468",
"schema": {
"type": "string"
}
},
{
"name": "accessToken",
"in": "header",
"description": "",
"required": true,
"example": "8629c8131fd83e116fd5b2fd30c2d9383f5af181",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mobile": {
"type": "string"
}
},
"required": [
"mobile"
]
},
"example": {
"mobile": "18566214578"
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/signTask/startSignFlow": {
"post": {
"summary": "发起签署",
"deprecated": false,
"description": "",
"tags": [],
"parameters": [
{
"name": "appId",
"in": "header",
"description": "",
"required": true,
"example": " 7226242043420468",
"schema": {
"type": "string"
}
},
{
"name": "accessToken",
"in": "header",
"description": "",
"required": true,
"example": " 8629c8131fd83e116fd5b2fd30c2d9383f5af181",
"schema": {
"type": "string"
}
},
{
"name": "userId",
"in": "header",
"description": "",
"required": true,
"example": " 1460277348929680384",
"schema": {
"type": "string"
}
},
{
"name": "source",
"in": "header",
"description": "",
"required": true,
"example": " pc",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"example": " application/json",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"templateId": {
"type": "integer"
},
"templateName": {
"type": "string"
},
"autoFill": {
"type": "integer"
},
"sourceOrderCode": {
"type": "string"
},
"participantList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"participantFlag": {
"type": "string"
},
"psnAccount": {
"type": "string"
},
"psnName": {
"type": "string"
},
"participantCorpName": {
"type": "string"
},
"participantType": {
"type": "integer"
}
},
"required": [
"participantFlag",
"psnAccount",
"psnName",
"participantType"
]
}
},
"fillComponents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"componentKey": {
"type": "string"
},
"componentValue": {
"type": "string"
}
},
"required": [
"componentKey",
"componentValue"
]
}
}
},
"required": [
"templateId",
"templateName",
"autoFill",
"sourceOrderCode",
"participantList",
"fillComponents"
]
},
"example": {
"templateCode": "TP1461036991700317184",
"templateName": "信息服务授权书",
"autoFill": 1,
"sourceOrderCode": "Q_20260113123414384",
"participantList": [
{
"participantFlag": "签署方1",
"psnAccount": "18566214578",
"psnName": "陈立",
"participantCorpName": "海口开麦贸易有限公司",
"participantType": 1
},
{
"participantFlag": "签署方2",
"psnAccount": "18276151590",
"psnName": "张荣宏",
"participantType": 0,
"payeeContractFlag": 1,
"payee": {
"amount": 0.1,
"priority": "1"
}
}
]
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/signTask/contract/appletForParticipant": {
"post": {
"summary": "获取签署支付链接",
"deprecated": false,
"description": "",
"tags": [],
"parameters": [
{
"name": "appId",
"in": "header",
"description": "",
"required": true,
"example": " 7226242043420468",
"schema": {
"type": "string"
}
},
{
"name": "accessToken",
"in": "header",
"description": "",
"required": true,
"example": "8629c8131fd83e116fd5b2fd30c2d9383f5af181",
"schema": {
"type": "string"
}
},
{
"name": "userId",
"in": "header",
"description": "",
"required": true,
"example": " 1460277348929680384",
"schema": {
"type": "string"
}
},
{
"name": "source",
"in": "header",
"description": "",
"required": true,
"example": " pc",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"example": " application/json",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"participantId": {
"type": "string"
},
"type": {
"type": "integer"
}
},
"required": [
"participantId",
"type"
]
},
"example": {
"participantId": "1461532166079941632",
"type": 0
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [],
"security": []
}