Are gateway plugins able to know when orders are cancelled?

Hi,

I'm developing a gateway plugin for credit card payments and I'd like plugin to send cancel requests to card manager when orders were cancelled.

Is there some way to implement such behavior?

Thanks in advance.