GET/payout
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 is used to retrieve the details of one or more seller payouts. By using the filter query parameter, users can retrieve payouts processed within a specific date range, and/or they can retrieve payouts in a specific state.
There are also pagination and sort query parameters that allow users to control the payouts that are returned in the response.
If no payouts match the input criteria, an empty payload is returned.
For split-payout cases, which are only available to sellers in mainland China, this method will return the payoutPercentage for the specified payout. This value indicates the current payout percentage allocated to a payout instrument. This method will also return the convertedToCurrency and convertedTo response fields set to CNY value and the payoutReference, the unique identifier reference (not true payout).
By using the filter query parameter, users can retrieve the two true(actual) payouts associated with a payoutReference.
Note: For more information on split payouts, see Mainland China Split Payout Playbook.
Input
Resource URI
This method is supported in Sandbox environment. To access the endpoint, just replace the apiz.ebay.com
root URI with apiz.sandbox.ebay.com
URI parameters
Parameter | Type | Description |
---|---|---|
limit | integer | The number of payouts to return per page of the result set. Use this parameter in conjunction with the offset parameter to control the pagination of the output. For example, if offset is set to 10 and limit is set to 10 , the method retrieves payouts 11 thru 20 from the result set. Note: This feature employs a zero-based list, where the first payout in the results set has an offset value of 0 . Maximum: 200 Default: 20 Occurrence: Optional |
offset | integer | This integer value indicates the actual position that the first payout returned on the current page has in the results set. So, if you wanted to view the 11th payout of the result set, you would set the offset value in the request to 10 . In the request, you can use the offset parameter in conjunction with the limit parameter to control the pagination of the output. For example, if offset is set to 30 and limit is set to 10 , the method retrieves payouts 31 thru 40 from the resulting collection of payouts. Note: This feature employs a zero-based list, where the first payout in the results set has an offset value of 0 .Default: 0 (zero) Occurrence: Optional |
filter | array of FilterField | The filter types that can be used here are discussed below. If none of these filters are used, all recent payouts in all states are returned:
If both the payoutDate and payoutStatus filters are used, payouts must satisfy both criteria to be returned. Occurrence: Optional |
sort | array of SortField | By default, payouts or failed payouts that match the input criteria are sorted in descending order according to the payout date/last attempted payout date (i.e., most recent payouts returned first). To view payouts in ascending order instead (i.e., oldest payouts/attempted payouts first,) you would include the sort query parameter, and then set the value of its field parameter to payoutDate or lastAttemptedPayoutDate (if searching for failed, retryable payouts). Below is the proper syntax to use if filtering by a payout date range in ascending order:https://apiz.ebay.com/sell/finances/v1/payout?filter=payoutDate:[2018-12-17T00:00:01.000Z..2018-12-24T00:00:01.000Z]&sort=payoutDate Payouts can only be sorted according to payout date, and can not be sorted by payout status. Occurrence: Optional |
HTTP request headers
All requests made to eBay REST operations require you to provide the Authorization
HTTP header for authentication authorization.
The table below shows additional HTTP request headers that are either required, conditionally required, or strongly recommended for this method. Other standard HTTP request headers- opens rest request components page (not in this table) can also be used, but they are optional.
Header | Type | Description |
---|---|---|
X-EBAY-C-MARKETPLACE-ID | string | 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. Occurrence: Required |
OAuth scope
This request requires an access token created with the authorization code grant flow, using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application):
https://api.ebay.com/oauth/api_scope/sell.finances
See OAuth access tokens for more information.
Request payload
This call has no payload.
Request fields
This call has no field definitions.
Output
HTTP response headers
This call has no response headers.
Response payload
Response fields
Output container/field | Type | Description |
---|---|---|
href | string | The URI of the getPayouts call request that produced the current page of the result set. Occurrence: Always |
limit | integer | The maximum number of payouts that may be returned per page of the result set. The limit value can be passed in as a query parameter, or if omitted, its value defaults to Occurrence: Always |
next | string | The getPayouts call URI to use if you wish to view the next page of the result set. Occurrence: Conditional |
offset | integer | This integer value indicates the actual position that the first payout returned on the current page has in the results set. So, if you wanted to view the 11th payout of the result set, you would set the offset value in the request to Occurrence: Always |
payouts | array of Payout | An array of one or more payouts that match the input criteria. Details for each payout include the unique identifier of the payout, the status of the payout, the amount of the payout, and the number of monetary transactions associated with the payout. Occurrence: Always |
payouts.amount | Amount | This the total amount of the seller payout. The container shows the dollar amount of the payout and the currency used. The value of the payout is always shown, even if the payout has failed. Occurrence: Always |
payouts.amount.convertedFromCurrency | CurrencyCodeEnum | The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is the pre-conversion currency. Occurrence: Conditional |
payouts.amount.convertedFromValue | string | 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. Occurrence: Conditional |
payouts.amount.convertedToCurrency | CurrencyCodeEnum | 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 Occurrence: Conditional |
payouts.amount.convertedToValue | string | 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. Occurrence: Conditional |
payouts.amount.currency | CurrencyCodeEnum | 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. Occurrence: Conditional |
payouts.amount.exchangeRate | string | 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. Occurrence: Conditional |
payouts.amount.value | string | The monetary amount, in the currency specified by the currency field. This field is always returned with any container using Amount type. Occurrence: Conditional |
payouts.bankReference | string | This field contains additional information provided by the bank and passed on by the payment processor; e.g., the manner in which the transaction will appear on the seller's bank statement. The field is returned only when provided by the bank and processor. Occurrence: Conditional |
payouts.lastAttemptedPayoutDate | string | This timestamp indicates the date/time when eBay last attempted to process a seller payout but it failed. This field is only returned if a seller payout fails, and the payoutStatus value shows Occurrence: Conditional |
payouts.payoutDate | string | This timestamp indicates when the seller payout began processing. The following format is used: Occurrence: Always |
payouts.payoutId | string | The unique identifier of the seller payout. This identifier is generated once eBay begins processing the payout to the seller's bank account. Occurrence: Always |
payouts.payoutInstrument | PayoutInstrument | This container provides details about the seller's account that received (or is scheduled to receive) the payout. This container is still returned even if the payout failed. Occurrence: Always |
payouts.payoutInstrument.accountLastFourDigits | string | This value is the last four digits of the account that the seller uses to receive the payout. This may be the last four digits of a bank account, a debit card, or a payment processor account such as Payoneer. Occurrence: Always |
payouts.payoutInstrument.instrumentType | string | This value indicates the type of account that received the payout. The value returned in this field may be:
Note: Only Payoneer is currently supported for sellers in mainland China. Card payouts are not currently available for sellers in mainland China. Occurrence: Always |
payouts.payoutInstrument.nickname | string | When instrumentType returns Occurrence: Always |
payouts.payoutInstrument.payoutPercentage | string | This value indicates the current payout percentage allocated to a payout instrument. For example, Occurrence: Conditional |
payouts.payoutMemo | string | This field contains information provided by upstream components, based on internal and external commitments. A typical message would contain the expected arrival time of the payout. Occurrence: Conditional |
payouts.payoutReference | string | This field contains the unique identifier for the Payout Reference. In split-payout cases, this is the unique identifier reference (not true payout). This field is only returned and will show the associated true(actual) payout id(s) when sellers in Mainland China enable split payouts between a Payoneer account and/or a bank account. Occurrence: Conditional |
payouts.payoutStatus | PayoutStatusEnum | This enumeration value indicates the current status of the seller payout. For a successful payout, the value returned will be Occurrence: Always |
payouts.payoutStatusDescription | string | This field provides more details about the current status of payout. The description returned here will correspond with enumeration value returned in the payoutStatus field. The following shows what description text might appear based on the different payoutStatus values:
Occurrence: Always |
payouts.totalAmount | Amount | This container indicates the sum of a seller's net payout amount plus the Occurrence: Conditional |
payouts.totalAmount.convertedFromCurrency | CurrencyCodeEnum | The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is the pre-conversion currency. Occurrence: Conditional |
payouts.totalAmount.convertedFromValue | string | 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. Occurrence: Conditional |
payouts.totalAmount.convertedToCurrency | CurrencyCodeEnum | 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 Occurrence: Conditional |
payouts.totalAmount.convertedToValue | string | 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. Occurrence: Conditional |
payouts.totalAmount.currency | CurrencyCodeEnum | 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. Occurrence: Conditional |
payouts.totalAmount.exchangeRate | string | 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. Occurrence: Conditional |
payouts.totalAmount.value | string | The monetary amount, in the currency specified by the currency field. This field is always returned with any container using Amount type. Occurrence: Conditional |
payouts.totalFee | Amount | This container indicates the amount of the Occurrence: Conditional |
payouts.totalFee.convertedFromCurrency | CurrencyCodeEnum | The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is the pre-conversion currency. Occurrence: Conditional |
payouts.totalFee.convertedFromValue | string | 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. Occurrence: Conditional |
payouts.totalFee.convertedToCurrency | CurrencyCodeEnum | 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 Occurrence: Conditional |
payouts.totalFee.convertedToValue | string | 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. Occurrence: Conditional |
payouts.totalFee.currency | CurrencyCodeEnum | 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. Occurrence: Conditional |
payouts.totalFee.exchangeRate | string | 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. Occurrence: Conditional |
payouts.totalFee.value | string | The monetary amount, in the currency specified by the currency field. This field is always returned with any container using Amount type. Occurrence: Conditional |
payouts.totalFeeDetails | array of Fee | This array indicates all payout fees associated with a payout, including the fee type, amount, value, and currency. Occurrence: Conditional |
payouts.totalFeeDetails.amount | Amount | The amount of the fee. Occurrence: Conditional |
payouts.totalFeeDetails.amount.convertedFromCurrency | CurrencyCodeEnum | The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is the pre-conversion currency. Occurrence: Conditional |
payouts.totalFeeDetails.amount.convertedFromValue | string | 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. Occurrence: Conditional |
payouts.totalFeeDetails.amount.convertedToCurrency | CurrencyCodeEnum | 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 Occurrence: Conditional |
payouts.totalFeeDetails.amount.convertedToValue | string | 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. Occurrence: Conditional |
payouts.totalFeeDetails.amount.currency | CurrencyCodeEnum | 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. Occurrence: Conditional |
payouts.totalFeeDetails.amount.exchangeRate | string | 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. Occurrence: Conditional |
payouts.totalFeeDetails.amount.value | string | The monetary amount, in the currency specified by the currency field. This field is always returned with any container using Amount type. Occurrence: Conditional |
payouts.totalFeeDetails.feeJurisdiction | FeeJurisdiction | Indicates the specific jurisdiction for the fee that has been deducted from the seller payout. Occurrence: Conditional |
payouts.totalFeeDetails.feeJurisdiction.regionName | string | String value that indicates the name of the region to which a region-specific fee applies. Occurrence: Conditional |
payouts.totalFeeDetails.feeJurisdiction.regionType | RegionTypeEnum | The enumeration value returned here indicates the type of region that is collecting the corresponding fee. Occurrence: Conditional |
payouts.totalFeeDetails.feeMemo | string | A description of the fee that was deducted from the seller payout. Occurrence: Conditional |
payouts.totalFeeDetails.feeType | FeeTypeEnum | The enumeration value returned here indicates the type of fee that was deducted from the seller payout. Occurrence: Conditional |
payouts.transactionCount | integer | This integer value indicates the number of monetary transactions (all orders, refunds, and credits, etc.) that have occurred with the corresponding payout. Its value should always be at least Occurrence: Always |
prev | string | The getPayouts call URI to use if you wish to view the previous page of the result set. Occurrence: Conditional |
total | integer | This integer value is the total number of payouts in the results set based on the current input criteria. Based on the total number of payouts that match the criteria, and on the limit and offset values, there may be additional pages in the results set. Occurrence: Conditional |
HTTP status codes
This call can return one of the following HTTP status codes. For an overview of the status codes, see HTTP status codes in Using eBay RESTful APIs.
Status | Meaning |
---|---|
200 | Success |
204 | No Content |
400 | Bad Request |
500 | Internal Server Error |
Error codes
For more on errors, plus the codes of other common errors, see Handling errors.
Code | Domain | Category | Meaning |
---|---|---|---|
135000 | API_FINANCES | APPLICATION | There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. |
135002 | API_FINANCES | REQUEST | The value of payout status filter is invalid. |
135003 | API_FINANCES | REQUEST | The value of pagination is invalid. |
135004 | API_FINANCES | REQUEST | The value of payout date filter is invalid. |
135005 | API_FINANCES | REQUEST | The value of sorting is invalid. |
Warnings
This call has no warnings.
Samples
New to making API calls? Please see Making a Call.
Note: Identifiers, such as order IDs or user IDs, and personal data in these samples might be anonymized or may no longer be active on eBay. If necessary, substitute current, relevant eBay data in your requests.
Sample 1: Get All Payouts
This call sample retrieves all recent seller payouts in all states. No filters, no sorting, and no pagination parameters are used.
Input
Only the GET HTTP method and the endpoint are used. No filter parameters, no sorting, and no pagination query parameters are used.
GEThttps://apiz.ebay.com/sell/finances/v1/payout
Output
The output returns details on 10 recent seller payouts. Since no pagination query parameters were used, the limit value defaults to 20
(up to 20 payouts per page of the result set) and the offset value defaults to 0
(the first payout in the result set is shown first). Since only 10 seller payouts are returned, this response is showing all available seller payouts. If different limit and offset values are used, and there are multiple pages in the result set, prev and next fields may get returned, and these fields will contain the full call URIs to use to retrieve the previous and next pages of the result set.
Each payout is identified with its payoutId value. A payoutId value is auto-generated by eBay as soon as a seller payout is initiated, and a timestamp (payoutDate) reflects when the payout was initiated. The payout amount, the payout status, the transactions involved in the payout, and the seller's bank information is shown for each payout.
Sample 2: Get Successful Payouts Only
This call sample retrieves all successful seller payouts. The filter parameter is used and configured to only return payouts that were successfully distributed to the seller's bank account.
Input
For this sample, the filter query parameter is used, the filter type is payout status, and the payout status value is SUCCEEDED
. Below is the syntax to use for a non-date filter:
?filter=
filter_type:{
filter_value}
GEThttps://apiz.ebay.com/sell/finances/v1/payout?filter=payoutStatus:{SUCCEEDED}
Output
The output returns details on 5 successful seller payouts. Since no pagination query parameters were used, the limit value defaults to 20
(up to 20 payouts per page of the result set) and the offset value defaults to 0
(the first payout in the result set is shown first). Since only 5 successful payouts are returned, this response is showing all available, successful payouts.
Each payout is identified with its payoutId value. Notice that the payoutStatus value for each returned payout is showing SUCCEEDED
.
Sample 3: Get Retryable Payouts Within Date Range
This call sample retrieves seller payouts that failed, but ones which will be retried. Two filter parameters are used and configured to return retryable payouts within a stated date range.
Input
For this sample, two filter query parameters are used - one to filter by the payout status of RETRYABLE_FAILED
, and one to filter within a date range. In this sample, the date range is for the month of December 2018.
Below is the syntax to use for a non-date filter:
?filter=
filter_type:{
filter_value}
The syntax to use for a date range filter is slightly different, and is shown below. Notice the date range filter uses square brackets instead of curly brackets.
?filter=payoutDate:[
YYYY-MM-DDTHH:MM:SS.SSSZ..YYYY-MM-DDTHH:MM:SS.SSSZ]
GEThttps://apiz.ebay.com/sell/finances/v1/payout?filter=payoutStatus:{RETRYABLE_FAILED}&filter=payoutDate:[2018-12-01T00:00:01.000Z..2018-12-31T00:00:01.000Z]
Output
Only one seller payout with a status of RETRYABLE_FAILED
was found within the specified date range (12/01/2018 - 12/31/2018).
Sample 4: Using Pagination and Sorting
This call sample retrieves all recent seller payouts in all states, but also uses pagination and sorts by payout date in ascending order.
Input
For this sample, the limit and offset pagination parameters are used. In this particular case, the limit value is set to 7
(7 payouts per page of data), and the offset value is set to 7
(which, using a 0-based index, means that the 8th payout in the result set will appear at the top of the retrieved page of data).
The sort query parameter is also used, and the results are set to be sorted in ascending order according to payout date (i.e., the oldest payouts are listed at the top of each page of returned data).
sort=-payoutDate
. Notice that a negative sign (-) is required in order to sort the results in descending date order.GEThttps://apiz.ebay.com/sell/finances/v1/payout?limit=7&offset=7&sort=payoutDate
Output
A total of 21 payouts are part of the result set, as indicated by a value of 21
in the total field. Since the limit value is 7
and the offset value is 7
, 7 payouts are returned per page, and payouts 8-14 (in the result set) are shown in the response. Also notice that the payouts are sorted in ascending order (according to payout date) instead of descending order.
Since there are a total of 21 payouts in the result set, and 7 payouts retrieved per page, that means there are three pages of payouts to retrieve. If the user wanted to view the payouts 1-7 (in the result set), the user could copy the call URI returned in the prev field and run the call again. If the user wanted to view the payouts 15-21 (in the result set), the user could copy the call URI returned in the next field and run the call again.
Sample 5: Filtering by lastAttemptedPayoutDate
The lastAttemptedPayoutDate filter is used in this call sample. This filter is an alternative to filtering by payoutDate, and can be helpful if the seller has had some payouts that have failed on first attempt.
Input
For this sample, lastAttemptedPayoutDate is used as a filter, and a date range is set. When the lastAttemptedPayoutDate filter is used, all payouts (successful and failed) with a lastAttemptedPayoutDate value within this range are returned.
GEThttps://apiz.ebay.com/sell/finances/v1/payout?filter=lastAttemptedPayoutDate:[2020-06-09T12:01:00.000Z..2020-06-09T23:59:59.000Z]
Output
Based on the date range specified in the lastAttemptedPayoutDate filter, only one seller payout was updated during this time period, and it was successful. By looking at the timestamps in the payoutDate and lastAttemptedPayoutDate fields, the first attempt of this seller payout failed, but an additional attempt was successful just about six minutes after the first attempt.
For all seller payouts that are successful on the first attempt, the timestamps in the payoutDate and lastAttemptedPayoutDate fields will be identical.
Sample 6: Filtering by payoutReference
The payoutReference filter is used in this call sample. This filter returns the true(actual) payouts associated with a payoutReference id.
Input
For this sample, payoutReference is used as a filter. When the payoutReference filter is used, the true(actual) payouts associated with the specified payoutReference are returned. The payoutReference is the payout reference id which is the container of the true(actual) payouts.
GEThttps://apiz.ebay.com/sell/finances/v1/payout?filter=payoutReference:{5*******3}
Output
Details about the two true(actual) payouts that are associated with the specified payoutReference are returned in this example.