Update Payout Recipient

Facades: payout

Overview

Updates a payout recipient.

Parameters

ParameterDescription
recipientIdThe recipient id for the recipient to be updated.
recipientA PayoutRecipient object with updated parameters defined.

Example

PayoutRecipient recipient = bitpay.getPayoutRecipient("JA4cEtmBxCp5cybtnh1rds");
recipient.setLabel("Updated Label");
bitpay.updatePayoutRecipient("JA4cEtmBxCp5cybtnh1rds", recipient);