Source: https://usedataowl.com/docs/api/website/payments/delete
Markdown source: https://usedataowl.com/docs/api/website/payments/delete.md
Description: Remove one payment, for example a test charge.

# Delete a payment

`DELETE https://usedataowl.com/api/v1/payments?transaction_id=…`

```sh
curl -X DELETE "https://usedataowl.com/api/v1/payments?transaction_id=pi_test_123" \
  -H "Authorization: Bearer $DATASENSE_API_KEY"
```

Answers `{ "message": "Payment deleted", "transaction_id": "pi_test_123" }`. With an account token, add `websiteId` to the query.
