Skip to main content
POST
/
dev
/
v1
/
subscriptions
/
{id}
/
refund
Refund subscription
curl --request POST \
  --url https://api.shoppex.io/dev/v1/subscriptions/{id}/refund \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "Customer requested refund after duplicate charge."
}
'
{
  "data": {
    "message": "Refund applied to balance."
  }
}

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

application/json

The body is of type object.

Response

200 - application/json

Successful response

data
object