BitPay PHP SDK

PayoutClient
in package

Handles interactions with the payout endpoints.

Tags
author

BitPay Integrations integrations@bitpay.com

license

http://www.opensource.org/licenses/mit-license.php MIT

Table of Contents

Properties

$instance  : self|null
$restCli  : RESTcli
$tokenCache  : Tokens

Methods

cancel()  : bool
Cancel a BitPay Payout.
cancelGroup()  : PayoutGroup
createGroup()  : PayoutGroup
get()  : Payout
Retrieve a BitPay payout by payout id using. The client must have been previously authorized for the payout facade.
getInstance()  : static
Factory method for Payout Client.
getPayouts()  : array<string|int, Payout>
Retrieve a collection of BitPay payouts.
requestNotification()  : bool
Notify BitPay Payout.
submit()  : Payout
Submit a BitPay Payout.
__construct()  : mixed
getPayoutGroupResponse()  : PayoutGroup

Properties

Methods

getInstance()

Factory method for Payout Client.

public static getInstance(Tokens $tokenCache, RESTcli $restCli) : static
Parameters
$tokenCache : Tokens
$restCli : RESTcli
Return values
static

getPayouts()

Retrieve a collection of BitPay payouts.

public getPayouts([string|null $startDate = null ][, string|null $endDate = null ][, string|null $status = null ][, string|null $reference = null ][, int|null $limit = null ][, int|null $offset = null ]) : array<string|int, Payout>
Parameters
$startDate : string|null = null

The start date to filter the Payout Batches.

$endDate : string|null = null

The end date to filter the Payout Batches.

$status : string|null = null

The status to filter the Payout Batches.

$reference : string|null = null

The optional reference specified at payout request creation.

$limit : int|null = null

Maximum results that the query will return (useful for paging results).

$offset : int|null = null

Number of results to offset (ex. skip 10 will give you results starting with the 11th result).

Tags
throws
BitPayApiException
throws
BitPayGenericException
Return values
array<string|int, Payout>

        
On this page

Search results