CDD Engine Web Service v2.14.0.0

<back to all web services

DocumentVerificationRequest

Requires Authentication
The following routes are available for this service:
POST/DocumentVerification/submit
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class DocumentVerificationRequest
    {
        public String ApplicationGUID = null;
        public ArrayList<DocumentData> Documents = null;
        
        public String getApplicationGUID() { return ApplicationGUID; }
        public DocumentVerificationRequest setApplicationGUID(String value) { this.ApplicationGUID = value; return this; }
        public ArrayList<DocumentData> getDocuments() { return Documents; }
        public DocumentVerificationRequest setDocuments(ArrayList<DocumentData> value) { this.Documents = value; return this; }
    }

    public static class DocumentData
    {
        public String DocumentType = null;
        public String FileName = null;
        public String FileData = null;
        
        public String getDocumentType() { return DocumentType; }
        public DocumentData setDocumentType(String value) { this.DocumentType = value; return this; }
        public String getFileName() { return FileName; }
        public DocumentData setFileName(String value) { this.FileName = value; return this; }
        public String getFileData() { return FileData; }
        public DocumentData setFileData(String value) { this.FileData = value; return this; }
    }

}

Java DocumentVerificationRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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: wpcdd-featuretest-ws.worldpay.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ApplicationGUID: String,
	Documents: 
	[
		{
			DocumentType: String,
			FileName: String,
			FileData: String
		}
	]
}