Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunTest3D/Finish3DProcessShortVersion | Test 3D |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class BorgunTest3DFinishProcessRequestShortVersion
{
var request:Borgun3DFinalRequestShortVersion? = null
var forcedPath:String? = null
var forcedJSONRequest:String? = null
var skipBorgunCall:Boolean? = null
}
open class Borgun3DFinalRequestShortVersion
{
var amount:Int? = null
var mpiToken:String? = null
var orderId:String? = null
var token:String? = null
}
open class BorgunTest3DFinishProcessResponse
{
var response:BorgunFinal3DResponse? = null
var statusCode:Int? = null
var message:String? = null
var forcedPath:String? = null
var forcedJSONRequest:String? = null
var jsonRequest:String? = null
var jsonResponse:String? = null
var requestPath:String? = null
var requestSent:String? = null
var requestReceived: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 BorgunTest3DFinishProcessRequestShortVersion DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/Finish3DProcessShortVersion HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
request:
{
amount: 0,
mpiToken: String,
orderId: String,
token: String
},
forcedPath: String,
forcedJSONRequest: String,
skipBorgunCall: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { response: { transactionId: String, transactionType: String, amount: 0, currency: String, transactionDate: 0001-01-01, 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 }, statusCode: 0, message: String, forcedPath: String, forcedJSONRequest: String, jsonRequest: String, jsonResponse: String, requestPath: String, requestSent: String, requestReceived: String }