Create Payout Request

Facades: payout

Overview

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

Example

String currency = Currency.USD;
String ledgerCurrency = Currency.ETH; 
Payout payout = new Payout(5.0, currency, ledgerCurrency);
List<PayoutRecipient> recipients = this.bitpay.getPayoutRecipients("active", 1, null);
payout.setRecipientId(recipients.get(0).getId());
payout.setNotificationURL("https://hookbin.com/yDEDeWJKyasG9yjj9X9P");
Payout createPayout = bitpay.submitPayout(payout);