All URIs are relative to https://apiz.ebay.com/sell/finances/v1.
Method | HTTP request | Description |
---|---|---|
getSellerFundsSummary() | GET /seller_funds_summary |
getSellerFundsSummary(): \eBay\Sell\Finances\Model\SellerFundsSummaryResponse
This method retrieves all pending funds that have not yet been distibuted through a seller payout. There are no input parameters for this method. The response payload includes available funds, funds being processed, funds on hold, and also an aggregate count of all three of these categories. If there are no funds that are pending, on hold, or being processed for the seller's account, no response payload is returned, and an http status code of 204 - No Content is returned instead.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: api_auth
$config = eBay\Sell\Finances\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new eBay\Sell\Finances\Api\SellerFundsSummaryApi(
// 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(),
$config
);
try {
$result = $apiInstance->getSellerFundsSummary();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SellerFundsSummaryApi->getSellerFundsSummary: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\eBay\Sell\Finances\Model\SellerFundsSummaryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]