Refund a ticket

POST
/tickets/{id}/refund

Marks the ticket refunded and dispatches ticket.refunded.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Authorization: Bearer hh_live_.... Create and revoke keys in Organizer → Settings → API. A key carries full access to its partner's data, including refunds and promo codes — treat it as a production credential and keep it server-side.

Path Parameters

id*string

Ticket id.

Formatuuid

Response Body

Refunded.

application/json
  1. response
data?
Example Request
curl -X POST 'https://hanghut.com/api/v1/tickets/497f6eca-6276-4993-bfeb-53cbbbba6f08/refund'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "status": "refunded"  }}