DELETE | /api/v1/authorization/{laneId} | Cancels an in-progress authorization transaction | A DELETE request sent to the authorization endpoint cancels an in-progress authorization transaction on the specified lane. Currently, this is only valid for Mobile devices. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LaneId | path | int | Yes | Specifies which lane to use. |
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/CancelAuthorizationRequest HTTP/1.1
Host: triposqa.vantiv.com
Content-Type: application/json
Content-Length: length
{"laneId":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"authorizationCancelled":false,"_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"}]}