TicketUserServices

<back to all web services

BorgunTest3DCompleteSaveCardRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/CompleteSaveCardTest 3D - Complete Card Save After 3DS Challenge
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 BorgunTest3DCompleteSaveCardResponse:
    status_code: Optional[int] = None
    message: Optional[str] = None
    success: Optional[bool] = None
    token: Optional[str] = None
    virtual_card_number: Optional[str] = None
    card_type: Optional[str] = None
    is_debit: Optional[bool] = None
    card_already_exists: Optional[bool] = 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 BorgunTest3DCompleteSaveCardRequest:
    session_id: Optional[str] = None
    pa_res: Optional[str] = None
    c_res: Optional[str] = None
    pan: Optional[str] = None
    cvc: Optional[str] = None
    forced_path: Optional[str] = None
    forced_j_s_o_n_request: Optional[str] = None
    skip_borgun_call: Optional[bool] = None

Python BorgunTest3DCompleteSaveCardRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /borgunTest3D/CompleteSaveCard HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"sessionId":"String","paRes":"String","cRes":"String","pan":"String","cvc":"String","forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"statusCode":0,"message":"String","success":false,"token":"String","virtualCardNumber":"String","cardType":"String","isDebit":false,"cardAlreadyExists":false,"forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}