TicketUserServices

<back to all web services

BorgunTest3DSaveCardRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/SaveCardTest 3D - Save Card Enrollment Step
BorgunTest3DSaveCardRequest Parameters:
NameParameterData TypeRequiredDescription
RequestbodyBorgunTokenMultiRequestNo
PANbodystringNo
ExpMonthbodystringNo
ExpYearbodystringNo
CVCbodystringNo
PhoneVerificationNumberbodystringNo
DeviceIdbodystringNo
TermURLbodystringNo
ForcedPathbodystringNo
ForcedJSONRequestbodystringNo
SkipBorgunCallbodybool?No
BorgunTokenMultiRequest Parameters:
NameParameterData TypeRequiredDescription
PANformstringNo
ExpMonthformstringNo
ExpYearformstringNo
VerifyCardformBorgunVerifyCardRequestNo
MetadataformBorgunMetadataNo
BorgunVerifyCardRequest Parameters:
NameParameterData TypeRequiredDescription
CheckAmountformintNo
CurrencyformstringNo
CVCformstringNo
BorgunMetadata Parameters:
NameParameterData TypeRequiredDescription
PayloadformstringNo
BorgunTest3DSaveCardResponse Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
SuccessformboolNo
ChallengeRequiredformboolNo
SessionIdformstringNo
RedirectToACSFormformstringNo
RedirectToACSDataformList<BorgunMPIEnrollmentACSField>No
EnrollmentStatusformstringNo
MpiTokenformstringNo
ForcedPathformstringNo
ForcedJSONRequestformstringNo
JSONRequestformstringNo
JSONResponseformstringNo
RequestPathformstringNo
RequestSentformstringNo
RequestReceivedformstringNo
TokenformstringNo
VirtualCardNumberformstringNo
CardAlreadyExistsformboolNo
BorgunMPIEnrollmentACSField Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValuesformstringNo

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/SaveCard HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	request: 
	{
		pan: String,
		expMonth: String,
		expYear: String,
		verifyCard: 
		{
			checkAmount: 0,
			currency: String,
			cvc: String
		},
		metadata: 
		{
			payload: String
		}
	},
	pan: String,
	expMonth: String,
	expYear: String,
	cvc: String,
	phoneVerificationNumber: String,
	deviceId: String,
	termURL: String,
	forcedPath: String,
	forcedJSONRequest: String,
	skipBorgunCall: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	success: False,
	challengeRequired: False,
	sessionId: String,
	redirectToACSForm: String,
	redirectToACSData: 
	[
		{
			name: String,
			values: String
		}
	],
	enrollmentStatus: String,
	mpiToken: String,
	forcedPath: String,
	forcedJSONRequest: String,
	jsonRequest: String,
	jsonResponse: String,
	requestPath: String,
	requestSent: String,
	requestReceived: String,
	token: String,
	virtualCardNumber: String,
	cardAlreadyExists: False
}