Skip to main content
DELETE
/
v1
/
transactions
/
{key}
Delete transaction
curl --request DELETE \
  --url https://api.example.com/v1/transactions/{key}
{
  "status": 1
}

Endpoint

DELETE https://api.partnero.com/v1/transactions/{key}
Permanently deletes a transaction and reverses the associated commission. Use this to handle refunds and chargebacks.
This action is permanent and cannot be undone. If you need a reversible option, use archive instead.

Parameters

You can identify the transaction either by path parameter or request body:
ParameterLocationTypeDescription
keypathstringTransaction key in the URL path
keybodystringTransaction key in the JSON body

Request

curl --location --request DELETE 'https://api.partnero.com/v1/transactions/transaction_123' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "status": 1
}

Error responses

StatusErrorSolution
404Transaction not foundCheck the transaction key is correct
Implement transaction deletion to handle refunds and chargebacks from your payment provider. This ensures partner commissions are adjusted automatically.