Create Payout Request

Facades: payout

Overview

Allows a merchant to invite clients to sign up for a BitPay personal account.

Example

$recipients = $bitpay->getPayoutRecipients(null, 1);

$currency = Currency::USD;
$ledgerCurrency = Currency::ETH;

$payout = new BitPaySDK\Model\Payout\Payout(5.0, $currency, $ledgerCurrency);
$payout->setRecipientId($recipients[0]->getId());

$createPayout = null;

$createPayout = $bitpay->submitPayout($payout);