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
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Imports BorgunRPGData

Namespace Global

    Namespace BorgunRPGData

        Public Partial Class Borgun3DFinal3DSecureInfo
            Public Overridable Property DataType As String
            Public Overridable Property MpiToken As String
        End Class

        Public Partial Class Borgun3DFinalPaymentMethodInfo
            Public Overridable Property PaymentType As String
            Public Overridable Property Token As String
        End Class

        Public Partial Class Borgun3DFinalRequest
            Public Overridable Property TransactionType As String
            Public Overridable Property Amount As Integer
            Public Overridable Property Currency As String
            Public Overridable Property TransactionDate As Nullable(Of Date)
            Public Overridable Property OrderId As String
            Public Overridable Property PaymentMethod As Borgun3DFinalPaymentMethodInfo
            Public Overridable Property ThreeDSecure As Borgun3DFinal3DSecureInfo
        End Class

        Public Partial Class Borgun3DSecureInfo
            Public Overridable Property SecurityLevelInd As String
            Public Overridable Property Xid As String
        End Class

        Public Partial Class BorgunFinal3DResponse
            Public Overridable Property TransactionId As String
            Public Overridable Property TransactionType As String
            Public Overridable Property Amount As Integer
            Public Overridable Property Currency As String
            Public Overridable Property TransactionDate As Date
            Public Overridable Property OorderId As String
            Public Overridable Property AuthCode As String
            Public Overridable Property ActionCode As String
            Public Overridable Property TransactionStatus As String
            Public Overridable Property PaymentMethod As BorgunPaymentMethodInfo
            Public Overridable Property ThreeDSecure As Borgun3DSecureInfo
            Public Overridable Property LifeCycleId As String
        End Class

        Public Partial Class BorgunPaymentMethodInfo
            Public Overridable Property PaymentType As String
            Public Overridable Property PAN As String
            Public Overridable Property Token As String
            Public Overridable Property CardType As String
            Public Overridable Property IsDebit As String
        End Class
    End Namespace

    Namespace TicketUserServices.ServiceModel

        Public Partial Class BorgunServices3DFinishProcessRequest
            Public Overridable Property Request As Borgun3DFinalRequest
        End Class

        Public Partial Class BorgunServices3DFinishProcessResponse
            Public Overridable Property Response As BorgunFinal3DResponse
            Public Overridable Property Success As Boolean
            Public Overridable Property HttpStatusCode As Integer
            Public Overridable Property Message As String
        End Class
    End Namespace
End Namespace

VB.NET 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"}