Ensuring Atomicity Dependent on Third-Party API Calls

Actually, I was concerned about the client facing server failure and not MogoDB. If transactions were to be used, client’s failure would have ensured the transaction doesn’t get committed