You can replace this with your Payout Batch Id on already created Payout.
Check if Payout Item is UNCLAIMED, and if so, cancel it.
Cancel the Payout Item
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
The item transaction status is not unclaimed. You can only cancel an unclaimed transaction. NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
Cancel Payout Item Status Sample
Use this call to cancel an existing, unclaimed transaction. If an unclaimed item is not claimed within 30 days, the funds will be automatically returned to the sender. This call can be used to cancel the unclaimed item prior to the automatic 30-day return. https://developer.paypal.com/docs/api/#cancel-an-unclaimed-payout-item API used: POST /v1/payments/payouts-item//cancel