All URIs are relative to https://openapi.flowaccount.com/v1
Method | HTTP request | Description |
---|---|---|
bankAccountsGet | GET /bank-accounts | Get list all My Bank Account |
bankAccountsPost | POST /bank-accounts | Create bank account. |
\OpenAPI\Client\Model\AllBankAccountResponse bankAccountsGet($authorization)
Get list all My Bank Account
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BankAccountApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$authorization = 'Bearer accessToken'; // string |
try {
$result = $apiInstance->bankAccountsGet($authorization);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BankAccountApi->bankAccountsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | [default to 'Bearer accessToken'] |
\OpenAPI\Client\Model\AllBankAccountResponse
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\BankAccountResponse bankAccountsPost($authorization, $bank_account)
Create bank account.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\BankAccountApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$authorization = 'Bearer accessToken'; // string |
$bank_account = new \OpenAPI\Client\Model\BankAccount(); // \OpenAPI\Client\Model\BankAccount |
try {
$result = $apiInstance->bankAccountsPost($authorization, $bank_account);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling BankAccountApi->bankAccountsPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | [default to 'Bearer accessToken'] | |
bank_account | \OpenAPI\Client\Model\BankAccount |
\OpenAPI\Client\Model\BankAccountResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]