All Verbs | /service/PerformTokenAction |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ticket | query | string | No | |
Action | query | string | No | |
Demo | query | bool | No | |
CCNumber | query | string | No | |
CCName | query | string | No | |
CCAddress1 | query | string | No | |
CCAddress2 | query | string | No | |
CCCity | query | string | No | |
CCState | query | string | No | |
CCZipcode | query | string | No | |
CCExpirationDate | query | string | No | |
CVV | query | string | No | |
EmunCustomerID | query | string | No | |
CompanyName | query | string | No | |
Phone | query | string | No | |
query | string | No | ||
OrderNumber | query | string | No | |
Last4 | query | string | No | |
Token | query | string | No | |
CCCustomerID | query | string | No | |
CCCountry | query | string | No | |
PreviousToken | query | string | No | |
CCExtraData | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Token | form | string | No | |
TransactionNo | form | string | No | |
Success | form | bool | No | |
ErrorMSG | form | string | No | |
CompleteXMLResponse | form | string | No | |
ExtraData | form | string[] | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/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,
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/jsv Content-Length: length { token: String, transactionNo: String, success: False, errorMSG: String, completeXMLResponse: String, extraData: [ String ] }