| GET | /api/v1/lastTransaction/{laneId} | Gets a last Financial Transaction Response based on laneId | Gets a last Financial Transaction Response based on laneId.See documentation for more information. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CardHolderPresentCode | form | CardHolderPresentCode? | No | Defines whether the cardholder is present at the transaction. This value is optional, but recommended to be set. If this value is not set in the request, it will be automatically set based on the market code.Allowable Values
|
| ClerkNumber | form | string | No | An optional clerk number for reference. |
| LaneId | form | int | No | Specifies which lane to use. |
| ReferenceNumber | form | string | No | A user defined reference number. |
| ShiftId | form | string | No | An optional shift id for reference. |
| TicketNumber | form | string | No | An optional ticket number. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Type | form | string | No | The type of object held in the result. |
| StatusMessage | form | string | No | A message describing the status of the last transaction. |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/LastTransactionRequest HTTP/1.1
Host: triposqa.vantiv.com
Content-Type: application/json
Content-Length: length
{"cardHolderPresentCode":"Default","clerkNumber":"String","laneId":0,"referenceNumber":"String","shiftId":"String","ticketNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"type":"String","statusMessage":"String"}