post https://api.accelevents.com/rest/events//staff/refund/order/
This API used to refund ticketing order by id associated with the specified event.
To call this API, user have to pass query param with API URL like eventurl, orderId, Refund Information and authentication key to authenticate user.
Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
Attribute | Description |
---|---|
message | It's contains the message for response that can be use for display to end user. |
type | This field returns type of message like success or error. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Refund complete. |
201 | Created. |
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4030101 | Not staff User. |