EMUN1 ASP.NET

<back to all web services

PerformTokenAction

The following routes are available for this service:
All Verbs/service/PerformTokenAction
PerformTokenAction Parameters:
NameParameterData TypeRequiredDescription
TicketquerystringNo
ActionquerystringNo
DemoqueryboolNo
CCNumberquerystringNo
CCNamequerystringNo
CCAddress1querystringNo
CCAddress2querystringNo
CCCityquerystringNo
CCStatequerystringNo
CCZipcodequerystringNo
CCExpirationDatequerystringNo
CVVquerystringNo
EmunCustomerIDquerystringNo
CompanyNamequerystringNo
PhonequerystringNo
EmailquerystringNo
OrderNumberquerystringNo
Last4querystringNo
TokenquerystringNo
CCCustomerIDquerystringNo
CCCountryquerystringNo
PreviousTokenquerystringNo
CCExtraDataquerystringNo
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 .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/PerformTokenAction HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/csv
Content-Type: text/csv
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","emunCustomerID":"String","companyName":"String","phone":"String","email":"String","orderNumber":"String","last4":"String","token":"String","ccCustomerID":"String","ccCountry":"String","previousToken":"String","ccExtraData":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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