TicketUserServices

<back to all web services

BorgunServicesGetSingleTokenRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/token/singleTest 3D
BorgunServicesGetSingleTokenRequest Parameters:
NameParameterData TypeRequiredDescription
RequestbodyBorgunTokenSingleRequestNo
BorgunTokenSingleRequest Parameters:
NameParameterData TypeRequiredDescription
PANformstringNo
ExpMonthformstringNo
ExpYearformstringNo
TokenLifetimeformintNo
VerifyCardformBorgunVerifyCardRequestNo
MetadataformBorgunMetadataNo
BorgunVerifyCardRequest Parameters:
NameParameterData TypeRequiredDescription
CheckAmountformintNo
CurrencyformstringNo
CVCformstringNo
BorgunMetadata Parameters:
NameParameterData TypeRequiredDescription
PayloadformstringNo
BorgunServicesGetSingleTokenResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformBorgunTokenSingleResponseNo
SuccessformboolNo
HttpStatusCodeformintNo
MessageformstringNo
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 /borgunServices/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
		}
	}
}
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
	},
	success: False,
	httpStatusCode: 0,
	message: String
}