Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunServices/3DResVerification | Test 3D |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BorgunServices3DVerificationRequest
{
public BorgunResValidationRequest request = null;
public BorgunResValidationRequest getRequest() { return request; }
public BorgunServices3DVerificationRequest setRequest(BorgunResValidationRequest value) { this.request = value; return this; }
}
public static class BorgunResValidationRequest
{
public String paRes = null;
public String cRes = null;
public String md = null;
public String getPaRes() { return paRes; }
public BorgunResValidationRequest setPaRes(String value) { this.paRes = value; return this; }
public String getCRes() { return cRes; }
public BorgunResValidationRequest setCRes(String value) { this.cRes = value; return this; }
public String getMd() { return md; }
public BorgunResValidationRequest setMd(String value) { this.md = value; return this; }
}
public static class BorgunServices3DVerificationResponse
{
public BorgunResValidationResponse response = null;
public Boolean success = null;
public Integer httpStatusCode = null;
public String message = null;
public BorgunResValidationResponse getResponse() { return response; }
public BorgunServices3DVerificationResponse setResponse(BorgunResValidationResponse value) { this.response = value; return this; }
public Boolean isSuccess() { return success; }
public BorgunServices3DVerificationResponse setSuccess(Boolean value) { this.success = value; return this; }
public Integer getHttpStatusCode() { return httpStatusCode; }
public BorgunServices3DVerificationResponse setHttpStatusCode(Integer value) { this.httpStatusCode = value; return this; }
public String getMessage() { return message; }
public BorgunServices3DVerificationResponse setMessage(String value) { this.message = value; return this; }
}
public static class BorgunResValidationResponse
{
public String xId = null;
public String mdStatus = null;
public String mdErrorMessage = null;
public String enrollmentStatus = null;
public String authenticationStatus = null;
public String eci = null;
public String cavv = null;
public String cavvAlgorithm = null;
public String paResVerified = null;
public String paResSyntaxOK = null;
public String getXId() { return xId; }
public BorgunResValidationResponse setXId(String value) { this.xId = value; return this; }
public String getMdStatus() { return mdStatus; }
public BorgunResValidationResponse setMdStatus(String value) { this.mdStatus = value; return this; }
public String getMdErrorMessage() { return mdErrorMessage; }
public BorgunResValidationResponse setMdErrorMessage(String value) { this.mdErrorMessage = value; return this; }
public String getEnrollmentStatus() { return enrollmentStatus; }
public BorgunResValidationResponse setEnrollmentStatus(String value) { this.enrollmentStatus = value; return this; }
public String getAuthenticationStatus() { return authenticationStatus; }
public BorgunResValidationResponse setAuthenticationStatus(String value) { this.authenticationStatus = value; return this; }
public String getEci() { return eci; }
public BorgunResValidationResponse setEci(String value) { this.eci = value; return this; }
public String getCavv() { return cavv; }
public BorgunResValidationResponse setCavv(String value) { this.cavv = value; return this; }
public String getCavvAlgorithm() { return cavvAlgorithm; }
public BorgunResValidationResponse setCavvAlgorithm(String value) { this.cavvAlgorithm = value; return this; }
public String getPaResVerified() { return paResVerified; }
public BorgunResValidationResponse setPaResVerified(String value) { this.paResVerified = value; return this; }
public String getPaResSyntaxOK() { return paResSyntaxOK; }
public BorgunResValidationResponse setPaResSyntaxOK(String value) { this.paResSyntaxOK = value; return this; }
}
}
Java BorgunServices3DVerificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunServices/3DResVerification HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunServices3DVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Request xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
<d2p1:CRes>String</d2p1:CRes>
<d2p1:MD>String</d2p1:MD>
<d2p1:PaRes>String</d2p1:PaRes>
</Request>
</BorgunServices3DVerificationRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <BorgunServices3DVerificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <HttpStatusCode>0</HttpStatusCode> <Message>String</Message> <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData"> <d2p1:AuthenticationStatus>String</d2p1:AuthenticationStatus> <d2p1:CAVV>String</d2p1:CAVV> <d2p1:CAVVAlgorithm>String</d2p1:CAVVAlgorithm> <d2p1:ECI>String</d2p1:ECI> <d2p1:EnrollmentStatus>String</d2p1:EnrollmentStatus> <d2p1:MdErrorMessage>String</d2p1:MdErrorMessage> <d2p1:MdStatus>String</d2p1:MdStatus> <d2p1:PAResSyntaxOK>String</d2p1:PAResSyntaxOK> <d2p1:PAResVerified>String</d2p1:PAResVerified> <d2p1:XId>String</d2p1:XId> </Response> <Success>false</Success> </BorgunServices3DVerificationResponse>