TicketUserServices

<back to all web services

BorgunServices3DEnrollmentRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/3DEnrollment3DEnrollment
BorgunServices3DEnrollmentRequest Parameters:
NameParameterData TypeRequiredDescription
RequestbodyBorgun3DEnrollmentRequestNo
StatusCodebodyintNo
MessagebodystringNo
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
BorgunServices3DEnrollmentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseformBorgun3DEnrollmentResponseNo
SuccessformboolNo
HttpStatusCodeformintNo
MessageformstringNo
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 /borgunServices/3DEnrollment 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
	},
	statusCode: 0,
	message: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	response: 
	{
		resultStatus: 0,
		messageId: String,
		enrollmentStatus: String,
		mdErrorMessage: String,
		mdStatus: String,
		redirectToACSForm: String,
		md: String,
		mpiToken: String,
		redirectToACSDAta: 
		[
			{
				name: String,
				values: String
			}
		]
	},
	success: False,
	httpStatusCode: 0,
	message: String
}