Create Payout Group

Facades: payout

Overview

Allows a merchant to create multiple payout requests with one request.

Example

const payout1 = Payout(12.34, Currency.USD, Currency.USD);
payout1.recipientId = 'someRecipientId';

const payout2 = Payout(12.34, Currency.USD, Currency.USD);
payout2.recipientId = 'someOtherRecipientId';

const payouts = await client.submitPayouts([
  payout1,
  payout2
]);