TicketUserServices

<back to all web services

BorgunTest3DGetMultiTokenRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/Token/SingleTest 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 BorgunMetadata
            Public Overridable Property Payload As String
        End Class

        Public Partial Class BorgunTokenMultiInfo
            Public Overridable Property VirtualNumber As String
            Public Overridable Property Token As String
            Public Overridable Property PAN As String
            Public Overridable Property ExpYear As String
            Public Overridable Property ExpMonth As String
            Public Overridable Property Enabled As Boolean
            Public Overridable Property VerifyCardResult As BorgunVerifyCardResult
            Public Overridable Property Metadata As BorgunMetadata
        End Class

        Public Partial Class BorgunTokenMultiRequest
            Public Overridable Property PAN As String
            Public Overridable Property ExpMonth As String
            Public Overridable Property ExpYear As String
            Public Overridable Property VerifyCard As BorgunVerifyCardRequest
            Public Overridable Property Metadata As BorgunMetadata
        End Class

        Public Partial Class BorgunTokenMultiResponse
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Token As BorgunTokenMultiInfo
            Public Overridable Property Uri As String
            Public Overridable Property Message As String
        End Class

        Public Partial Class BorgunVerifyCardRequest
            Public Overridable Property CheckAmount As Integer
            Public Overridable Property Currency As String
            Public Overridable Property CVC As String
        End Class

        Public Partial Class BorgunVerifyCardResult
            Public Overridable Property TransactionId As String
            Public Overridable Property ActionCode As String
        End Class
    End Namespace

    Namespace TicketUserServices.ServiceModel

        Public Partial Class BorgunTest3DGetMultiTokenRequest
            Public Overridable Property Request As BorgunTokenMultiRequest
            Public Overridable Property ForcedPath As String
            Public Overridable Property ForcedJSONRequest As String
            Public Overridable Property SkipBorgunCall As Nullable(Of Boolean)
        End Class

        Public Partial Class BorgunTest3DGetMultiTokenResponse
            Public Overridable Property Response As BorgunTokenMultiResponse
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
            Public Overridable Property ForcedPath As String
            Public Overridable Property ForcedJSONRequest As String
            Public Overridable Property JSONRequest As String
            Public Overridable Property JSONResponse As String
            Public Overridable Property RequestPath As String
            Public Overridable Property RequestSent As String
            Public Overridable Property RequestReceived As String
        End Class
    End Namespace
End Namespace

VB.NET BorgunTest3DGetMultiTokenRequest DTOs

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

HTTP + CSV

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

POST /borgunTest3D/Token/Single HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"request":{"pan":"String","expMonth":"String","expYear":"String","verifyCard":{"checkAmount":0,"currency":"String","cvc":"String"},"metadata":{"payload":"String"}},"forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"response":{"statusCode":0,"token":{"virtualNumber":"String","token":"String","pan":"String","expYear":"String","expMonth":"String","enabled":false,"verifyCardResult":{"transactionId":"String","actionCode":"String"},"metadata":{"payload":"String"}},"uri":"String","message":"String"},"statusCode":0,"message":"String","forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}