triPOS REST API

<back to all web services

GetLaneSignatureRequest

The following routes are available for this service:
GET/api/v1/signature/{laneId}Displays the specified signature formUse the signature endpoint to get a cardholder signature via the pinpad. See signature documentation for more information.
GetLaneSignatureRequest Parameters:
NameParameterData TypeRequiredDescription
LaneIdpathintYesThe lane ID.
HeaderquerystringNoThe header text to display to the cardholder.
SubHeaderquerystringNoThe subheader text to display to the cardholder.
TextquerystringNoThe text to display to the cardholder.
FormquerystringYesThe signature form to display. Options are 'simple' and 'contract'. more »
GotoIdlequeryboolNo
GetLaneSignatureResponse Parameters:
NameParameterData TypeRequiredDescription
LaneIdformintNoThe lane ID.
SignatureformSignatureNoSignature data returned from the pinpad.
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.
Signature Parameters:
NameParameterData TypeRequiredDescription
SignatureDataformbyte[]NoThe byte array of the signature in the format specified by Format.
SignatureFormatformstringNoThe format of the signature.

Allowable Values

  • PointsLittleEndian
  • PointsBigEndian
  • Ascii3Byte
SignatureStatusCodeformSignatureStatusCodeNoIndicates why a signature is or is not present.

Allowable Values

  • Unknown
  • SignatureRequired
  • SignaturePresent
  • SignatureRequiredCancelledByCardholder
  • SignatureRequiredNotSupportedByPinPad
  • SignatureRequiredPinPadError
  • SignatureNotRequiredByThresholdAmount
  • SignatureNotRequiredByPaymentType
  • SignatureNotRequiredByTransactionType
  • SignatureRequiredButPromptSuppressedByMerchant
  • SignatureNotRequiredByUnattendedPinPad

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

{"laneId":0,"header":"String","subHeader":"String","text":"String","form":"String","gotoIdle":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"laneId":0,"signature":{"data":"AA==","format":"String","statusCode":"Unknown"},"_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"}]}