Removes every pending payments intents from the SDK and returns the snapshot that was cleared, so the integrating app can decide what to do with them.
Returns the set of pending payments intents.