| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /borgunTest3D/CompleteSaveCard | Test 3D - Complete Card Save After 3DS Challenge |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;
namespace TicketUserServices.ServiceModel
{
public partial class BorgunTest3DCompleteSaveCardRequest
{
public virtual string SessionId { get; set; }
public virtual string PARes { get; set; }
public virtual string CRes { get; set; }
public virtual string PAN { get; set; }
public virtual string CVC { get; set; }
public virtual string ForcedPath { get; set; }
public virtual string ForcedJSONRequest { get; set; }
public virtual bool? SkipBorgunCall { get; set; }
}
public partial class BorgunTest3DCompleteSaveCardResponse
{
public virtual int StatusCode { get; set; }
public virtual string Message { get; set; }
public virtual bool Success { get; set; }
public virtual string Token { get; set; }
public virtual string VirtualCardNumber { get; set; }
public virtual string CardType { get; set; }
public virtual bool? IsDebit { get; set; }
public virtual bool CardAlreadyExists { get; set; }
public virtual string ForcedPath { get; set; }
public virtual string ForcedJSONRequest { get; set; }
public virtual string JSONRequest { get; set; }
public virtual string JSONResponse { get; set; }
public virtual string RequestPath { get; set; }
public virtual string RequestSent { get; set; }
public virtual string RequestReceived { get; set; }
}
}
C# BorgunTest3DCompleteSaveCardRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<BorgunTest3DCompleteSaveCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<CRes>String</CRes>
<CVC>String</CVC>
<ForcedJSONRequest>String</ForcedJSONRequest>
<ForcedPath>String</ForcedPath>
<PAN>String</PAN>
<PARes>String</PARes>
<SessionId>String</SessionId>
<SkipBorgunCall>false</SkipBorgunCall>
</BorgunTest3DCompleteSaveCardRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <BorgunTest3DCompleteSaveCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <CardAlreadyExists>false</CardAlreadyExists> <CardType>String</CardType> <ForcedJSONRequest>String</ForcedJSONRequest> <ForcedPath>String</ForcedPath> <IsDebit>false</IsDebit> <JSONRequest>String</JSONRequest> <JSONResponse>String</JSONResponse> <Message>String</Message> <RequestPath>String</RequestPath> <RequestReceived>String</RequestReceived> <RequestSent>String</RequestSent> <StatusCode>0</StatusCode> <Success>false</Success> <Token>String</Token> <VirtualCardNumber>String</VirtualCardNumber> </BorgunTest3DCompleteSaveCardResponse>