FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
stripe
/
stripe-php
/
lib
/
Service
Edit File: BalanceService.php
<?php // File generated from our OpenAPI spec namespace AmeliaStripe\Service; /** * @phpstan-import-type RequestOptionsArray from \AmeliaStripe\Util\RequestOptions * * @psalm-import-type RequestOptionsArray from \AmeliaStripe\Util\RequestOptions */ class BalanceService extends AbstractService { /** * Retrieves the current account balance, based on the authentication that was used * to make the request. For a sample request, see <a * href="/docs/connect/account-balances#accounting-for-negative-balances">Accounting * for negative balances</a>. * * @param null|array{expand?: string[]} $params * @param null|RequestOptionsArray|\AmeliaStripe\Util\RequestOptions $opts * * @return \AmeliaStripe\Balance * * @throws \AmeliaStripe\Exception\ApiErrorException if the request fails */ public function retrieve($params = null, $opts = null) { return $this->request('get', '/v1/balance', $params, $opts); } }
Save
Back