<back to all web services
DocumentVerificationRequest
The following routes are available for this service:POST | /DocumentVerification/submit | | |
---|
DocumentVerificationRequest Parameters:Name | Parameter | Data Type | Required | Description |
---|
ApplicationGUID | body | string | Yes | |
Documents | body | List<DocumentData> | Yes | |
DocumentData Parameters:Name | Parameter | Data Type | Required | Description |
---|
DocumentType | form | string | No | |
FileName | form | string | No | |
FileData | form | string | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /DocumentVerification/submit HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<DocumentVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDD_Engine_WS.dto.Requests">
<ApplicationGUID>String</ApplicationGUID>
<Documents xmlns:d2p1="http://schemas.datacontract.org/2004/07/ThirdPartyServices_ClassLibraries.DocumentValidations">
<d2p1:DocumentData>
<d2p1:DocumentType>String</d2p1:DocumentType>
<d2p1:FileData>String</d2p1:FileData>
<d2p1:FileName>String</d2p1:FileName>
</d2p1:DocumentData>
</Documents>
</DocumentVerificationRequest>