Create a Refund
Initiates a refund process for a previously completed transaction.
The POS application uses this endpoint to request a refund,
which will then require action on the SmartPOS device specified by pos_uuid
.
Path Parameters |
---|
pos_uuid uuid — REQUIREDUnique identifier of the Point of Sale (SmartPOS). |
Request Body — REQUIRED Details for the refund request. |
---|
payment_intent uuid — REQUIREDUnique identifier of the payment intent. |
Responses | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201 Refund Process Initiated Successfully
| |||||||||||||||||||
400 Bad Request (e.g., missing data, invalid format) | |||||||||||||||||||
404 Point of Sale or Parent Transaction Not Found | |||||||||||||||||||
422 Unprocessable Entity (e.g., business rule violation, transaction not eligible for refund) |