PHP Class Cartalyst\Stripe\Api\Account

Inheritance: extends Api
Show file Open project: cartalyst/stripe

Public Methods

Method Description
all ( array $parameters = [] ) : array Returns a list of all the connected accounts.
create ( array $parameters = [] ) : array Creates a new account.
delete ( string $accountId ) : array Deletes an existing account.
details ( ) : array Retrieves the details of the account, based on the API key that was used to make the request.
find ( string $accountId ) : array Retrieves an existing account.
reject ( string $accountId, string $reason ) : array Rejects an existing account.
update ( string $accountId, array $parameters = [] ) : array Updates an existing account.
verify ( string $accountId, string $file, $purpose ) : array Updates an existing account.

Method Details

all() public method

Returns a list of all the connected accounts.
public all ( array $parameters = [] ) : array
$parameters array
return array

create() public method

Creates a new account.
public create ( array $parameters = [] ) : array
$parameters array
return array

delete() public method

Deletes an existing account.
public delete ( string $accountId ) : array
$accountId string
return array

details() public method

Retrieves the details of the account, based on the API key that was used to make the request.
public details ( ) : array
return array

find() public method

Retrieves an existing account.
public find ( string $accountId ) : array
$accountId string
return array

reject() public method

Rejects an existing account.
public reject ( string $accountId, string $reason ) : array
$accountId string
$reason string
return array

update() public method

Updates an existing account.
public update ( string $accountId, array $parameters = [] ) : array
$accountId string
$parameters array
return array

verify() public method

Updates an existing account.
public verify ( string $accountId, string $file, $purpose ) : array
$accountId string
$file string
return array