Back-end structure for marketplace app with GraphQL

I’m not sure which one of the options is viable; I’m only going to make one API call (via GraphQL) but it will use multiple resolvers i guess.

I would basically need that each new order creates 2 transactions: withdrawing from client and adding to talent.

I want there to be no scenario in which an order is placed without transactions, or one of the transaction failing but still creating the other database entries.

What would be the way to approach this?