TicketUserServices

<back to all web services

BorgunTest3DVerificationRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/ResVerificationTest 3D
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BorgunResValidationResponse:
    x_id: Optional[str] = None
    md_status: Optional[str] = None
    md_error_message: Optional[str] = None
    enrollment_status: Optional[str] = None
    authentication_status: Optional[str] = None
    eci: Optional[str] = None
    cavv: Optional[str] = None
    cavv_algorithm: Optional[str] = None
    pa_res_verified: Optional[str] = None
    pa_res_syntax_o_k: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BorgunTest3DVerificationResponse:
    response: Optional[BorgunResValidationResponse] = None
    status_code: Optional[int] = None
    message: Optional[str] = None
    forced_path: Optional[str] = None
    forced_j_s_o_n_request: Optional[str] = None
    json_request: Optional[str] = None
    json_response: Optional[str] = None
    request_path: Optional[str] = None
    request_sent: Optional[str] = None
    request_received: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BorgunResValidationRequest:
    pa_res: Optional[str] = None
    c_res: Optional[str] = None
    md: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BorgunTest3DVerificationRequest:
    request: Optional[BorgunResValidationRequest] = None
    forced_path: Optional[str] = None
    forced_j_s_o_n_request: Optional[str] = None
    skip_borgun_call: Optional[bool] = None

Python BorgunTest3DVerificationRequest 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 /borgunTest3D/ResVerification HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<BorgunTest3DVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <ForcedJSONRequest>String</ForcedJSONRequest>
  <ForcedPath>String</ForcedPath>
  <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>
  <SkipBorgunCall>false</SkipBorgunCall>
</BorgunTest3DVerificationRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BorgunTest3DVerificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <ForcedJSONRequest>String</ForcedJSONRequest>
  <ForcedPath>String</ForcedPath>
  <JSONRequest>String</JSONRequest>
  <JSONResponse>String</JSONResponse>
  <Message>String</Message>
  <RequestPath>String</RequestPath>
  <RequestReceived>String</RequestReceived>
  <RequestSent>String</RequestSent>
  <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>
  <StatusCode>0</StatusCode>
</BorgunTest3DVerificationResponse>