POST | /authplus/submit |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CDD_Engine_WS.dto.Requests
Imports CDD_Engine_DLL.DataObjects
Namespace Global
Namespace CDD_Engine_DLL.DataObjects
Public Partial Class AddressData
Public Overridable Property address1 As String
Public Overridable Property address2 As String
Public Overridable Property address3 As String
Public Overridable Property postalCode As String
Public Overridable Property city As String
Public Overridable Property state As String
Public Overridable Property countryCode As String
End Class
Public Partial Class ContactNameData
Public Overridable Property title As String
Public Overridable Property firstName As String
Public Overridable Property middleName As String
Public Overridable Property lastName As String
End Class
Public Partial Class IdentityVerificationDocuments
Public Overridable Property documentId As String
Public Overridable Property authenticity As String
End Class
Public Partial Class OwnerDetails
Public Sub New()
identityVerificationDocuments = New List(Of IdentityVerificationDocuments)
End Sub
Public Overridable Property dayOfBirth As Integer
Public Overridable Property monthOfBirth As Integer
Public Overridable Property yearOfBirth As Integer
Public Overridable Property ownershipPercentage As Nullable(Of Double)
Public Overridable Property homeAddress As AddressData
Public Overridable Property currentAddressLessThanThreeYears As Boolean
Public Overridable Property previousHomeAddress As AddressData
Public Overridable Property name As ContactNameData
Public Overridable Property director As Boolean
Public Overridable Property nationality As String
Public Overridable Property position As String
Public Overridable Property timeAtHomeAddressYears As Nullable(Of Integer)
Public Overridable Property timeAtHomeAddressMonths As Nullable(Of Integer)
Public Overridable Property PrimaryPartyID As String
Public Overridable Property identityVerificationDocuments As List(Of IdentityVerificationDocuments)
End Class
End Namespace
Namespace CDD_Engine_WS.dto.Requests
Public Partial Class AuthPlusCheckDataRequest
Public Sub New()
Owners = New List(Of OwnerDetails)
End Sub
Public Overridable Property ApplicationGUID As String
Public Overridable Property CSR As Integer
Public Overridable Property Owners As List(Of OwnerDetails)
End Class
End Namespace
End Namespace
VB.NET AuthPlusCheckDataRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /authplus/submit HTTP/1.1
Host: wp-cddws-test.worldpay.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ApplicationGUID":"String","CSR":0,"Owners":[{"dayOfBirth":0,"monthOfBirth":0,"yearOfBirth":0,"ownershipPercentage":0,"homeAddress":{"address1":"String","address2":"String","address3":"String","postalCode":"String","city":"String","state":"String","countryCode":"String"},"currentAddressLessThanThreeYears":false,"previousHomeAddress":{"address1":"String","address2":"String","address3":"String","postalCode":"String","city":"String","state":"String","countryCode":"String"},"name":{"title":"String","firstName":"String","middleName":"String","lastName":"String"},"director":false,"nationality":"String","position":"String","timeAtHomeAddressYears":0,"timeAtHomeAddressMonths":0,"PrimaryPartyID":"String","identityVerificationDocuments":[{"documentId":"String","authenticity":"String"}]}]}