Paid ticket endpoint

POST `/be/tickets/{identifier}/paid` endpoint

identifier - this could be either ticket id or ticket code.

Will set ticket status to open.

Response status codes:

Status Code
Interpretation

200

OK - Everything worked as expected

400

403

Forbidden. You do not have access for such request

Error response (status=400):

{
    "code": 100,
    "message": "{feature} feature not implemented yet"
}

Error response (status=400):

{
    "code": 102,
    "message": "Ticket with `{ticket-id}` identifier is not found"
}

Error response (status=400):

{
    "code": 117,
    "message": "Ticket has to have `reserved` status in order to do this action"
}

Last updated