🚀 New: Theme Control Plane API — build, customize, and deploy themes programmatically. Learn more →
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."
}
}Developer API operation for POST /dev/v1/orders//refund.
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."
}
}