Facades: payout
Overview
Updates a payout recipient.
Parameters
| Parameter | Description | 
|---|---|
| recipientId | The recipient id for the recipient to be updated. | 
| recipient | A PayoutRecipient object with updated parameters defined. | 
Example
PayoutRecipient recipient = bitpay.getPayoutRecipient("JA4cEtmBxCp5cybtnh1rds");
recipient.setLabel("Updated Label");
bitpay.updatePayoutRecipient("JA4cEtmBxCp5cybtnh1rds", recipient);