EMUN1 ASP.NET

<back to all web services

PerformCCAction

The following routes are available for this service:
All Verbs/service/PerformCCAction
PerformCCAction Parameters:
NameParameterData TypeRequiredDescription
TicketquerystringNo
ActionquerystringNo
DemoqueryboolNo
CCNumberquerystringNo
CCNamequerystringNo
CCAddress1querystringNo
CCAddress2querystringNo
CCCityquerystringNo
CCStatequerystringNo
CCZipcodequerystringNo
CCExpirationDatequerystringNo
CVVquerystringNo
CustomerIDquerystringNo
CompanyNamequerystringNo
PhonequerystringNo
EmailquerystringNo
OrderNumberquerystringNo
Last4querystringNo
TokenquerystringNo
AmountquerydoubleNo
PONumberquerystringNo
InvoiceNoquerystringNo
PreviousTransactionIDquerystringNo
ReferenceNumberquerystringNo
PaymentRequestResponse Parameters:
NameParameterData TypeRequiredDescription
TokenformstringNo
TransactionNoformstringNo
SuccessformboolNo
ErrorMSGformstringNo
CompleteXMLResponseformstringNo
ExtraDataformstring[]No

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 /service/PerformCCAction HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ticket: String,
	action: String,
	demo: False,
	ccNumber: String,
	ccName: String,
	ccAddress1: String,
	ccAddress2: String,
	ccCity: String,
	ccState: String,
	ccZipcode: String,
	ccExpirationDate: String,
	cvv: String,
	customerID: String,
	companyName: String,
	phone: String,
	email: String,
	orderNumber: String,
	last4: String,
	token: String,
	amount: 0,
	poNumber: String,
	invoiceNo: String,
	previousTransactionID: String,
	referenceNumber: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	token: String,
	transactionNo: String,
	success: False,
	errorMSG: String,
	completeXMLResponse: String,
	extraData: 
	[
		String
	]
}