9406: Approve payment
Register the completed payment and complete the purchase.
Endpoint ID: | 9406 | ||
Method | PUT | ||
URL: | /lottery/payment/{orderID}/confirm | ||
orderID | GUID representing a purchase order | ||
Request body: | None | ||
Response body: | The relevant properties of the completed reservation and associated lottery. { "lottery": { "name": "Demo Lotteri", "drawDate": "2021-05-28T02:00:00", "quickdrawDeadline": "2021-05-23T02:00:00" }, "reservation": { "id": "abcdef-123cd", "size": 5, "price": 300 } } | ||
Status codes: | HttpStatusCode | ApiStatusSubCode | Description |
200 | Success | ||
404 | The orderID was not recognized |