Skip to main content
PATCH
/
v2
/
support-tickets
/
{id}
/
comments
/
{comment_id}
cURL
curl --request PATCH \
  --url https://api.example.com/v2/support-tickets/{id}/comments/{comment_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ticket_type": "DISPUTE",
  "reason": "INCORRECT_AMOUNT",
  "description": "<string>",
  "resolution_note": "<string>"
}
'
{
  "id": 123,
  "created_by": {
    "id": 123,
    "username": "<string>",
    "email": "jsmith@example.com"
  },
  "status": "OPEN",
  "status_display": "<string>",
  "reason": "INCORRECT_AMOUNT",
  "reason_display": "<string>",
  "resolved_by": {
    "id": 123,
    "username": "<string>",
    "email": "jsmith@example.com"
  },
  "resolved_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "entities": [
    {
      "id": 123,
      "entity_type": "<string>",
      "entity_id": 1073741823
    }
  ],
  "comments": [
    {
      "id": 123,
      "author": {
        "id": 123,
        "username": "<string>",
        "email": "jsmith@example.com"
      },
      "content": "<string>",
      "sequence": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "ticket_type": "DISPUTE",
  "description": "<string>",
  "resolution_note": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

comment_id
string
required
Pattern: ^\d+$
id
integer
required

A unique integer value identifying this support ticket.

Body

ticket_type
enum<string>
  • DISPUTE - Dispute
  • SUPPORT - Support
  • INQUIRY - Inquiry
Available options:
DISPUTE,
SUPPORT,
INQUIRY
reason
enum<string>
  • INCORRECT_AMOUNT - Incorrect Amount
  • WRONG_VEHICLE - Wrong Vehicle
  • DUPLICATE_CHARGE - Duplicate Charge
  • NOT_MY_TOLL - Not My Toll
  • ALREADY_PAID - Already Paid
  • OTHER - Other
Available options:
INCORRECT_AMOUNT,
WRONG_VEHICLE,
DUPLICATE_CHARGE,
NOT_MY_TOLL,
ALREADY_PAID,
OTHER
description
string
resolution_note
string

Response

200 - application/json
id
integer
required
created_by
object
required
status
enum<string>
required
  • OPEN - Open
  • UNDER_REVIEW - Under Review
  • APPROVED - Approved
  • DENIED - Denied
  • CANCELLED - Cancelled
  • RESOLVED - Resolved
Available options:
OPEN,
UNDER_REVIEW,
APPROVED,
DENIED,
CANCELLED,
RESOLVED
status_display
string
required
reason
enum<string>
required
  • INCORRECT_AMOUNT - Incorrect Amount
  • WRONG_VEHICLE - Wrong Vehicle
  • DUPLICATE_CHARGE - Duplicate Charge
  • NOT_MY_TOLL - Not My Toll
  • ALREADY_PAID - Already Paid
  • OTHER - Other
Available options:
INCORRECT_AMOUNT,
WRONG_VEHICLE,
DUPLICATE_CHARGE,
NOT_MY_TOLL,
ALREADY_PAID,
OTHER
reason_display
string
required
resolved_by
object
required
resolved_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
entities
object[]
required
comments
object[]
required
ticket_type
enum<string>
  • DISPUTE - Dispute
  • SUPPORT - Support
  • INQUIRY - Inquiry
Available options:
DISPUTE,
SUPPORT,
INQUIRY
description
string
resolution_note
string