PHP Класс Cartalyst\Stripe\Api\Account

Наследование: extends Api
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

all() публичный метод

Returns a list of all the connected accounts.
public all ( array $parameters = [] ) : array
$parameters array
Результат array

create() публичный метод

Creates a new account.
public create ( array $parameters = [] ) : array
$parameters array
Результат array

delete() публичный метод

Deletes an existing account.
public delete ( string $accountId ) : array
$accountId string
Результат array

details() публичный метод

Retrieves the details of the account, based on the API key that was used to make the request.
public details ( ) : array
Результат array

find() публичный метод

Retrieves an existing account.
public find ( string $accountId ) : array
$accountId string
Результат array

reject() публичный метод

Rejects an existing account.
public reject ( string $accountId, string $reason ) : array
$accountId string
$reason string
Результат array

update() публичный метод

Updates an existing account.
public update ( string $accountId, array $parameters = [] ) : array
$accountId string
$parameters array
Результат array

verify() публичный метод

Updates an existing account.
public verify ( string $accountId, string $file, $purpose ) : array
$accountId string
$file string
Результат array