Delete Transaction
DELETE /transactions/:id
Section titled “DELETE /transactions/:id”Cancel a pending transaction or delete a completed transaction record.
Path Parameters
Section titled “Path Parameters”id(string, required) - The transaction ID
Headers
Section titled “Headers”Authorization: Bearer YOUR_API_KEYResponse
Section titled “Response”{ "data": { "id": "txn_123abc", "deleted": true }, "status": "success"}Example
Section titled “Example”curl -X DELETE \ https://api.sapiom.com/v1/transactions/txn_123abc \ -H 'Authorization: Bearer YOUR_API_KEY'