Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunServices/3DResVerification | Test 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 BorgunServices3DVerificationResponse:
response: Optional[BorgunResValidationResponse] = None
success: Optional[bool] = None
http_status_code: Optional[int] = None
message: 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 BorgunServices3DVerificationRequest:
request: Optional[BorgunResValidationRequest] = None
Python 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"}