Skip to main content
DELETE
/
v1
/
transactions
/
{id}
Delete a transaction
curl --request DELETE \
  --url https://api.wellapp.ai/v1/transactions/{id} \
  --header 'Authorization: <authorization>'
{
  "errors": [
    {
      "id": "unauthorized",
      "status": "401",
      "code": "UNAUTHORIZED",
      "title": "Unauthorized",
      "detail": "Valid authentication credentials are required"
    }
  ]
}

Headers

Authorization
string
required

Bearer token for authentication

Path Parameters

id
string<uuid>
required

The unique identifier of the transaction to delete

Query Parameters

force
boolean
default:false

Force hard delete even for completed transactions (admin only)

Response

Transaction deleted successfully