Processes ticket

Processes a ticket by the receiver.

post
Processes a ticket by the receiver.

https://wallet.vndc.io/run/tickets/{ticket}/process
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.
Query Parameters
orderId
optional
string
The order id given at ticket creation. Must be specified only if an orderId was given when the ticket was created.
Response
200: OK
The process result
{
"id": "string",
"ticketNumber": "string",
"actuallyProcessed": true,
"transaction": {
"id": "string",
"display": "string",
"transactionNumber": "string",
"ticketNumber": "string",
"date": "2020-05-30T10:33:47.900Z",
"amount": "string",
"fromKind": "system",
"fromUser": {
"id": "string",
"display": "string",
"shortDisplay": "string",
"image": {
"id": "string",
"name": "string",
"contentType": "string",
"length": 0,
"url": "string",
"width": 0,
"height": 0
}
},
"toKind": "system",
"toUser": {
"id": "string",
"display": "string",
"shortDisplay": "string",
"image": {
"id": "string",
"name": "string",
"contentType": "string",
"length": 0,
"url": "string",
"width": 0,
"height": 0
}
},
"type": {
"id": "string",
"name": "string",
"internalName": "string",
"from": {
"id": "string",
"name": "string",
"internalName": "string"
},
"to": {
"id": "string",
"name": "string",
"internalName": "string"
}
},
"currency": {
"id": "string",
"name": "string",
"internalName": "string",
"symbol": "string",
"prefix": "string",
"suffix": "string",
"transactionNumberPattern": "string",
"decimalDigits": 0
},
"description": "string",
"kind": "chargeback",
"authorizationStatus": "authorized"
}
}
500: Internal Server Error
If a payment error has occurred
{
"exceptionType": "string",
"exceptionMessage": "string",
"kind": "buyVoucher",
"currency": {
"id": "string",
"name": "string",
"internalName": "string",
"symbol": "string",
"prefix": "string",
"suffix": "string",
"transactionNumberPattern": "string",
"decimalDigits": 0
},
"maxAmount": "string",
"maxPayments": 0,
"posError": {
"exceptionType": "string",
"exceptionMessage": "string",
"kind": "buyVoucher",
"code": "payerInaccessiblePrincipal"
},
"code": "dailyAmountExceeded"
}