Request
Endpoint: !getPostPaymentStatus
https://secure.trust-provider.com/products/!getPostPaymentStatus
Use the POST method for this endpoint.
Submit parameters in the x-www-form-urlencoded format.
Request parameters
The following table displays the required, optional, and conditional parameters.
| Parameter | Requirement | Type | Max.Length | Description |
|---|---|---|---|---|
|
required |
string |
64 chars |
Your account username. This value is case sensitive. |
|
requried |
string |
128 chars |
Your account password. This value is case sensitive. |
|
required |
string |
128 chars |
The order number of the certificate for which the post-payment page status needs to be retrieved. |
|
optional |
number |
16 digits |
The certificate ID. Not relevant for VMC/CMC. |
Sample request
curl --location 'https://secure.trust-provider.com/products/!getPostPaymentStatus' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'loginName=login_name' \ --data-urlencode 'loginPassword=login_password' \ --data-urlencode 'orderNumber=1234567'
Response
The response from getPostPaymentStatus is in JSON format.
The character encoding is charset=UTF-8.
Response parameters
The following table describes the parameters included in the response.
| Parameter | Type | Description |
|---|---|---|
|
integer |
A numeric code that identifies the type of error. For more information, see Error codes. |
|
string |
A description of the error. |
|
Object (PostPaymentData) |
Contains the description of statuses. |
Object (PostPaymentData) |
||
|
string |
The order number. |
|
integer |
The object type ID. |
|
string |
The product name. |
|
integer |
The certificate duration, in days. |
|
integer |
The product term, in days. |
|
string |
The URL to upload documents of the order. For more information, see Upload document. |
|
string |
The JSON Web Token (JWT) to upload a file. For more information, see Upload document. |
|
string |
The order status. The possible values are:
|
|
string |
Contains a common name for a single domain certificate. Contains static text 'Multiple domains' for MDC. |
|
string |
(MDC only) The primary domain name. |
|
integer |
(MDC only) The maximum number of domains that a certificate can contain. |
|
integer |
(MDC only) The maximum number of wildcard domains that a certificate can contain. |
|
integer |
(OV/EV only) The master account status. The possible values are:
|
|
Object (csrStatus) |
The CSR status detail. |
|
Object (dcvStatus) |
The DCV status detail. |
|
Object (agreementStatus) |
The agreement execution status detail. |
|
Object (callbackStatus) |
The callback status detail. |
|
Object (organizationStatus) |
The organization validation status detail. |
|
Object (secondApproval) |
The second approval status for the EV order. |
|
Object (fsupStatus) |
The fast service status. |
|
Object (caaCheckStatus) |
The CAA check status. |
Object (csrStatus) |
||
|
string |
The section title. |
|
string |
The general status of the CSR. The possible values are:
|
|
string |
The text of the description. |
|
array of string |
The actions available within Sectigo for the current status. |
Object (dcvStatus) |
||
|
string |
The section title. |
|
string |
The general DCV status. The possible values are:
|
|
string |
The text of the description. |
|
array of string |
The actions available within Sectigo for the current status. The possible values are:
|
|
Array of object (domainDescription) |
The list of domains. For single domain certificate the array contains one element only. |
|
string |
The MD5 CSR’s hash. |
|
string |
The SHA-256 CSR’s hash. |
|
string |
The unique request tokens. |
Object (agreementStatus) |
||
|
string |
The section title. |
|
string |
The general status of the agreement. The possible values are:
|
|
string |
The text of the description. |
|
string |
The actions available within Sectigo for the current status. The possible values are:
|
|
string |
The click-through agreement status. The possible values are:
|
|
string |
The EV subscriber agreement and certificate request form email address. |
|
date |
Specifies the date when the email was last sent. The format is |
|
date |
Specifies the date when the email was last open.
The format is |
Object (callbackStatus) |
||
|
string |
The section title. |
|
string |
The general status of the callback. The possible values are:
|
|
string |
The text of the description. |
|
string |
The callback phone number. |
|
array of string |
The actions available within Sectigo for the current status. The possible values are:
|
Object (organizationStatus) |
||
|
string |
The section title. |
|
string |
The general organization status. The possible values are:
|
|
string |
The text of the description. |
|
array of string |
The actions available within Sectigo for the current status. The possible value is |
|
Object (requirementStatus) |
(OV/EV only) The status of the organization name check. |
|
Object (requirementStatus) |
(EV only) The status of the legal existence check. |
|
Object (requirementStatus) |
(EV only) The status of the assumed name check. |
|
Object (requirementStatus) |
(EV only) The status of the physical existence check. |
|
Object (requirementStatus) |
(EV only) The status of the operational existence check. |
|
Object (requirementStatus) |
(OV/EV only) The status of the brand validation check. |
Object (secondApproval) |
||
|
string |
The section title. |
|
string |
The general status of the second approval. The possible values are:
|
|
string |
The text of the description. |
Object (fsupStatus) |
||
|
string |
The section title. |
|
string |
The general fast service status. The possible values are:
|
|
string |
The text of the description. |
Object (requirementStatus) |
||
|
string |
The section title. |
|
string |
The validation status. The possible values are:
|
|
string |
The text of the description. |
Object (domainDescription) |
||
|
string |
The section title. |
|
string |
The validation status. The possible values are:
|
|
string |
The selected DCV method. |
|
array of object (dcvMethod) |
The available DCV methods for a domain. |
Object (dcvMethod) |
||
|
string |
The method type. The possible values are:
|
|
string |
The method title. |
|
string |
The level of the email list. Applicable for |
|
string |
The selected DCV method. |
|
array of string |
Specific options for the method. If If
If If |
Object (caaCheckStatus) |
||
|
string |
The section title. |
|
string |
The check status. The possible values are:
|
|
Object (latestCAACheckErrors) |
The list of failed checks for the latest CAA check session. Displayed if |
Object (latestCAACheckErrors) |
||
|
date |
The date and time of the check. The format is |
|
string |
The fully qualified domain name (FQDN). |
|
string |
The domain name. |
|
string |
The check result. The possible values are:
|
Upload document
Sectigo allows the client to upload electronic copies of documents to speed up the process of company validation.
For these purposes, a separate API is created.
The JSON response contains the URL for this API in the uploadDocumentUrl attribute.
There is also the uploadDocumentToken attribute that contains a JWT that is used for authorization on the server side when using an upload document API.
The following is an example HTML form for uploading documents:
<form action="<uploadDocumentUrl>" method="POST" enctype="multipart/form-data">
<input type="hidden" name="token" value="<uploadDocumentToken>" />
<input type="hidden" name="successURL" value="<go to URL if successful>" />
<input type="hidden" name="errorURL" value="<go to URL if failed>" />
<br>Document: <input type="file" name="file" multiple/>
<br>
<br>Comment: <input type="text" name="comment" size=64/>
<br>
<br>
<input type="submit" value="Upload"/>
</form>
Sample successful response
{
"errorCode": 0,
"errorMessage": "",
"data": {
"orderNumber": 654824,
"productType": 410,
"productName": "COMODO EV Multi-Domain SSL Certificate",
"certificateDuration": 365,
"productTerm": 365,
"uploadDocumentUrl": "https://avspartners.sectigolabs.com/avs/ws/api/v002/order",
"uploadDocumentToken":
"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIvb3JkZXIvNjU0ODI0Iiwic2NvcGVzIjpbIlBPU1RfUEFZTUVOVF9QQUdFX1VTRVIiXSwiaXNzIjoiaHR0c
HM6Ly9hdnMuc2VjdGlnby5jb20iLCJpYXQiOjE1NzUyOTQxMjEsImV4cCI6MTU3NTMzNzMyMX0.UTeXiv1rmu-
75kgAvVjuVHW0TPTHRgu_krv4BvfrggFOGbe8dGcmt-0ufgOp0QKcF4eT0KXRx3gQVsy-56eeAQ",
"orderStatus": "Pending",
"domainName": "Multiple domains",
"primaryDomainName": "example.com",
"maxMDCDomains": 3,
"maxMDCWildcardDomains": 0,
"maStatus": -1,
"csrStatus": {
"title": "Submit your CSR",
"status": "Completed",
"description": "You have already submitted your CSR.",
"availableActions": [
"canReplaceCSR"
]
},
"dcvStatus": {
"title": "Domain Control Validation",
"status": "ActionRequired",
"MD5": "55F0233969C9C4325B1A19D4B357ED20",
"SHA256": "549B164F1F97EC4095C3FEF212F6B86016FF66F7F9115FFEBBD2AB796FF226A8",
"uniqueValue": "mTpFcIIg",
"description": "In order to verify your ownership of the domain in the application, it is mandatory to complete domain control validation.",
"domains": [
{
"domainName": "example.com",
"dcvStatus": "notCompleted",
"selectedMethod": "Not yet set",
"methods": [
{
"type": "email",
"title": "Alternative Email Addresses",
"level": 2,
"options": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
]
},
{
"type": "csrHash",
"title": "Alternative Methods",
"options": [
"CNAME CSR Hash",
"HTTP CSR Hash",
"HTTPS CSR Hash"
]
},
{
"type": "manual",
"title": "None of the above",
"options": [
"Manual"
]
}
]
},
{
"domainName": "example.org",
"dcvStatus": "notCompleted",
"selectedMethod": "Not yet set",
"methods": [
{
"type": "email",
"title": "Alternative Email Addresses",
"level": 2,
"options": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
]
},
{
"type": "csrHash",
"title": "Alternative Methods",
"options": [
"CNAME CSR Hash",
"HTTP CSR Hash",
"HTTPS CSR Hash"
]
},
{
"type": "manual",
"title": "None of the above",
"options": [
"Manual"
]
}
]
},
{
"domainName": "some.example.com",
"dcvStatus": "notCompleted",
"selectedMethod": "Not yet set",
"methods": [
{
"type": "email",
"title": "Alternative Email Addresses",
"level": 3,
"options": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
]
},
{
"type": "csrHash",
"title": "Alternative Methods",
"options": [
"CNAME CSR Hash",
"HTTP CSR Hash",
"HTTPS CSR Hash"
]
},
{
"type": "manual",
"title": "None of the above",
"options": [
"Manual"
]
}
]
}
],
"availableActions": [
"selectDCVMethod"
]
},
"agreementStatus": {
"title": "Agreement Execution",
"status": "Completed",
"clickThroughStatus": "Executed",
"clickThroughEmailAddress": "[email protected]",
"lastEmailSent": "2019-11-20",
"lastOpenDate": "2019-11-20"
},
"callbackStatus": {
"title": "Signer Verification",
"status": "InProgress",
"description": "Our validation staff are currently verifying the phone number used in your application.\nOnce this process is complete, you will
receive an email containing further instructions."
},
"organizationStatus": {
"title": "Organization Validation",
"status": "InProgress",
"description": "Our validation staff will now attempt to validate your organization by consulting various federal and business databases.\nIn most
cases this is a routine process that should be completed within a couple of working days.\nIf they cannot locate certain pieces of information about
your organization, they may contact you to request that you provide documentation.",
"organizationName": {
"title": "Organization name",
"status": "Unknown"
},
"legalExistence": {
"title": "Legal Existence",
"status": "Unknown"
},
"assumedName": {
"title": "Assumed Name",
"status": "Unknown"
},
"physicalExistence": {
"title": "Physical Existence",
"status": "Unknown"
},
"operationalExistence": {
"title": "Operational Existence",
"status": "Unknown"
},
"trademarkCheck": {
"title": "Trademark check",
"status": "NotApplicable"
}
},
"secondApprovalStatus": {
"title": "Second Approval",
"status": "Unknown"
},
"fsupStatus": {
"title": "Fast Service Certificate",
"status": "NotApplicable"
},
"caaCheckStatus":{
"title":"CAA Check",
"status":"ActionRequired",
"latestCAACheckErrors":[
{
"lookupDatetime":"2019-11-20 08:45:26",
"queriedFQDN":"example.com",
"domainName":"example.com",
"result":"Not Authorized"
},
{
"lookupDatetime":"2019-11-20 08:45:26",
"queriedFQDN":"example.org",
"domainName":"example.org",
"result":"Not Authorized"
}
]
}
}
}
Error codes
The following table outlines error responses returned by the getPostPaymentStatus API endpoint.
Each error response consists of an errorCode and an errorMessage indicating why the request failed.
| Error Code | Error Message | Description |
|---|---|---|
|
|
The request must use HTTPS protocol. |
|
|
The provided argument is not recognized. |
|
|
A required argument is missing from the request. |
|
|
The argument value does not meet validation requirements. |
|
|
An unknown error occurred. |
|
|
Authentication failed due to incorrect login details, a locked account, an expired password, or a blocked source IP address. |
|
|
The request method should be POST. |
|
|
The maximum number of allowed API requests has been exceeded. |