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

$retrievedRecipient = $bitpay->getPayoutRecipient("JA4cEtmBxCp5cybtnh1rds");
$retrievedRecipient->setLabel("updatedLabel");
$bitpay->updatePayoutRecipient("JA4cEtmBxCp5cybtnh1rds", $retrievedRecipient);