Refund Order Payment
Refund a payment for an order
Overview
- Method: POST
- Path:
/pharmacy/orders/orders/refund-payment - Tags: pharmacy
Parameters
No parameters required.
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"success": true,
"orderId": "string",
"externalOrderId": "string",
"externalOrderSource": "string",
"paymentId": "string",
"refundId": "string",
"refundAmount": 123,
"refundedAt": "string",
"message": "string"
}400
Bad Request
Content Type: application/json
{}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/pharmacy/orders/orders/refund-payment \
-H "Content-Type: application/json" \