证书订单状态
POST
/api/v1/collect
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
_format
string
必需
示例值:
json
v
string
可选
Body 参数application/json
orderId
string
证书订单Id
示例
{
"orderId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/collect?_format=json&v=' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderId": "string"
}'
返回响应
🟢200成功
application/json
Body
error
boolean
必需
status
string
必需
PENDING
COMPLETE
CANCELLED
EXPIRED
FAILED
message
object
必需
status_description
string
证书状态描述
productCode
string
证书的产品代码
price
integer
价格
dcvStatus
integer
必需
1 为完成验证
0 未完成
orderId
string
必需
API通过此ID 查询订单状态,以及相关操作
vendorId
string
必需
refundRequest
integer
必需
1 收到退款请求
refundStatus
integer
必需
0 没有退款
DCVdnsHost
string
DCV验证 主机名
DCVdnsValue
string
DCV验证 记录值
DCVdnsType
string
必需
DCVfileName
string
DCV验证 文件名
DCVfileContent
string
必需
beginDate
string
开始日期
endDate
string
结束日期
certificate
string
服务器证书代码
caCertificate
string
中间证书代码
rootCertificate
string
根证书代码
dcvList
array [object {11}]
可选
adminContact
object
申请人信息
techContact
object
必需
organizationContact
object
可选
示例
{
"error": false,
"status": "COMPLETE",
"message": {
"status_description": "string",
"productCode": "string",
"price": 198,
"dcvStatus": 1,
"orderId": "string",
"vendorId": "string",
"refundRequest": 0,
"refundStatus": 0,
"DCVdnsHost": "_e77cb81ca8e0dd02d71c7636c64ef292",
"DCVdnsValue": "b03fb333554436a1a75fcfac1b609f7e.25e79d058edc7046daa70e0fe0416fb8.apct4pzmuhduao8.sectigo.com",
"DCVdnsType": "CNAME",
"DCVfileName": "E77CB81CA8E0DD02D71C7636C64EF292.txt",
"DCVfileContent": "b03fb333554436a1a75fcfac1b609f7e25e79d058edc7046daa70e0fe0416fb8\nsectigo.com\napct4pzmuhduao8",
"beginDate": "1682467200",
"endDate": "1713311999",
"certificate": "string",
"caCertificate": "string",
"rootCertificate": "string",
"dcvList": [
{
"domainName": "my.your-domain.com",
"dcvMethod": "dns",
"dcvEmail": "",
"dcvStatus": "Completed",
"validationDomain": "_e77cb81ca8e0dd02d71c7636c64ef292.sslaaa.com",
"prefix": "_e77cb81ca8e0dd02d71c7636c64ef292",
"dnsType": "CNAME",
"dnsValue": "b03fb333554436a1a75fcfac1b609f7e.25e79d058edc7046daa70e0fe0416fb8.apct4pzmuhduao8.sectigo.com",
"filename": "",
"content": "",
"path": ""
}
],
"adminContact": {
"firstName": "Billy",
"lastName": "Lee",
"mobile": "13833333333",
"email": "ssl@your-domain.com",
"job": "经理"
},
"techContact": {
"firstName": "Billy",
"lastName": "Lee",
"mobile": "13833333333",
"email": "ssl@your-domain.com",
"job": "经理"
}
}
}
🟠400请求有误
🟠401没有权限
🟠400请求有误2
修改于 2024-09-11 13:33:03