I have developed a Payment Provider for the Windcave payment gateway.
The source for this can be found in GitHub in my repo named Demo.Windcave.
There is a wiki attached where I have tried to explain how it works and hopefully this will help someone else who is trying to understand how a payment provider works with U Commerce.
It is not a working example but a skeleton to help with understanding.
HTH.