Thanks for your comments and votes. I'm pleased to advise this is possible with the domainsync.php script. If a domain transfer is successfully completed when the domainsync.php script runs, it will change the domain's status to Active automatically.

If the transfer fails, the eNom API returns enough information for us to be able to send the "Domain Transfer Failed" email template when the domainsync script runs. This will contain the reason for the transfer failure.

The status remains Pending Transfer at this time on the assumption that the client will want to try the transfer again. Should they decide not to go ahead with it, the status could be changed manually to Cancelled.