Update Payout Recipients

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.
const payoutRecipient = new PayoutRecipient('[email protected]', 'someLabel', 'https://notification.com');
payoutRecipient.label = 'some label';

const recipient = await client.updatePayoutRecipient(payoutRecipient.id, payoutRecipient);