This documentation is for tracking revenue from your backend only! For tracking revenue from your app please go through the Flutter or React Native documentation.
NOTE:user_id or payment_id is required in order to remove a payment entry. If you pass user_id, all the payments attributed to that user will be removed!