openapi: 3.0.0
info:
title: eBay Account Advertising_eligibility Seller_funds_summary API
description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.
For details on the availability of the methods in this API, see Account API requirements and restrictions.
contact:
name: eBay Inc,
license:
name: eBay API License Agreement
url: https://go.developer.ebay.com/api-license-agreement
version: v1.9.2
servers:
- url: https://api.ebay.com{basePath}
description: Production
variables:
basePath:
default: /sell/account/v1
tags:
- name: Seller_funds_summary
paths:
/seller_funds_summary:
get:
tags:
- Seller_funds_summary
description: '
Important! Due to EU & UK Payments regulatory requirements, an additional security verification via Digital Signatures is required for certain API calls that are made on behalf of EU/UK sellers, including all Finances API methods. Please refer to Digital Signatures for APIs to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.
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.'
operationId: getSellerFundsSummary
parameters:
- name: X-EBAY-C-MARKETPLACE-ID
in: header
description: This header identifies the seller's eBay marketplace.
See HTTP request headers for the marketplace ID values.
Note: If a marketplace ID value is not provided, the default value of EBAY_US is used.
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/SellerFundsSummaryResponse'
'204':
description: No Content
'500':
description: Internal Server Error
x-response-codes:
errors:
'135000':
domain: API_FINANCES
category: APPLICATION
description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance.
security:
- api_auth:
- https://api.ebay.com/oauth/api_scope/sell.finances
components:
schemas:
SellerFundsSummaryResponse:
type: object
properties:
availableFunds:
description: This field represents the total amount of order funds that are available for a payout, but processing for a seller payout has not yet begun. If a seller wants to get more details on sales transactions that have yet to be processed, the seller can use the getTransactions method, and use the transactionStatus filter with its value set to FUNDS_AVAILABLE_FOR_PAYOUT.
This container will return 0.0 with the appropriate payout currency if there are no funds available to be processed for a payout.
$ref: '#/components/schemas/Amount'
fundsOnHold:
description: This field represents the total amount of order funds on hold. Seller payment holds can occur for different reasons. If a seller wants to get more details on sales transactions where funds are currently on hold, the seller can use the getTransactions method, and use the transactionStatus filter with its value set to FUNDS_ON_HOLD.
This container will return 0.0 with the appropriate payout currency if there are no seller payment holds that will eventually be processed for a payout.
$ref: '#/components/schemas/Amount'
processingFunds:
description: This field represents the total amount of order funds being prepared and processed for a seller payout. If a seller wants to get more details on sales transactions that are being processed, the seller can use the getTransactions method, and use the transactionStatus filter with its value set to FUNDS_PROCESSING.
This container will return 0.0 with the appropriate payout currency if there are no funds available to be processed for a payout.
$ref: '#/components/schemas/Amount'
totalFunds:
description: This field represents the total amount of order funds still due to be distributed to the seller through a seller payout. This field should equal the sum of the amounts returned in the following fields:
- processingFunds
- availableFunds
- fundsOnHold
If no payout funds are due to the seller, a 204 - No Content status code will be returned along with an empty payload.
$ref: '#/components/schemas/Amount'
description: This type is used by the response payload of the getSellerFundsSummary method. All of the funds returned in getSellerFundsSummary are funds that have not yet been paid to the seller through a seller payout. 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.
Amount:
type: object
properties:
convertedFromCurrency:
type: string
description: The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is the pre-conversion currency.
This field is only returned if/when currency conversion was applied by eBay. For implementation help, refer to eBay API documentation
convertedFromValue:
type: string
description: The monetary amount before any conversion is performed, in the currency specified by the convertedFromCurrency field. This value is the pre-conversion amount. The value field contains the converted amount of this value, in the currency specified by the currency field.
This field is only returned if/when currency conversion was applied by eBay.
convertedToCurrency:
type: string
description: Note: This field is only applicable for Mainland China sellers with an available CNY Bank payment instrument. This response can only have a value of CNY.The three-letter ISO 4217 code representing the currency of the amount in the convertedToValue field.
This field is only returned for payouts to bank accounts when currency conversion was applied by eBay. For implementation help, refer to eBay API documentation
convertedToValue:
type: string
description: Note: This field is only applicable for Mainland China sellers with an available CNY Bank payment instrument. This response only returns value in CNY.The monetary value after any conversion is performed, in the currency specified by the convertedToCurrency field. This value is the converted amount.
The field is only returned for payouts to bank accounts when currency conversion was applied by eBay.
currency:
type: string
description: 'A three-letter ISO 4217 code that indicates the currency of the amount in the value field. This field is always returned with any container using Amount type.
Default: The currency of the authenticated user''s country. For implementation help, refer to eBay API documentation'
exchangeRate:
type: string
description: The exchange rate used for the monetary conversion. This field shows the exchange rate used to convert the dollar value in the value field from the dollar value in the convertedFromValue field.
For sellers in mainland China, this field shows shows the exchange rate to convert the dollar value in the value field to the CNY value in the convertedToValue field.
This field is only returned when eBay does a currency version, and a currency conversion is generally needed if the buyer is viewing, or has purchased an item on an international site.
This field is only returned if/when currency conversion was applied by eBay.
value:
type: string
description: The monetary amount, in the currency specified by the currency field. This field is always returned with any container using Amount type.
description: This type is used to express the dollar value and currency used for any transaction retrieved with the Finances API, including an order total, a seller payout, a buyer refund, or a seller credit.
securitySchemes:
api_auth:
type: oauth2
description: The security definitions for this API. Please check individual operations for applicable scopes.
flows:
authorizationCode:
authorizationUrl: https://auth.ebay.com/oauth2/authorize
tokenUrl: https://api.ebay.com/identity/v1/oauth2/token
scopes:
https://api.ebay.com/oauth/api_scope/sell.account.readonly: View your account settings
https://api.ebay.com/oauth/api_scope/sell.account: View and manage your account settings