We are using the Paypal Adaptive Payments with their classic APIs.
We use the PreApproval API to set up pre-approvals (we get pre-approval key) for specific amounts for people in a group, and then later, when everyone in the group has set up their pre-approval, we call the Pay API and pass the pre-approval keys to finalize the transactions.
We want to treat these transactions (with multiple people) as an atomic transaction. If one of them fails (because of insufficient balance in one person's paypal account), we do not want to execute other payments.
Right now, when we pass the preapproval key to Pay API operation, only then do we know whether a payment has completed or there's an error.
So, my question is whether their is a way to check if a particular payment is possible before executing it? (We do not want refunds)
Thanks