Using Propaga API to cancel a transaction
If you want to cancel an order, you only need to call this endpoint
curl --request PUT \
--url https://staging-api.propaga.io/v1/transaction/{transactionId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"status": "cancel"
}'
To cancel a transaction, it must be in the on-hold status exclusively.