Endpoint: !getPostPaymentStatus
The getPostPaymentStatus API action allows you to retrieve a detailed Validation Manager page state for the orders.
This information can be used to implement a similar page on your side if needed.
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. |
|
required |
string |
128 chars |
Your account password. This value is case sensitive. |
|
required |
number |
128 chars |
The order number of the certificate for which the post-payment page status needs to be retrieved. |
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 |
|---|---|---|
|
number/string |
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. |
|
number |
The object type ID. |
|
string |
The product name. |
|
number |
The certificate duration, in days. |
|
number |
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 |
For a single domain the certificate contains a common name. For multi-domain the certificate contains a static text 'Multiple domains'. |
|
string |
(Multi-domain only) The primary domain name. |
|
number |
(Multi-domain only) The maximum number of domains that a certificate can contain. |
|
number |
(Multi-domain only) The maximum number of wildcard domains that a certificate can contain. |
|
number |
The master account status. The possible values are:
|
|
Object ( |
The CSR status detail. |
|
Object ( |
The DCV status detail. |
|
Object ( |
The agreement execution status detail. |
|
Object ( |
The callback status detail. |
|
Object ( |
The organization validation status detail. |
|
Object ( |
The second approval status for the EV order. |
|
Object (fsupStatus) |
The fast service status. |
|
Object ( |
The Certification Authority Authorization (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. The possible values are:
|
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 ( |
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. |
|
array of 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 ( |
The status of the organization name check. |
|
Object ( |
The status of the legal existence check. |
|
Object ( |
The status of the assumed name check. |
|
Object ( |
The status of the physical existence check. |
|
Object ( |
The status of the operational existence check. |
|
Object ( |
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. |
|
number |
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:
|
|
Array of object ( |
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 success response
{
"errorCode": 0,
"errorMessage": "",
"data": {
"orderNumber": "yourOrderNumber",
"productType": 801,
"productName": "Verified Mark Certificate (VMC)",
"certificateDuration": 365,
"productTerm": 365,
"orderStatus": "Pending",
"domainName": "Multiple domains",
"maxMDCDomains": 2,
"csrStatus": {
"title": "Submit your CSR",
"status": "Completed",
"description": "You have already submitted your CSR."
},
"agreementStatus": {
"title": "Agreement Execution",
"status": "ActionRequired",
"clickThroughStatus": "notExecuted",
"clickThroughEmailAddress": "",
"lastEmailSent": "2025-06-11",
"lastOpenDate": "2025-06-12",
"availableActions": [
"canUpdateEmailAddress",
"resendAgreementEmail"
]
},
"callbackStatus": {
"title": "Order Authorization",
"status": "NotApplicable"
},
"organizationStatus": {
"title": "Organization Validation",
"status": "NotApplicable"
},
"secondApprovalStatus": {
"title": "Second Approval",
"status": "NotApplicable"
},
"fsupStatus": {
"title": "Fast Service Certificate",
"status": "NotApplicable"
},
"caaCheckStatus": {
"title": "CAA Check",
"status": "NotApplicable"
}
}
}
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. |