Update Payout Recipient

Facades: payout

Overview

Updates a payout recipient.

Parameters

ParameterDescription
recipient_id *The recipient id for the recipient to be updated
recipient *A PayoutRecipient object with updated parameters defined

Example

📘

Note

In this example, we assume that a Client has already been initialized and assigned to the bitpay variable.

recipient = PayoutRecipient()
recipient.email = '[email protected]'

bitpay.update_payout_recipient('recipientId', recipient)