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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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.bernhardt.com 
Accept: application/json
Content-Type: application/json
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: application/json
Content-Length: length

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