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