Facades: payout
Overview
Allows a merchant to create multiple payout requests with one request.
Parameters
Parameter | Description |
---|---|
payouts * | Payouts to create |
Example
Note
In this example, we assume that a Client has already been initialized and assigned to the
bitpay
variable.
payout1 = Payout()
payout1.notification_email = '[email protected]'
payout1.notification_url = 'https://my-url.com'
payout2 = Payout()
payout2.notification_email = '[email protected]'
payout12.notification_url = 'https://my-other-url.com'
payouts = bitpay.create_payout_group([payout1, payout2])