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
$retrievedRecipient = $bitpay->getPayoutRecipient("JA4cEtmBxCp5cybtnh1rds");
$retrievedRecipient->setLabel("updatedLabel");
$bitpay->updatePayoutRecipient("JA4cEtmBxCp5cybtnh1rds", $retrievedRecipient);