PHP Class Cartalyst\Stripe\Api\Account

Inheritance: extends Api
Afficher le fichier Open project: cartalyst/stripe

Méthodes publiques

Méthode 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 méthode

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

create() public méthode

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

delete() public méthode

Deletes an existing account.
public delete ( string $accountId ) : array
$accountId string
Résultat array

details() public méthode

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

find() public méthode

Retrieves an existing account.
public find ( string $accountId ) : array
$accountId string
Résultat array

reject() public méthode

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

update() public méthode

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

verify() public méthode

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