TicketUserServices

<back to all web services

BorgunServices3DFinishProcessRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/Finish3DProcessTest 3D
import java.math.*
import java.util.*
import net.servicestack.client.*


open class BorgunServices3DFinishProcessRequest
{
    var request:Borgun3DFinalRequest? = null
}

open class Borgun3DFinalRequest
{
    var transactionType:String? = null
    var amount:Int? = null
    var currency:String? = null
    var transactionDate:Date? = null
    var orderId:String? = null
    var paymentMethod:Borgun3DFinalPaymentMethodInfo? = null
    var threeDSecure:Borgun3DFinal3DSecureInfo? = null
}

open class Borgun3DFinalPaymentMethodInfo
{
    var paymentType:String? = null
    var token:String? = null
}

open class Borgun3DFinal3DSecureInfo
{
    var dataType:String? = null
    var mpiToken:String? = null
}

open class BorgunServices3DFinishProcessResponse
{
    var response:BorgunFinal3DResponse? = null
    var success:Boolean? = null
    var httpStatusCode:Int? = null
    var message:String? = null
}

open class BorgunFinal3DResponse
{
    var transactionId:String? = null
    var transactionType:String? = null
    var amount:Int? = null
    var currency:String? = null
    var transactionDate:Date? = null
    var oorderId:String? = null
    var authCode:String? = null
    var actionCode:String? = null
    var transactionStatus:String? = null
    var paymentMethod:BorgunPaymentMethodInfo? = null
    var threeDSecure:Borgun3DSecureInfo? = null
    var lifeCycleId:String? = null
}

open class BorgunPaymentMethodInfo
{
    var paymentType:String? = null
    var pan:String? = null
    var token:String? = null
    var cardType:String? = null
    var isDebit:String? = null
}

open class Borgun3DSecureInfo
{
    var securityLevelInd:String? = null
    var xid:String? = null
}

Kotlin BorgunServices3DFinishProcessRequest 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 /borgunServices/Finish3DProcess HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"request":{"transactionType":"String","amount":0,"currency":"String","transactionDate":"0001-01-01T00:00:00.0000000","orderId":"String","paymentMethod":{"paymentType":"String","token":"String"},"threeDSecure":{"dataType":"String","mpiToken":"String"}}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"response":{"transactionId":"String","transactionType":"String","amount":0,"currency":"String","transactionDate":"0001-01-01T00:00:00.0000000","oorderId":"String","authCode":"String","actionCode":"String","transactionStatus":"String","paymentMethod":{"paymentType":"String","pan":"String","token":"String","cardType":"String","isDebit":"String"},"threeDSecure":{"securityLevelInd":"String","xid":"String"},"lifeCycleId":"String"},"success":false,"httpStatusCode":0,"message":"String"}