cURL
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" } ] }
Delete a specific transaction by its unique ID or perform a soft delete based on business rules.
Bearer token for authentication
The unique identifier of the transaction to delete
Force hard delete even for completed transactions (admin only)
Transaction deleted successfully