CDD Engine Web Service v2.14.0.0

<back to all web services

AuthPlusRealtimeCheckDataRequest

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

public class dtos
{

    public static class AuthPlusRealtimeCheckDataRequest
    {
        public String ApplicationGUID = null;
        public Integer CSR = null;
        public ArrayList<OwnerDetails> Owners = null;
        
        public String getApplicationGUID() { return ApplicationGUID; }
        public AuthPlusRealtimeCheckDataRequest setApplicationGUID(String value) { this.ApplicationGUID = value; return this; }
        public Integer getCsr() { return CSR; }
        public AuthPlusRealtimeCheckDataRequest setCsr(Integer value) { this.CSR = value; return this; }
        public ArrayList<OwnerDetails> getOwners() { return Owners; }
        public AuthPlusRealtimeCheckDataRequest setOwners(ArrayList<OwnerDetails> value) { this.Owners = value; return this; }
    }

    public static class OwnerDetails
    {
        public Integer dayOfBirth = null;
        public Integer monthOfBirth = null;
        public Integer yearOfBirth = null;
        public Double ownershipPercentage = null;
        public AddressData homeAddress = null;
        public Boolean currentAddressLessThanThreeYears = null;
        public AddressData previousHomeAddress = null;
        public ContactNameData name = null;
        public Boolean director = null;
        public String nationality = null;
        public String position = null;
        public Integer timeAtHomeAddressYears = null;
        public Integer timeAtHomeAddressMonths = null;
        public String PrimaryPartyID = null;
        public ArrayList<IdentityVerificationDocuments> identityVerificationDocuments = null;
        
        public Integer getDayOfBirth() { return dayOfBirth; }
        public OwnerDetails setDayOfBirth(Integer value) { this.dayOfBirth = value; return this; }
        public Integer getMonthOfBirth() { return monthOfBirth; }
        public OwnerDetails setMonthOfBirth(Integer value) { this.monthOfBirth = value; return this; }
        public Integer getYearOfBirth() { return yearOfBirth; }
        public OwnerDetails setYearOfBirth(Integer value) { this.yearOfBirth = value; return this; }
        public Double getOwnershipPercentage() { return ownershipPercentage; }
        public OwnerDetails setOwnershipPercentage(Double value) { this.ownershipPercentage = value; return this; }
        public AddressData getHomeAddress() { return homeAddress; }
        public OwnerDetails setHomeAddress(AddressData value) { this.homeAddress = value; return this; }
        public Boolean isCurrentAddressLessThanThreeYears() { return currentAddressLessThanThreeYears; }
        public OwnerDetails setCurrentAddressLessThanThreeYears(Boolean value) { this.currentAddressLessThanThreeYears = value; return this; }
        public AddressData getPreviousHomeAddress() { return previousHomeAddress; }
        public OwnerDetails setPreviousHomeAddress(AddressData value) { this.previousHomeAddress = value; return this; }
        public ContactNameData getName() { return name; }
        public OwnerDetails setName(ContactNameData value) { this.name = value; return this; }
        public Boolean isDirector() { return director; }
        public OwnerDetails setDirector(Boolean value) { this.director = value; return this; }
        public String getNationality() { return nationality; }
        public OwnerDetails setNationality(String value) { this.nationality = value; return this; }
        public String getPosition() { return position; }
        public OwnerDetails setPosition(String value) { this.position = value; return this; }
        public Integer getTimeAtHomeAddressYears() { return timeAtHomeAddressYears; }
        public OwnerDetails setTimeAtHomeAddressYears(Integer value) { this.timeAtHomeAddressYears = value; return this; }
        public Integer getTimeAtHomeAddressMonths() { return timeAtHomeAddressMonths; }
        public OwnerDetails setTimeAtHomeAddressMonths(Integer value) { this.timeAtHomeAddressMonths = value; return this; }
        public String getPrimaryPartyID() { return PrimaryPartyID; }
        public OwnerDetails setPrimaryPartyID(String value) { this.PrimaryPartyID = value; return this; }
        public ArrayList<IdentityVerificationDocuments> getIdentityVerificationDocuments() { return identityVerificationDocuments; }
        public OwnerDetails setIdentityVerificationDocuments(ArrayList<IdentityVerificationDocuments> value) { this.identityVerificationDocuments = value; return this; }
    }

    public static class AddressData
    {
        public String address1 = null;
        public String address2 = null;
        public String address3 = null;
        public String postalCode = null;
        public String city = null;
        public String state = null;
        public String countryCode = null;
        
        public String getAddress1() { return address1; }
        public AddressData setAddress1(String value) { this.address1 = value; return this; }
        public String getAddress2() { return address2; }
        public AddressData setAddress2(String value) { this.address2 = value; return this; }
        public String getAddress3() { return address3; }
        public AddressData setAddress3(String value) { this.address3 = value; return this; }
        public String getPostalCode() { return postalCode; }
        public AddressData setPostalCode(String value) { this.postalCode = value; return this; }
        public String getCity() { return city; }
        public AddressData setCity(String value) { this.city = value; return this; }
        public String getState() { return state; }
        public AddressData setState(String value) { this.state = value; return this; }
        public String getCountryCode() { return countryCode; }
        public AddressData setCountryCode(String value) { this.countryCode = value; return this; }
    }

    public static class ContactNameData
    {
        public String title = null;
        public String firstName = null;
        public String middleName = null;
        public String lastName = null;
        
        public String getTitle() { return title; }
        public ContactNameData setTitle(String value) { this.title = value; return this; }
        public String getFirstName() { return firstName; }
        public ContactNameData setFirstName(String value) { this.firstName = value; return this; }
        public String getMiddleName() { return middleName; }
        public ContactNameData setMiddleName(String value) { this.middleName = value; return this; }
        public String getLastName() { return lastName; }
        public ContactNameData setLastName(String value) { this.lastName = value; return this; }
    }

    public static class IdentityVerificationDocuments
    {
        public String documentId = null;
        public String authenticity = null;
        
        public String getDocumentId() { return documentId; }
        public IdentityVerificationDocuments setDocumentId(String value) { this.documentId = value; return this; }
        public String getAuthenticity() { return authenticity; }
        public IdentityVerificationDocuments setAuthenticity(String value) { this.authenticity = value; return this; }
    }

}

Java AuthPlusRealtimeCheckDataRequest DTOs

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 /authplus/realtime HTTP/1.1 
Host: wpcdd-featuretest-ws.worldpay.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AuthPlusRealtimeCheckDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDD_Engine_WS.dto.Requests">
  <ApplicationGUID>String</ApplicationGUID>
  <CSR>0</CSR>
  <Owners xmlns:d2p1="http://schemas.datacontract.org/2004/07/CDD_Engine_DLL.DataObjects">
    <d2p1:OwnerDetails>
      <d2p1:PrimaryPartyID>String</d2p1:PrimaryPartyID>
      <d2p1:currentAddressLessThanThreeYears>false</d2p1:currentAddressLessThanThreeYears>
      <d2p1:dayOfBirth>0</d2p1:dayOfBirth>
      <d2p1:director>false</d2p1:director>
      <d2p1:homeAddress>
        <d2p1:address1>String</d2p1:address1>
        <d2p1:address2>String</d2p1:address2>
        <d2p1:address3>String</d2p1:address3>
        <d2p1:city>String</d2p1:city>
        <d2p1:countryCode>String</d2p1:countryCode>
        <d2p1:postalCode>String</d2p1:postalCode>
        <d2p1:state>String</d2p1:state>
      </d2p1:homeAddress>
      <d2p1:identityVerificationDocuments>
        <d2p1:IdentityVerificationDocuments>
          <d2p1:authenticity>String</d2p1:authenticity>
          <d2p1:documentId>String</d2p1:documentId>
        </d2p1:IdentityVerificationDocuments>
      </d2p1:identityVerificationDocuments>
      <d2p1:monthOfBirth>0</d2p1:monthOfBirth>
      <d2p1:name>
        <d2p1:firstName>String</d2p1:firstName>
        <d2p1:lastName>String</d2p1:lastName>
        <d2p1:middleName>String</d2p1:middleName>
        <d2p1:title>String</d2p1:title>
      </d2p1:name>
      <d2p1:nationality>String</d2p1:nationality>
      <d2p1:ownershipPercentage>0</d2p1:ownershipPercentage>
      <d2p1:position>String</d2p1:position>
      <d2p1:previousHomeAddress>
        <d2p1:address1>String</d2p1:address1>
        <d2p1:address2>String</d2p1:address2>
        <d2p1:address3>String</d2p1:address3>
        <d2p1:city>String</d2p1:city>
        <d2p1:countryCode>String</d2p1:countryCode>
        <d2p1:postalCode>String</d2p1:postalCode>
        <d2p1:state>String</d2p1:state>
      </d2p1:previousHomeAddress>
      <d2p1:timeAtHomeAddressMonths>0</d2p1:timeAtHomeAddressMonths>
      <d2p1:timeAtHomeAddressYears>0</d2p1:timeAtHomeAddressYears>
      <d2p1:yearOfBirth>0</d2p1:yearOfBirth>
    </d2p1:OwnerDetails>
  </Owners>
</AuthPlusRealtimeCheckDataRequest>