Cancel ticket

Cancels a ticket by the receiver.

post
Cancels a ticket by the receiver.

https://wallet.vndc.io/run/tickets/{ticket}/cancel
Cancels a ticket by the receiver before being approved by the payer. The logged user must be the ticket's owner.
Request
Response
Request
Path Parameters
ticket
required
string
The ticket number
Headers
Access-Client-Token
required
string
Authentication token to track down who is emptying our stocks.
Response
204: No Content
The ticket was canceled. Nothing is returned.
401: Unauthorized
Unauthorized access. Missing or invalid crendentials supplied for such operation
{
"missingSecondaryPassword": {
"id": "string",
"name": "string",
"internalName": "string",
"global": true,
"mode": "generated"
},
"secondaryDeviceAllowed": true,
"code": "blockedAccessClient",
"userStatus": "active",
"passwordStatus": "active"
}
403: Forbidden
Permission denied for such operation
{
"passwordType": {
"id": "string",
"name": "string",
"internalName": "string"
},
"maxDeviceActivationReached": true,
"code": "devicePinRemoved",
"invalidDeviceConfirmation": "invalidConfirmation"
}
404: Not Found
An expected data was not found
{
"entityType": "string",
"key": "string"
}
500: Internal Server Error
Unexpected error
{
"exceptionType": "string",
"exceptionMessage": "string",
"kind": "buyVoucher"
}