Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunServices/3DResVerification | Test 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 .csv suffix or ?format=csv
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: text/csv
Content-Type: text/csv
Content-Length: length
{"request":{"paRes":"String","cRes":"String","md":"String"}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"response":{"xId":"String","mdStatus":"String","mdErrorMessage":"String","enrollmentStatus":"String","authenticationStatus":"String","eci":"String","cavv":"String","cavvAlgorithm":"String","paResVerified":"String","paResSyntaxOK":"String"},"success":false,"httpStatusCode":0,"message":"String"}