Partner - Transaction API

Cancel transaction.

Cancels a specific transaction by ID and returns the cancelled transaction.


Open Swagger Specification

Endpoint

    POST - https://api.travisroadservices.com/partners/v1/transactions/{id}/cancel
    Copy
  

Path params

Parameter Type Description
id string Unique identifier of the transaction.

Header params

Parameter Type Description
location string Location ID of the requesting location.

Request body

Response body

Response 200

The transaction has been successfully cancelled.

Response 401

No response body - No bearer token set verify if your token is added as bearer token

Response 403

No response body - You don't have access to this API resource

Response 422

An error occurred

Fields

Field Type Description
status integer The HTTP status code (422).
violations array A list of constraint violations that caused the error.
detail string A human-readable description of the validation errors.
type string A URI reference identifying the validation error type.
title string A short summary of the error.
instance string A URI reference identifying the specific occurrence of the error.

Example