Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Developer API operation for POST /dev/v1/orders//refund.
cURL
curl --request POST \ --url https://api.shoppex.io/dev/v1/orders/{id}/refund \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": "10.00", "reason": "Customer requested a partial refund" } '
{ "data": { "message": "Invoice refunded successfully." } }
Use your Shoppex API key in the Authorization header.
Successful response
Show child attributes