Skip to content

Latest commit

 

History

History
120 lines (78 loc) · 3.26 KB

BankAccountApi.md

File metadata and controls

120 lines (78 loc) · 3.26 KB

OpenAPI\Client\BankAccountApi

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.

bankAccountsGet

\OpenAPI\Client\Model\AllBankAccountResponse bankAccountsGet($authorization)

Get list all My Bank Account

Example

<?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;
}
?>

Parameters

Name Type Description Notes
authorization string [default to 'Bearer accessToken']

Return type

\OpenAPI\Client\Model\AllBankAccountResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

bankAccountsPost

\OpenAPI\Client\Model\BankAccountResponse bankAccountsPost($authorization, $bank_account)

Create bank account.

Example

<?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;
}
?>

Parameters

Name Type Description Notes
authorization string [default to 'Bearer accessToken']
bank_account \OpenAPI\Client\Model\BankAccount

Return type

\OpenAPI\Client\Model\BankAccountResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]