TicketUserServices

<back to all web services

BorgunServices3DVerificationRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/3DResVerificationTest 3D
import 'package:servicestack/servicestack.dart';

class BorgunResValidationResponse implements IConvertible
{
    String? xId;
    String? mdStatus;
    String? mdErrorMessage;
    String? enrollmentStatus;
    String? authenticationStatus;
    String? eci;
    String? cavv;
    String? cavvAlgorithm;
    String? paResVerified;
    String? paResSyntaxOK;

    BorgunResValidationResponse({this.xId,this.mdStatus,this.mdErrorMessage,this.enrollmentStatus,this.authenticationStatus,this.eci,this.cavv,this.cavvAlgorithm,this.paResVerified,this.paResSyntaxOK});
    BorgunResValidationResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        xId = json['xId'];
        mdStatus = json['mdStatus'];
        mdErrorMessage = json['mdErrorMessage'];
        enrollmentStatus = json['enrollmentStatus'];
        authenticationStatus = json['authenticationStatus'];
        eci = json['eci'];
        cavv = json['cavv'];
        cavvAlgorithm = json['cavvAlgorithm'];
        paResVerified = json['paResVerified'];
        paResSyntaxOK = json['paResSyntaxOK'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'xId': xId,
        'mdStatus': mdStatus,
        'mdErrorMessage': mdErrorMessage,
        'enrollmentStatus': enrollmentStatus,
        'authenticationStatus': authenticationStatus,
        'eci': eci,
        'cavv': cavv,
        'cavvAlgorithm': cavvAlgorithm,
        'paResVerified': paResVerified,
        'paResSyntaxOK': paResSyntaxOK
    };

    getTypeName() => "BorgunResValidationResponse";
    TypeContext? context = _ctx;
}

class BorgunServices3DVerificationResponse implements IConvertible
{
    BorgunResValidationResponse? response;
    bool? success;
    int? httpStatusCode;
    String? message;

    BorgunServices3DVerificationResponse({this.response,this.success,this.httpStatusCode,this.message});
    BorgunServices3DVerificationResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        response = JsonConverters.fromJson(json['response'],'BorgunResValidationResponse',context!);
        success = json['success'];
        httpStatusCode = json['httpStatusCode'];
        message = json['message'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'response': JsonConverters.toJson(response,'BorgunResValidationResponse',context!),
        'success': success,
        'httpStatusCode': httpStatusCode,
        'message': message
    };

    getTypeName() => "BorgunServices3DVerificationResponse";
    TypeContext? context = _ctx;
}

class BorgunResValidationRequest implements IConvertible
{
    String? paRes;
    String? cRes;
    String? md;

    BorgunResValidationRequest({this.paRes,this.cRes,this.md});
    BorgunResValidationRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        paRes = json['paRes'];
        cRes = json['cRes'];
        md = json['md'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'paRes': paRes,
        'cRes': cRes,
        'md': md
    };

    getTypeName() => "BorgunResValidationRequest";
    TypeContext? context = _ctx;
}

class BorgunServices3DVerificationRequest implements IConvertible
{
    BorgunResValidationRequest? request;

    BorgunServices3DVerificationRequest({this.request});
    BorgunServices3DVerificationRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        request = JsonConverters.fromJson(json['request'],'BorgunResValidationRequest',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'request': JsonConverters.toJson(request,'BorgunResValidationRequest',context!)
    };

    getTypeName() => "BorgunServices3DVerificationRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: <String, TypeInfo> {
    'BorgunResValidationResponse': TypeInfo(TypeOf.Class, create:() => BorgunResValidationResponse()),
    'BorgunServices3DVerificationResponse': TypeInfo(TypeOf.Class, create:() => BorgunServices3DVerificationResponse()),
    'BorgunResValidationRequest': TypeInfo(TypeOf.Class, create:() => BorgunResValidationRequest()),
    'BorgunServices3DVerificationRequest': TypeInfo(TypeOf.Class, create:() => BorgunServices3DVerificationRequest()),
});

Dart BorgunServices3DVerificationRequest 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 /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>