Skip to main content
POST
/
dev
/
v1
/
orders
/
{id}
/
refund
Refund order
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."
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.shoppex.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

amount
reason
string

Response

Successful response

data
object
required