Skip to main content
DELETE
/
transactions
/
{transactionId}
Cancel transaction
curl --request DELETE \
  --url https://api.fernhq.com/transactions/{transactionId} \
  --header 'Authorization: Bearer <token>'
{
"message": "Transaction cancelled successfully"
}

Authorizations

Authorization
string
header
required

To authenticate server-side requests

Path Parameters

transactionId
string<uuid>
required

Unique identifier of the transaction

Response

Schema for result message when cancelling a transaction

message
string
required

Message describing the result of the cancellation

Example:

"Transaction cancelled successfully"