CRM-12984  Create api.completetransaction