TicketUserServices

<back to all web services

BorgunTest3DEnrollmentRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/EnrollmentTest 3D
BorgunTest3DEnrollmentRequest Parameters:
NameParameterData TypeRequiredDescription
RequestbodyBorgun3DEnrollmentRequestNo
ForcedPathbodystringNo
ForcedJSONRequestbodystringNo
SkipBorgunCallbodybool?No
Borgun3DEnrollmentRequest Parameters:
NameParameterData TypeRequiredDescription
CardDetailsformBorgunPaymentRequestMethodNo
PurchAmountformintNo
Exponentformint?No
CurrencyformstringNo
TermURLformstringNo
TransactionDateformDateTimeNo
MDformstringNo
DescriptionformstringNo
BorgunPaymentRequestMethod Parameters:
NameParameterData TypeRequiredDescription
PaymentTypeformBorgunPaymentTypesNo
PANformstringNo
ExpYearformstringNo
ExpMonthformstringNo
CVC2formstringNo
TokenformstringNo
BorgunPaymentTypes Enum:
NameValue
Unknown1
Card2
TokenSingle3
TokenMulti4
BorgunTest3DEnrollmentResponse Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
ResponseformBorgun3DEnrollmentResponseNo
ForcedPathformstringNo
ForcedJSONRequestformstringNo
JSONRequestformstringNo
JSONResponseformstringNo
RequestPathformstringNo
RequestSentformstringNo
RequestReceivedformstringNo
Borgun3DEnrollmentResponse Parameters:
NameParameterData TypeRequiredDescription
ResultStatusformintNo
MessageIdformstringNo
EnrollmentStatusformstringNo
MdErrorMessageformstringNo
MdStatusformstringNo
RedirectToACSFormformstringNo
MDformstringNo
MpiTokenformstringNo
RedirectToACSDAtaformList<BorgunMPIEnrollmentACSField>No
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/Enrollment HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	request: 
	{
		cardDetails: 
		{
			paymentType: Unknown,
			pan: String,
			expYear: String,
			expMonth: String,
			cvC2: String,
			token: String
		},
		purchAmount: 0,
		exponent: 0,
		currency: String,
		termURL: String,
		transactionDate: 0001-01-01,
		md: String,
		description: String
	},
	forcedPath: String,
	forcedJSONRequest: String,
	skipBorgunCall: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	response: 
	{
		resultStatus: 0,
		messageId: String,
		enrollmentStatus: String,
		mdErrorMessage: String,
		mdStatus: String,
		redirectToACSForm: String,
		md: String,
		mpiToken: String,
		redirectToACSDAta: 
		[
			{
				name: String,
				values: String
			}
		]
	},
	forcedPath: String,
	forcedJSONRequest: String,
	jsonRequest: String,
	jsonResponse: String,
	requestPath: String,
	requestSent: String,
	requestReceived: String
}