triPOS REST API

<back to all web services

PinPadSelectionRequest

The following routes are available for this service:
GET/api/v1/pinPadSelectionPrompt[Deprecated] Displays a custom PIN pad prompt with custom selection options
PinPadSelectionRequest Parameters:
NameParameterData TypeRequiredDescription
LaneIdquerystringYesThe lane ID.
PromptTextquerystringNoThe text to display to the cardholder.
MultiLinePromptTextquerystringNoThe list of individual lines of text to be displayed on the PIN pad.
OptionsquerystringYesThe options to provide to the cardholder. Separate each option with a pipe '|' (e.g. options=one|two|three)
PinPadSelectionResponse Parameters:
NameParameterData TypeRequiredDescription
SelectionIndexformintNoThe zero-based index of the option that the cardholder selected. The first option you pass in will be considered option 0.
ApiResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorsformList<ApiError>NoA list of errors that occurred.
HasErrorsformboolNoIndicates if there are errors.
LinksformIEnumerable<ApiLink>NoA list of resource links
LogsformList<string>NoA list of log entries detailing what happened during the request. Ideally only used during development or troubleshooting as this can be quite verbose.
TypeformstringNoThe type of object held in the result.
WarningsformList<ApiWarning>NoA list of warnings that occurred.
ApiError Parameters:
NameParameterData TypeRequiredDescription
UserMessageformstringNoAn error message targeted at the end user of the integrated business application.
DeveloperMessageformstringNoAn error message targeted at the developer of the integrated business application.
ErrorTypeformstringNoCode associated with the error if it exists.
ExceptionMessageformstringNoThe body of the exception message.
ExceptionTypeFullNameformstringNoThe full name of the exception.
ExceptionTypeShortNameformstringNoThe short name of the exception.
ApiLink Parameters:
NameParameterData TypeRequiredDescription
HrefformstringNoA target (a URI)
MethodformstringNoThe HTTP method to access the HREF target
RelationformstringNoThe relation aka. 'rel' (the name of the link)
ApiWarning Parameters:
NameParameterData TypeRequiredDescription
DeveloperMessageformstringNoA warning message targeted at the developer of the integrated business application.
UserMessageformstringNoA warning message targeted at the end user of the integrated business application.

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 /json/reply/PinPadSelectionRequest HTTP/1.1 
Host: triposqa.vantiv.com 
Content-Type: application/json
Content-Length: length

{"laneId":0,"promptText":"String","multiLinePromptText":"String","options":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"selectionIndex":0,"_errors":[{"userMessage":"String","developerMessage":"String","errorType":"String","exceptionMessage":"String","exceptionTypeFullName":"String","exceptionTypeShortName":"String"}],"_hasErrors":true,"_links":[],"_logs":["String"],"_type":"String","_warnings":[{"developerMessage":"String","userMessage":"String"}]}