TicketUserServices

<back to all web services

BorgunTest3DGetSingleTokenRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/Token/SingleTest 3D
BorgunTest3DGetSingleTokenRequest Parameters:
NameParameterData TypeRequiredDescription
RequestbodyBorgunTokenSingleRequestNo
ForcedPathbodystringNo
ForcedJSONRequestbodystringNo
SkipBorgunCallbodybool?No
BorgunTokenSingleRequest Parameters:
NameParameterData TypeRequiredDescription
PANformstringNo
ExpMonthformstringNo
ExpYearformstringNo
TokenLifetimeformintNo
VerifyCardformBorgunVerifyCardRequestNo
MetadataformBorgunMetadataNo
BorgunVerifyCardRequest Parameters:
NameParameterData TypeRequiredDescription
CheckAmountformintNo
CurrencyformstringNo
CVCformstringNo
BorgunMetadata Parameters:
NameParameterData TypeRequiredDescription
PayloadformstringNo
BorgunTest3DGetSingleTokenResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformBorgunTokenSingleResponseNo
StatusCodeformintNo
MessageformstringNo
ForcedPathformstringNo
ForcedJSONRequestformstringNo
JSONRequestformstringNo
JSONResponseformstringNo
RequestPathformstringNo
RequestSentformstringNo
RequestReceivedformstringNo
BorgunTokenSingleResponse Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
TokenformBorgunTokenSingleInfoNo
UriformstringNo
MessageformstringNo
BorgunTokenSingleInfo Parameters:
NameParameterData TypeRequiredDescription
VirtualNumberformstringNo
TokenformstringNo
PANformstringNo
ExpYearformstringNo
ExpMonthformstringNo
EnabledformboolNo
VerifyCardResultformBorgunVerifyCardResultNo
MetadataformBorgunMetadataNo
BorgunVerifyCardResult Parameters:
NameParameterData TypeRequiredDescription
TransactionIdformstringNo
ActionCodeformstringNo

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

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	request: 
	{
		pan: String,
		expMonth: String,
		expYear: String,
		tokenLifetime: 0,
		verifyCard: 
		{
			checkAmount: 0,
			currency: String,
			cvc: String
		},
		metadata: 
		{
			payload: String
		}
	},
	forcedPath: String,
	forcedJSONRequest: String,
	skipBorgunCall: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}