{
  "openapi": "3.1.0",
  "info": {
    "title": "Finances API",
    "description": "This API is used to retrieve seller payouts and monetary transaction details related to those payouts.",
    "contact": {
      "name": "eBay Inc,"
    },
    "license": {
      "name": "eBay API License Agreement",
      "url": "https://developer.ebay.com/join/api-license-agreement"
    },
    "version": "v1.19.1"
  },
  "servers": [
    {
      "url": "https://apiz.ebay.com{basePath}",
      "description": "Production",
      "variables": {
        "basePath": {
          "default": "/sell/finances/v1"
        }
      }
    },
    {
      "url": "https://api.ebay.com{basePath}",
      "description": "Production",
      "variables": {
        "basePath": {
          "default": "/sell/finances/v1/billing_activity"
        }
      }
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/order_earnings": {
      "get": {
        "tags": [
          "order_earnings"
        ],
        "description": "This method returns detailed order-level financial data for each order associated with a seller account. The returned order-level financial data includes order earnings, gross amount, expenses, and refunds. Order earnings includes earnings after deducting expenses and refunds from the gross amount. <br><br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Expenses include fees, shipping labels, and donations. Refunds include gross refunds, gross claims, and gross payment disputes.</span></p><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Only charges and credits tied to the order are shown, and they appear in near real time for orders created within the selected order creation time window.</span></p>The financial data for orders will be returned as filtered based on the order's creation date. <p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Only charges and credits tied to the order are shown, and they appear in near real time for orders created within the selected order creation time window.</span></p>Pagination is supported through the <code>limit</code> and <code>offset</code> parameters. These parameters can be used to control the number of records returned in a single response and to retrieve subsequent pages of results when the result set spans multiple pages.<br/><br/>The response can be filtered by using the <code>filter</code> parameter. This parameter allows consumers to restrict the results returned by the method based on supported filtering criteria.<br/><p><span class=\"tablenote\"><b>Note:</b> Access to the <b>order_earnings</b> resource is currently limited to only US, China, or Hong&nbsp;Kong sellers who meet the following criteria and also request access: <br><br>- US sellers with the country of residence set to <code>US</code> and having a payout currency in <code>USD</code>.<br><br>- Hong Kong or China sellers having the country of residence set to <code>HK</code> or <code>CN</code> and the payout currency set to <code>USD</code> have access.<br><br>To request access, submit an <a href=\"/api-docs/static/gs_request-an-application-growth.html\" target=\"_blank\">application growth check</a> to have the required <a href=\"#h3-oauth-scope\">OAuth scope</a> added to your app. After submission, you can use the same <a href=\"/api-docs/static/gs_request-an-application-growth.html\" target=\"_blank\">growth check</a> link to track the status of the request. <br><br>eBay plans on expanding this to other markets in the future.</span></p><br/><div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <a href=\"/develop/guides/digital-signatures-for-apis\" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong> The Finances API does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span></p>",
        "operationId": "getOrderEarnings",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "limit",
            "in": "query",
            "description": "This parameter configures the number of orders to return per page of the result set. Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. <br><br> For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the method retrieves orders 11 thru 20 from the result set. <br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first page in the results set has an offset value of <code>0</code>. </span><br> <b>Maximum:</b> <code>200</code> <br> <b>Default:</b> <code>20</code>",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "offset",
            "in": "query",
            "description": "This parameter can be used to specify the number of records to skip before returning results. This parameter is commonly used with the <code>limit</code> parameter to retrieve the next page of results.<br><br><b>Maximum:</b> 10,000<br><b>Default:</b> 0",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "filter",
            "in": "query",
            "description": "This parameter can be used to filter orders created within a specified date range. The filter uses the <code>orderCreationDate</code> field, which works similarly to the <code>transactionDate</code> filter used by the Transactions API. Currently, <code>orderCreationDate</code> is the only supported filter value. <p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>All dates must be input using UTC format (<code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>) and should be adjusted accordingly for the local timezone of the user.</span></p><p><b>Default</b>: If no value is specified, results from the past year will be returned.</p>",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort order for a collection of resources. Available value: orderCreationDate For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/finances/types/sqa:SortField",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderEarnings"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135005": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of sort is invalid."
                },
                "135017": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of offset is invalid."
                },
                "135018": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of limit is invalid."
                },
                "135019": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The orderCreationDate filter is invalid due to syntax issue, or the start and end dates are not compatible with one another. Please see documentation."
                },
                "135020": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as orders before year 2024 cannot be retrieved. Please update the date range and resubmit the request."
                },
                "135021": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as the date range cannot exceed 12 months. Please update the date range and resubmit the request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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.earnings.read"
            ],
            "oauth2_api_scope_sell_finances_earnings": [
              "https://api.ebay.com/oauth/api_scope/sell.finances.earnings.read",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/order_earnings/{order_id}": {
      "get": {
        "tags": [
          "order_earnings"
        ],
        "description": "This method returns detailed order-level financial data including order earnings, gross amount, expenses, and refunds. Order earnings includes earnings after deducting expenses and refunds from the gross amount.<br><br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Expenses include fees, shipping labels, and donations. Refunds include gross refunds, gross claims, and gross payment disputes.</span></p><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Only charges and credits tied to the order are shown, and they appear in near real time for orders created within the selected order creation time window.</span></p>The response returns earnings information only for the order identified by the <code>order_id</code> path parameter.<br/><p><span class=\"tablenote\"><b>Note:</b> Access to the <b>order_earnings</b> resource is currently limited to only US, China, or Hong&nbsp;Kong sellers who meet the following criteria and also request access: <br><br>- US sellers with the country of residence set to <code>US</code> and having a payout currency in <code>USD</code>.<br><br>- Hong Kong or China sellers having the country of residence set to <code>HK</code> or <code>CN</code> and the payout currency set to <code>USD</code> have access.<br><br>To request access, submit an <a href=\"/api-docs/static/gs_request-an-application-growth.html\" target=\"_blank\">application growth check</a> to have the required <a href=\"#h3-oauth-scope\">OAuth scope</a> added to your app. After submission, you can use the same <a href=\"/api-docs/static/gs_request-an-application-growth.html\" target=\"_blank\">growth check</a> link to track the status of the request. <br><br>eBay plans on expanding this to other markets in the future.</span></p><br/><div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <a href=\"/develop/guides/digital-signatures-for-apis\" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong> The Finances API does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span></p>",
        "operationId": "getOrderEarningsById",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values \" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "order_id",
            "in": "path",
            "description": "This path parameter identifies the specific order for which earnings information is requested.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple",
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderEarning"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135023": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid order ID format."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "x-response-codes": {
              "errors": {
                "135022": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The order was not found."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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.earnings.read"
            ],
            "oauth2_api_scope_sell_finances_earnings": [
              "https://api.ebay.com/oauth/api_scope/sell.finances.earnings.read",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/order_earnings_summary": {
      "get": {
        "tags": [
          "order_earnings"
        ],
        "description": "This method returns a summarized view of order earnings information for one or more orders associated with a seller account. The method retrieves aggregated data for order earnings after deducting expenses and refunds from the gross amount. You can use this method for high-level financial reporting workflows.<br><br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Expenses include fees, shipping labels, and donations. Refunds include gross refunds, gross claims, and gross payment disputes.</span></p><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Only charges and credits tied to the order are shown, and they appear in near real time for orders created within the selected order creation time window.</span></p>The response can be filtered by using the <code>filter</code> parameter. This parameter allows consumers to restrict the summary results returned by the method based on supported filtering criteria.<br/><p><span class=\"tablenote\"><b>Note:</b> Access to the <b>order_earnings</b> resource is currently limited to only US, China, or Hong&nbsp;Kong sellers who meet the following criteria and also request access: <br><br>- US sellers with the country of residence set to <code>US</code> and having a payout currency in <code>USD</code>.<br><br>- Hong Kong or China sellers having the country of residence set to <code>HK</code> or <code>CN</code> and the payout currency set to <code>USD</code> have access.<br><br>To request access, submit an <a href=\"/api-docs/static/gs_request-an-application-growth.html\" target=\"_blank\">application growth check</a> to have the required <a href=\"#h3-oauth-scope\">OAuth scope</a> added to your app. After submission, you can use the same <a href=\"/api-docs/static/gs_request-an-application-growth.html\" target=\"_blank\">growth check</a> link to track the status of the request. <br><br>eBay plans on expanding this to other markets in the future.</span></p><br/><div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <a href=\"/develop/guides/digital-signatures-for-apis\" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong> The Finances API does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span></p>",
        "operationId": "getOrderEarningsSummary",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values \" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "filter",
            "in": "query",
            "description": "This parameter can be used to filter orders created within a specified date range. The filter uses the <code>orderCreationDate</code> field, which works similarly to the <code>transactionDate</code> filter used by the Transactions API. Currently, <code>orderCreationDate</code> is the only supported filter value.<p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>All dates must be input using UTC format (<code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>) and should be adjusted accordingly for the local timezone of the user.</span></p><p><b>Default</b>: If no value is specified, results from the past year will be returned.</p> ",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderEarningsSummary"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135019": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The orderCreationDate filter is invalid due to syntax issue, or the start and end dates are not compatible with one another. Please see documentation."
                },
                "135020": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as orders before year 2024 cannot be retrieved. Please update the date range and resubmit the request."
                },
                "135021": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as the date range cannot exceed 12 months. Please update the date range and resubmit the request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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.earnings.read"
            ],
            "oauth2_api_scope_sell_finances_earnings": [
              "https://api.ebay.com/oauth/api_scope/sell.finances.earnings.read",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/payout/{payout_Id}": {
      "get": {
        "tags": [
          "payout"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>This method retrieves details on a specific seller payout. The unique identifier of the payout is passed in as a path parameter at the end of the call URI. <br><br>The <b>getPayouts</b> method can be used to retrieve the unique identifier of a payout, or the user can check Seller Hub.<br><br>For split-payout cases, which are <b>only</b> available to sellers in mainland China, this method will return the <b>payoutPercentage</b> for the specified payout. This value indicates the current payout percentage allocated to a payment instrument. This method will also return the <b>convertedToCurrency</b> and <b>convertedToValue</b> response fields in CNY value. <br><br><span class=\"tablenote\"><b>Note:</b> In split-payout cases, this method will only return details on an individual payout, also known as a true(actual) payoutid. If a user inputs a <b>payoutReference</b> id as a path parameter, the call will fail and the <b>404 not found</b> status code will be returned.<br>For more information on split payouts, see <a href=\"/api-docs/split-payout/playbook.html\" target=\"_blank\">Mainland China Split Payout Playbook</a>.</span>",
        "operationId": "getPayout",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "payout_Id",
            "in": "path",
            "description": "This path parameter is used to specify the unique identifier of the payout being retrieved. <br><br>Use the <a href=\"/develop/api/sell/finances_api#sell-finances_api-payout-getpayouts\">getPayouts</a> method to retrieve payout IDs, or check Seller Hub to get the payout ID. ",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Payout"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "404": {
            "description": "Not found",
            "x-response-codes": {
              "errors": {
                "135001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The payout ID was not found."
                }
              }
            }
          },
          "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"
            ]
          }
        ]
      }
    },
    "/payout": {
      "get": {
        "tags": [
          "payout"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>This method is used to retrieve the details of one or more seller payouts. By using the <b>filter</b> query parameter, users can retrieve payouts processed within a specific date range, and/or they can retrieve payouts in a specific state.<br><br>There are also pagination and sort query parameters that allow users to control the payouts that are returned in the response.<br><br>If no payouts match the input criteria, an empty payload is returned.<br><br>For split-payout cases, which are <b>only</b> available to sellers in mainland China, this method will return the <b>payoutPercentage</b> for the specified payout. This value indicates the current payout percentage allocated to a payout instrument. This method will also return the <b>convertedToCurrency</b> and <b>convertedTo</b> response fields set to CNY value and the <b>payoutReference</b>, the unique identifier reference (not true payout). <br><br>By using the <b>filter</b> query parameter, users can retrieve the two true(actual) payouts associated with a <b>payoutReference</b>.<br><br><span class=\"tablenote\"><b>Note:</b> For more information on split payouts, see <a href=\"/api-docs/split-payout/playbook.html\" target=\"_blank\">Mainland China Split Payout Playbook</a>.</span><br><span class=\"tablenote\"><b>Note:</b> Only payouts less than 5 years in the past can be retrieved.</span>",
        "operationId": "getPayouts",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of payouts to return per page of the result set. Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. <br><br> For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the method retrieves payouts 11 thru 20 from the result set. <br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first payout in the results set has an offset value of <code>0</code>. </span> <br><br> <b>Maximum:</b> <code>200</code> <br> <b>Default:</b> <code>20</code>",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "offset",
            "in": "query",
            "description": "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 <strong>offset</strong> value in the request to <code>10</code>. <br><br>In the request, you can use the <b>offset</b> parameter in conjunction with the <b>limit</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>30</code> and <b>limit</b> is set to <code>10</code>, the method retrieves payouts 31 thru 40 from the resulting collection of payouts.<br><br>To avoid poor response time, use <b>offset</b> values of less than <code>5000</code>.<br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first payout in the results set has an offset value of <code>0</code>.</span><br><br><b>Default:</b> <code>0</code> (zero)",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "filter",
            "in": "query",
            "description": "The filter types that can be used here are discussed below. If none of these filters are used, all payouts in all states from within the last five years are returned:<br><ul><li><b>payoutDate</b>: search for payouts within a specific range of dates. The date format to use is <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. Below is the proper syntax to use if filtering by a date range: <br><br><code>https://apiz.ebay.com/sell/finances/v1/payout?filter=payoutDate:[2024-12-17T00:00:01.000Z..2024-12-24T00:00:01.000Z]</code><br><br>Only payouts from the last five years can be retrieved, so make sure the starting date is less than five years in the past from the present time. Also, the maximum date range that can be specified through this date filter is 36 months, so make sure your specified date range is no more than 36 months.</li><li><b>lastAttemptedPayoutDate</b>: search for attempted payouts that failed within a specific range of dates. In order to use this filter, the <b>payoutStatus</b> filter must also be used and its value must be set to <code>RETRYABLE_FAILED</code>. The date format to use is <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. The same syntax and requirements applicable to the <b>payoutDate</b> filter also apply to the <b>lastAttemptedPayoutDate</b> filter. <br><br>This filter is only applicable (and will return results) if one or more seller payouts have failed, but are retryable.</li> <li><b>payoutStatus</b>: search for payouts in a particular state. Only one payout state can be specified with this filter. For supported <b>payoutStatus</b> values, see <a href=\"/develop/api/sell/finances_api#sell-finances_api-payout-getpayouts.payoutstatusenum\">PayoutStatusEnum</a>.<br><br>Below is the proper syntax to use if filtering by payout status: <br><br><code>https://apiz.ebay.com/sell/finances/v1/payout?filter=payoutStatus:{SUCCEEDED}</code></li><li><b>payoutReference</b>: returns  the two true (actual) payouts associated with the payoutReference id. This parameter can support up to 200 <b>payoutReference</b> inputs. This filter is <b>only</b> supported for mainland China sellers. Below is the proper syntax to use if filtering by a specific <b>payoutReference</b>:<br><br><code>https://apiz.ebay.com/sell/finances/v1/payout?filter=payoutReference:{5********3}</code></li></ul><br>If both the <b>payoutDate</b> and <b>payoutStatus</b> filters are used, payouts must satisfy both criteria to be returned.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "sort",
            "in": "query",
            "description": "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).<br><br>To view payouts in ascending order instead (i.e., oldest payouts/attempted payouts first,) you would include the <b>sort</b> query parameter, and then set the value of its <b>field</b> parameter to <code>payoutDate</code> or <code>lastAttemptedPayoutDate</code> (if searching for failed, retryable payouts). Below is the proper syntax to use if filtering by a payout date range in ascending order:<br><br><code>https://apiz.ebay.com/sell/finances/v1/payout?filter=payoutDate:[2018-12-17T00:00:01.000Z..2018-12-24T00:00:01.000Z]&sort=payoutDate</code><br><br>Payouts can only be sorted according to payout date, and can not be sorted by payout status.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Payouts"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135002": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of payout status filter is invalid."
                },
                "135003": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of pagination is invalid."
                },
                "135004": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of payout date filter is invalid."
                },
                "135005": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of sort is invalid."
                },
                "135013": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied start date is invalid, as payouts older than five years cannot be retrieved. Please update the start date and resubmit the request."
                },
                "135014": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as the date range cannot exceed 36 months. Please update the date range and resubmit the request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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"
            ],
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/payout_summary": {
      "get": {
        "tags": [
          "payout"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>This method is used to retrieve cumulative values for payouts in a particular state, or all states. The metadata in the response includes total payouts, the total number of monetary transactions (sales, refunds, credits) associated with those payouts, and the total dollar value of all payouts.<br><br>If the <b>filter</b> query parameter is used to filter by payout status, only one payout status value may be used. If the <b>filter</b> query parameter is not used to filter by a specific payout status, cumulative values for payouts in all states are returned.<br><br>The user can also use the <b>filter</b> query parameter to specify a date range, and then only payouts that were processed within that date range are considered.<br><br><span class=\"tablenote\"><b>Note:</b> <b>getPayoutSummary</b> will only return data on payouts that occurred less than five years in the past.</span>",
        "operationId": "getPayoutSummary",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "filter",
            "in": "query",
            "description": "The two filter types that can be used here are discussed below. One or both of these filter types can be used. If none of these filters are used, the data returned in the response will reflect all payouts in all states that have occurred within the last five years:<br><ul><li><b>payoutDate</b>: consider payouts processed within a specific range of dates. The date format to use is <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. Below is the proper syntax to use if filtering by a date range: <br><br><code>https://apiz.ebay.com/sell/finances/v1/payout_summary?filter=payoutDate:[2024-12-17T00:00:01.000Z..2024-12-24T00:00:01.000Z]</code><br><br>Only payouts from the last five years can be retrieved, so make sure the starting date is less than five years in the past from the present time. Also, the maximum date range that can be specified through this date filter is 36 months, so make sure your specified date range is no more than 36 months.</li> <li><b>payoutStatus</b>: consider only the payouts in a particular state. Only one payout state can be specified with this filter. For supported <b>payoutStatus</b> values, see <a href=\"/develop/api/sell/finances_api#sell-finances_api-payout-getpayouts.payoutstatusenum\">PayoutStatusEnum</a>.<br><br>Below is the proper syntax to use if filtering by payout status: <br><br><code>https://apiz.ebay.com/sell/finances/v1/payout_summary?filter=payoutStatus:{SUCCEEDED}</code></ul><br>If both the <b>payoutDate</b> and <b>payoutStatus</b> filters are used, only the payouts that satisfy both criteria are considered in the results.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayoutSummaryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135002": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of payout status filter is invalid."
                },
                "135004": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of payout date filter is invalid."
                },
                "135013": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied start date is invalid, as payouts older than five years cannot be retrieved. Please update the start date and resubmit the request."
                },
                "135014": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as the date range cannot exceed 36 months. Please update the date range and resubmit the request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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"
            ],
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/seller_funds_summary": {
      "get": {
        "tags": [
          "seller_funds_summary"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>This method retrieves all pending funds that have not yet been distributed through a seller payout.<br><br>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.<br><br>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 <code>204 - No Content</code> is returned instead.",
        "operationId": "getSellerFundsSummary",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SellerFundsSummaryResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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"
            ],
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/transaction": {
      "get": {
        "tags": [
          "transaction"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>The <b>getTransactions</b> method allows a seller to retrieve information about one or more of their monetary transactions.<br><br><span class=\"tablenote\"><b>Note:</b> For a complete list of transaction types, refer to <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions.transactiontypeenum \" target=\"_blank \">TransactionTypeEnum</a>.</span><br>Numerous input filters are available which can be used individually or combined to refine the data that are returned. For example:<ul><li><code>SALE</code> transactions for August 15, 2022;</li><li><code>RETURN</code> transactions for the month of January, 2021;</li><li>Transactions currently in a <code>transactionStatus</code> equal to <code>FUNDS_ON_HOLD</code>.</li></ul>Refer to the <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions-param-filter\">filter</a> field for additional information about each filter and its use.<br><br>Pagination and sort query parameters are also provided that allow users to further control how monetary transactions are displayed in the response.<br><br>If no monetary transactions match the input criteria, an http status code of <em>204 No Content</em> is returned with no response payload.<br><br><span class=\"tablenote\"><b>Note:</b>  Only monetary transactions that have occurred within the last five years can be retrieved.</span>",
        "operationId": "getTransactions",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The number of monetary transactions to return per page of the result set. Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. <br><br> For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the method retrieves monetary transactions 11 thru 20 from the result set. <br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span> <br><br> <b>Maximum:</b><code> 1000</code> <br> <b>Default:</b><code> 20</code>",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "offset",
            "in": "query",
            "description": "This integer value indicates the actual position that the first monetary transaction returned on the current page has in the results set. So, if you wanted to view the 11th monetary transaction of the result set, you would set the <strong>offset</strong> value in the request to <code>10</code>. <br><br>In the request, you can use the <b>offset</b> parameter in conjunction with the <b>limit</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>30</code> and <b>limit</b> is set to <code>10</code>, the method retrieves transactions 31 thru 40 from the resulting collection of transactions. <br><br> To avoid poor response time, use <b>offset</b> values of less than <code>5000</code>. <br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br><b>Default:</b> <code>0</code> (zero)",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Numerous filters are available for the <strong>getTransactions</strong> method, and these filters are discussed below. One or more of these filter types can be used. If none of these filters are used, all monetary transactions occurring within the last five years are returned:<ul><li><b>transactionDate</b>: search for monetary transactions that occurred within a specific range of dates.<br><br><span class=\"tablenote\"><strong>Note:</strong> All dates must be input using UTC format (<code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>) and should be adjusted accordingly for the local timezone of the user.</span><br>Below is the proper syntax to use if filtering by a date range: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=transactionDate:[2024-10-23T00:00:01.000Z..2024-11-09T00:00:01.000Z]</code><br><br>Only payouts from the last five years can be retrieved, so make sure the starting date is less than five years in the past from the present time. Also, the maximum date range that can be specified through this date filter is 36 months, so make sure your specified date range is no more than 36 months.</li>  <li><b>transactionType</b>: search for a specific type of monetary transaction. For supported <b>transactionType</b> values, see <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions.transactiontypeenum\">TransactionTypeEnum</a>.<br><br>Below is the proper syntax to use if filtering by a monetary transaction type: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=transactionType:{SALE}</code></li><li><b>transactionStatus</b>: this filter type is only applicable for sales orders, and allows the user to filter seller payouts in a particular state. For supported <b>transactionStatus</b> values, see <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions.transactionstatusenum\">TransactionStatusEnum</a>.<br><br>Below is the proper syntax to use if filtering by transaction status: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=transactionStatus:{PAYOUT}</code></li><li><b>buyerUsername</b>: the eBay username or user ID of the buyer involved in the monetary transaction. Only monetary transactions involving this buyer are returned. Below is the proper syntax to use if filtering by a specific eBay buyer: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=buyerUsername:{buyer1234}</code> </li><li><b>payoutId</b>: the unique identifier of a seller payout. This value is auto-generated by eBay once the seller payout is set to be processed. Only monetary transactions involving this Payout ID are returned. Below is the proper syntax to use if filtering by a specific Payout ID: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=payoutId:{5********8}</code>  </li><li><b>transactionId</b>: use this field  <b>transactionId</b> and also <b>transactionType</b> to filter for a unique identifier of a monetary transaction, or an error will occur. For a sales order, the <b>orderId</b> filter should be used instead. Only the monetary transaction defined by the identifier is returned.<br><br><span class=\"tablenote\"><strong>Note:</strong> This filter cannot be used alone; the <b>transactionType</b> must also be specified when filtering by transaction ID.</span><br>Below is the proper syntax to use if filtering by a specific transaction ID: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=transactionId:{0*-0***0-3***3}&filter=transactionType:{SALE}</code> </li><li><b>orderId</b>: the unique identifier of a sales order. Only monetary transaction(s) associated with this <b>orderId</b> value are returned.<br><br>For any other monetary transaction, the <b>transactionId</b> filter should be used instead.<br><br>Below is the proper syntax to use if filtering by a specific order ID:<br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=orderId:{0*-0***0-3***3}</code> </li><li><b>payoutReference</b>: returns the monetary transactions associated with the <b>payoutReference</b>. By using this ID as a filter parameter, the user will be able to track all monetary transactions associated with both sibling payouts, including sales and refunds, if any. This filter is <b>only</b> supported for sellers in Mainland China. Below is the proper syntax to use if filtering by <b>payoutReference</b>: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=payoutReference:{5*******3}</code></li></ul>",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          },
          {
            "name": "sort",
            "in": "query",
            "description": "By default, monetary transactions that match the input criteria are sorted in descending order according to the transaction date (i.e, most recent transactions returned first).<br><br>To view transactions in ascending order instead (i.e., oldest transactions first), you would include the <b>sort</b> query parameter and set its value to <code>transactionDate</code>. Below is the proper syntax to use if filtering by a transaction date range in ascending order:<br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction?filter=transactionDate:[2023-10-01T00:00:01.000Z..2023-10-12T00:00:01.000Z]&sort=transactionDate</code><br><br>Transactions can only be sorted according to transaction date.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transactions"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135003": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of pagination is invalid."
                },
                "135005": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of sort is invalid."
                },
                "135006": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of transaction type filter is invalid."
                },
                "135007": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of transaction status filter is invalid."
                },
                "135008": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of transaction date filter is invalid."
                },
                "135009": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Transaction type filter is missing."
                },
                "135015": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied start date is invalid, as transactions older than five years cannot be retrieved. Please update the start date and resubmit the request."
                },
                "135016": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as the date range cannot exceed 36 months. Please update the date range and resubmit the request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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"
            ],
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/transaction_summary": {
      "get": {
        "tags": [
          "transaction"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>The <b>getTransactionSummary</b> method retrieves cumulative information for monetary transactions. If applicable, the number of payments with a <code>transactionStatus</code> equal to <code>FUNDS_ON_HOLD</code> and the total monetary amount of these on-hold payments are also returned.<br><br><span class=\"tablenote\"><b>Note:</b> For a complete list of transaction types, refer to <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions.transactiontypeenum \" target=\"_blank \">TransactionTypeEnum</a>.</span><br>Refer to the <b>filter</b> field for additional information about each filter and its use.<br><br><span class=\"tablenote\"><b>Note:</b> Unless a <code>transactionType</code> filter is used to retrieve a specific type of transaction (e.g., <code>SALE</code>, <code>REFUND</code>, etc.,) the <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactionsummary.transactionsummaryresponse.creditcount\">creditCount</a> and <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactionsummary.transactionsummaryresponse.creditamount\">creditAmount</a> response fields both include <i>order sales</i> and <i>seller credits</i> information. That is, the <b>count</b> and <b>value</b> fields do not distinguish between these two types monetary transactions.</span><br><span class=\"tablenote\"><b>Note:</b> <b>getTransactionSummary</b> will only return data on transactions that occurred less than five years in the past.</span>",
        "operationId": "getTransactionSummary",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string",
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            },
            "style": "simple",
            "explode": false
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Numerous filters are available for the <strong>getTransactionSummary</strong> method, and these filters are discussed below. One or more of these filter types can be used. The <b>transactionStatus</b> filter must be used. All other filters are optional. <ul><li><b>transactionStatus</b>: the data returned in the response pertains to the sales, payouts, and transfer status set. For supported <b>transactionStatus</b> values, see <a href=\"/api-docs/sell/finances/types/pay:TransactionStatusEnum\" target=\"_blank \">TransactionStatusEnum</a>. <br><br>Below is the proper syntax to use when setting up the <b>transactionStatus</b> filter: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=transactionStatus:&#123;PAYOUT&#125;</code></li><li><b>transactionDate</b>: only consider monetary transactions that occurred within a specific range of dates.<br><br><span class=\"tablenote\"><strong>Note:</strong> All dates must be input using UTC format (<code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>) and should be adjusted accordingly for the local timezone of the user.</span><br><br>Below is the proper syntax to use if filtering by a date range: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=transactionDate:&#91;2024-10-23T00:00:01.000Z..2024-11-09T00:00:01.000Z&#93;</code><br><br><b>Note:</b>Only monetary transactions from the last five years can be retrieved, so make sure the starting date is less than five years in the past from the present time. Also, the maximum date range that can be specified through this date filter is 36 months, so make sure your specified date range is no more than 36 months.</li>  <li><b>transactionType</b>: only consider a specific type of monetary transaction. For supported <b>transactionType</b> values, see <a href=\"/api-docs/sell/finances/types/pay:TransactionTypeEnum\" target=\"_blank \">TransactionTypeEnum</a>.<br><br>Below is the proper syntax to use if filtering by a monetary transaction type: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=transactionType:{SALE}</code></li><li><b>buyerUsername</b>: only consider monetary transactions involving a specific buyer (specified with the buyer's eBay username or user ID). Below is the proper syntax to use if filtering by a specific eBay buyer: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=buyerUsername:&#123;buyer1234&#125;</code> </li><li><b>payoutId</b>: only consider monetary transactions related to a specific seller payout (identified with a Payout ID). This value is auto-generated by eBay once the seller payout is set to be processed. Below is the proper syntax to use if filtering by a specific Payout ID: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=payoutId:&#123;5********8&#125;</code>  </li><li><b>transactionId</b>: the unique identifier of a monetary transaction. For a sales order, the <b>orderId</b> filter should be used instead. Only the monetary transaction(s) associated with this <b>transactionId</b> value are returned.<br><br><span class=\"tablenote\"><strong>Note:</strong> This filter cannot be used alone; the <b>transactionType</b> must also be specified when filtering by transaction ID.</span><br><br>Below is the proper syntax to use if filtering by a specific transaction ID: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=transactionId:{0*-0***0-3***3}&filter=transactionType:{SALE}</code> </li><li><b>orderId</b>: the unique identifier of a sales order. For any other monetary transaction, the <b>transactionId</b> filter should be used instead. Only the monetary transaction(s) associated with this <b>orderId</b> value are returned. Below is the proper syntax to use if filtering by a specific order ID: <br><br><code>https://apiz.ebay.com/sell/finances/v1/transaction_summary?filter=orderId:{0*-0***0-3***3}</code> </li></ul> ",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionSummaryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135006": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of transaction type filter is invalid."
                },
                "135007": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of transaction status filter is invalid."
                },
                "135008": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The value of transaction date filter is invalid."
                },
                "135009": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Transaction type filter is missing."
                },
                "135011": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Transaction status filter is mandatory."
                },
                "135015": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied start date is invalid, as transactions older than five years cannot be retrieved. Please update the start date and resubmit the request."
                },
                "135016": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The supplied date range is invalid, as the date range cannot exceed 36 months. Please update the date range and resubmit the request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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"
            ],
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/transfer/{transfer_Id}": {
      "get": {
        "tags": [
          "transfer"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>This method retrieves detailed information regarding a <code>TRANSFER</code> transaction type. A <code>TRANSFER</code> is a  monetary transaction type that involves a seller transferring money to eBay for reimbursement of one or more charges. For example, when a seller reimburses eBay for a buyer refund.<br><br>If an ID is passed into the URI that is an identifier for another transaction type, this call will return an http status code of <code>404 Not found</code>.",
        "operationId": "getTransfer",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank \">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transfer_Id",
            "in": "path",
            "description": "This path parameter is used to specify the unique identifier of the <code>TRANSFER</code> transaction type you wish to retrieve.<br><br>Use the <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions\">getTransactions</a> method to retrieve this value by setting the <b>transactionType</b> filter to <code>TRANSFER</code>. The <b>transfer_id</b> value will then be returned in the <b>transaction_id</b> field of the response.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "404": {
            "description": "Not found.",
            "x-response-codes": {
              "errors": {
                "135012": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The transfer ID was not found."
                }
              }
            }
          },
          "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"
            ]
          }
        ]
      }
    },
    "/billing_activity": {
      "get": {
        "tags": [
          "billing_activity"
        ],
        "description": "<div class=\"msgbox_important\"><p class=\"msgbox_importantInDiv\" data-mc-autonum=\"&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;\"><span class=\"autonumber\"><span><b><span style=\"color: #dd1e31;\" class=\"mcFormatColor\">Important!</span></b></span></span> Due to EU &amp; 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 <b>Finances API</b> methods. Please refer to <a href=\"/develop/guides/digital-signatures-for-apis \" target=\"_blank\">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br><span class=\"tablenote\"><b>Note:</b>  The <b>Finances API</b> does not support <a href=\"https://www.ebay.com/sellercenter/ebay-for-business/multi-user-account-access\" target=\"_blank\">Team Access</a>. Financial information, such as payouts or transactions, is only returned for the user that makes the call. You cannot use any of the methods in this API to return financial information for another user.</span><br>This method retrieves filtered billing activities of the seller. Returned results are filtered through query parameters such as date range, activity ID, listing ID, or order ID. Sorting and pagination features help organize and navigate returned activities efficiently.",
        "operationId": "getBillingActivities",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "This header indicates the natural language and locale preferred by the user for the response.<br><br>For more information, see the <b>Accept-Language</b> header in <a href=\"/develop/api/sell/request_headers\" target=\"_blank \">Request Headers</a> and <a href=\"/develop/api/sell/request_headers#marketplace-id-values\"  target=\"_blank\">Marketplace ID values</a>. If not provided, defaults to <code>en-US</code>.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "This required field specifies which results to return in the response. Only one of the following four filter values must be used. A user can either retrieve all billing activity within a date range, or they can retrieve billing activity related to a specific eBay order, eBay listing, or they can retrieve information on a specific billing activity.<br /><ul><li><b>activityId</b>: If this filter is used, only information on a specific billing activity is returned. The <a href=\"/develop/api/sell/finances_api#sell-finances_api-billing_activity-getbillingactivities.billingactivitylineitem.billingtransactionid\">billingTransactionId</a> returned in the response can be used as the <b>activityId</b>.</li><li><b>listingId</b>: If this filter is used, only billing activity associated with the specified listing is returned.</li><li><b>orderId</b>: If this filter is used, only billing activity associated with the specified order is returned.</li><li><b>transactionDate</b>: If a date range filter is used, only billing activity that occurred within the specified date range is returned. The starting date cannot be set back further than 120 days in the past. Use UTC date values in the following order: <code>[<em>start</em>..<em>end</em>]</code></li></ul><br /><b>Examples</b><br /><br />IDs:<br /> <code>filter=activityID:{12**56}</code><br /><br />Date range:<br />  <code>filter=transactionDate:[2025-10-01T00:00:00Z..2025-10-31T23:59:59Z]</code>",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Sets the maximum number of records to return per page of data.<br><p>Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. For example, with offset set to <code>20</code> and limit set to <code>10</code>, the call retrieves entries 21 through 30 from the result set.</p><p>Although this field is optional, if omitted the default value of <code>100</code> is used.</p><br> <b>Minimum:</b> <code>1</code><br><b>Maximum:</b> <code>200</code><br><b>Default:</b> <code>100</code>",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Specifies the number of records to skip in the result set. This is used with the <code>limit</code> field to control the pagination of the output. For example:<br><ul><li>If <b>offset</b> is <code>0</code> and <b>limit</b> is <code>10</code>, the method will retrieve records 1-10 from the list of records returned</li><li>If <b>offset</b> is <code>10</code> and <b>limit</b> is <code>10</code>, the method will retrieve records 11-20 from the list of records returned.</li></ul><p>If this parameter is not set, its value defaults to <code>0</code> which returns the first page of records.</p><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>This feature employs a zero-based list, where the first activity in the list has an offset of 0.</span></p><p><b>Default:</b> <code>0</code> (zero, returns the first page)</p>",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "By default, transactions that match the input criteria are sorted in descending order according to the transaction date (most recent transactions returned first).<br><br>To view transactions in ascending order instead (oldest transactions first), include the <b>sort</b> query parameter and set its value to <code>sort=transactionDate</code>. For example (ascending order):<br><br><code>filter=transactionDate:[2025-11-01T00:00:01.000Z..2025-11-12T00:00:01.000Z]&sort=transactionDate</code><br><br>Transactions can only be sorted according to transaction date. If omitted, defaults to descending order (most recent transactions returned first).",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingActivityResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "x-response-codes": {
              "errors": {
                "135005": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The sort value is invalid. See documentation for supported values."
                },
                "135015": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "At least one filter parameter must be used. See documentation for supported filter types."
                },
                "135016": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid filter format. See documentation for correct format for each filter type."
                },
                "135017": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid filter type. See documentation for supported filter types."
                },
                "135018": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Only one filter type can be used at a time."
                },
                "135019": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid date format. Date must be in ISO-8601 format (e.g., 2024-10-23T00:00:01.000Z)."
                },
                "135020": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "There is a syntax error in your date_range filter. Please see documentation for proper syntax."
                },
                "135021": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The starting date range cannot be set back further than 120 days in the past."
                },
                "135022": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid limit value. Limit must be between 1 and 200."
                },
                "135023": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid offset value. If provided, Offset must be 0 or greater."
                },
                "135025": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid date range: the end date occurs before the start date."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "x-response-codes": {
              "errors": {
                "135000": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "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"
            ]
          }
        ]
      },
      "servers": [
        {
          "url": "https://api.ebay.com{basePath}",
          "description": "Production",
          "variables": {
            "basePath": {
              "default": "/sell/finances/v1/billing_activity"
            }
          }
        }
      ]
    },
    "/payout/{payout_id}": {
      "get": {
        "tags": [
          "payout"
        ],
        "description": "This method retrieves details on a specific seller payout. The unique identifier of the payout is passed in as a path parameter at the end of the call URI.\n",
        "operationId": "getPayout",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank\">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            }
          },
          {
            "name": "payout_id",
            "in": "path",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            },
            "description": "This path parameter is used to specify the unique identifier of the payout being retrieved.<br><br>Use the <a href=\"/develop/api/sell/finances_api#sell-finances_api-payout-getpayouts\">getPayouts</a> method to retrieve payout IDs, or check Seller Hub to get the payout ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Payout"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "135001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The payout ID was not found."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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": [
          {
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    },
    "/transfer/{transfer_id}": {
      "get": {
        "tags": [
          "transfer"
        ],
        "description": "This method retrieves detailed information regarding a TRANSFER transaction type. A TRANSFER is a monetary transaction type that involves a seller transferring money to eBay for reimbursement of one or more charges. For example, when a seller reimburses eBay for a buyer refund.\n",
        "operationId": "getTransfer",
        "parameters": [
          {
            "name": "X-EBAY-C-MARKETPLACE-ID",
            "in": "header",
            "description": "This header identifies the seller's eBay marketplace.<br><br>See <a href=\"/develop/api/sell/request_headers#marketplace-id-values\" target=\"_blank\">Request Headers</a> for the marketplace ID values.<br><br><span class=\"tablenote\"><b>Note:</b> If a marketplace ID value is not provided, the default value of <code>EBAY_US</code> is used.</span>",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "$ref": "#/components/schemas/MarketplaceIdEnum"
            }
          },
          {
            "name": "transfer_id",
            "in": "path",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            },
            "description": "This path parameter is used to specify the unique identifier of the <code>TRANSFER</code> transaction type you wish to retrieve.<br><br>Use the <a href=\"/develop/api/sell/finances_api#sell-finances_api-transaction-gettransactions\">getTransactions</a> method to retrieve this value by setting the <b>transactionType</b> filter to <code>TRANSFER</code>. The <b>transfer_id</b> value will then be returned in the <b>transaction_id</b> field of the response."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transfer"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1001": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Invalid access token. Check the value of the Authorization HTTP request header."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "1100": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "Insufficient permissions to fulfill the request."
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "x-response-codes": {
              "errors": {
                "135012": {
                  "domain": "API_FINANCES",
                  "category": "REQUEST",
                  "description": "The transfer ID was not found."
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/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": [
          {
            "oauth2_api_scope_sell_finances": [
              "https://api.ebay.com/oauth/api_scope/sell.finances",
              "eBayUser"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Amount": {
        "type": "object",
        "required": [
          "currency",
          "value"
        ],
        "description": "This type is used to express the dollar value and currency used for any transaction retrieved with the <strong>Finances API</strong>, including an order total, a seller payout, a buyer refund, or a seller credit.",
        "properties": {
          "convertedFromCurrency": {
            "description": "The three-letter <a href=\"https://www.iso.org/iso-4217-currency-codes.html \" target=\"_blank\">ISO 4217</a> code representing the currency of the amount in the <b> convertedFromValue</b> field. This value is the pre-conversion currency.<br><br>This field is only returned if/when currency conversion was applied by eBay.",
            "$ref": "#/components/schemas/CurrencyCodeEnum"
          },
          "convertedFromValue": {
            "type": "string",
            "description": "The monetary amount before any conversion is performed, in the currency specified by the <b> convertedFromCurrency</b> field. This value is the pre-conversion amount. The <b> value</b> field contains the converted amount of this value, in the currency specified by the <b> currency</b> field.<br><br>This field is only returned if/when currency conversion was applied by eBay."
          },
          "convertedToCurrency": {
            "description": "<span class=\"tablenote\"><b>Note:</b> This field is only applicable for Mainland China sellers with an available CNY Bank payment instrument. This response can <b>only</b> have a value of <code>CNY</code>.</span><br>The three-letter <a href=\"https://www.iso.org/iso-4217-currency-codes.html \" target=\"_blank\">ISO 4217</a> code representing the currency of the amount in the <b>convertedToValue</b> field. <br/><br/>This field is only returned for payouts to bank accounts when currency conversion was applied by eBay.",
            "$ref": "#/components/schemas/CurrencyCodeEnum"
          },
          "convertedToValue": {
            "type": "string",
            "description": "<span class=\"tablenote\"><b>Note:</b> This field is only applicable for Mainland China sellers with an available CNY Bank payment instrument. This response <b>only</b> returns value in CNY.</span><br>The monetary value after any conversion is performed, in the currency specified by the <b>convertedToCurrency</b> field. This value is the converted amount. <br/><br/>The field is only returned for payouts to bank accounts when currency conversion was applied by eBay."
          },
          "currency": {
            "description": "A three-letter ISO 4217 code that indicates the currency of the amount in the <b>value</b> field. This field is always returned with any container using <b>Amount</b> type. <br><br><b>Default</b>: The currency of the authenticated user's country.",
            "$ref": "#/components/schemas/CurrencyCodeEnum"
          },
          "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 <b>value</b> field from the dollar value in the <b>convertedFromValue</b> field.<br><br> For sellers in mainland China, this field shows the exchange rate to convert the dollar value in the <b>value</b> field to the CNY value in the <b>convertedToValue</b> field.<br><br>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. <br><br>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 <b>currency</b> field. This field is always returned with any container using <b>Amount</b> type."
          }
        }
      },
      "BalanceAdjustment": {
        "type": "object",
        "description": "This type is used by the <b>balanceAdjustment</b> container, which shows the seller payout balance that will be applied toward the charges outlined in the <b>charges</b> array.",
        "properties": {
          "adjustmentAmount": {
            "description": "The seller payout balance amount that will be applied toward the charges outlined in the <b>charges</b> array.",
            "$ref": "#/components/schemas/Amount"
          },
          "adjustmentType": {
            "description": "The enumeration value returned here indicates if the charge is a <code>DEBIT</code> or a <code>CREDIT</code> to the seller. Generally, all transfer transaction types are going to be <code>DEBIT</code>, since the money is being transferred from the seller to eBay.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          }
        }
      },
      "BillingActivityLineItem": {
        "type": "object",
        "required": [
          "amount",
          "billingTransactionDate",
          "billingTransactionId",
          "bookingEntry",
          "feeType",
          "feeTypeDescription"
        ],
        "description": "This type defines the fees, credits, and promotional offers applied to a seller's account.",
        "properties": {
          "amount": {
            "description": "This container shows the amount of the fee or credit. The value and currency are always returned. If the buyer is in one country and purchases from an eBay marketplace that uses a different currency, the response also includes the converted-from and converted-to fields, along with the exchange rate.",
            "$ref": "#/components/schemas/Amount"
          },
          "billingTransactionDate": {
            "type": "string",
            "description": "This timestamp indicates the date/time when eBay processed the transaction."
          },
          "billingTransactionId": {
            "type": "string",
            "description": "This field provides a unique identifier of the billing transaction. If a seller wants to view details on a specific billing transaction, they can use the <b>actvityId</b> filter and pass in a specific <b>billingTransactionId</b> value."
          },
          "bookingEntry": {
            "type": "string",
            "description": "The value returned in this field will indicate if the billing transaction is a debit against the seller's account, or a credit. A debit is much more prevalent than a credit, but sometimes a listing fee will get reversed and they will get a credit for this fee. Possible values:<br><ul><li><code>DEBIT</code></li><li><code>CREDIT</code></li></ul>"
          },
          "feeType": {
            "type": "string",
            "description": "This field describes the type of fee associated with the transaction. An example value is  <code>FinalValueFeeFixedFeePerOrder</code>."
          },
          "feeTypeDescription": {
            "type": "string",
            "description": "This field contains the human-readable description of the fee type associated with the transaction. For example, <code>Final Value Fee</code>."
          },
          "listingId": {
            "type": "string",
            "description": "The unique identifier of the eBay listing associated with the billing transaction. This field is returned if the fee is associated with a listing."
          },
          "orderId": {
            "type": "string",
            "description": "The unique identifier of the eBay order associated with the billing transaction. This field is returned if the fee is associated with an order."
          },
          "promotionalOffers": {
            "type": "array",
            "description": "A list of seller promotional offers applicable for the billing transaction.",
            "items": {
              "$ref": "#/components/schemas/DiscountDetail"
            }
          }
        }
      },
      "BillingActivityResponse": {
        "description": "This type is the base response type used by the <b>getBillingActivities</b> method. ",
        "required": [
          "billingActivities",
          "count",
          "limit",
          "offset",
          "total"
        ],
        "type": "object",
        "properties": {
          "billingActivities": {
            "type": "array",
            "description": "A list of billing activity entries that meet the filter criteria. Billing activity will include fees, credits, and promotional offers applied to the seller's account.",
            "items": {
              "$ref": "#/components/schemas/BillingActivityLineItem"
            }
          },
          "count": {
            "type": "integer",
            "description": "An integer representing the number of billing activity items returned in this response page.",
            "format": "int32"
          },
          "limit": {
            "type": "integer",
            "description": "The value of the <b>limit</b> parameter. This is the maximum number of line items, as filtered, of billing transactions to return per page from the result set.",
            "format": "int32"
          },
          "next": {
            "type": "string",
            "description": "The URI for the next page of results starting with the resource name. This URI is returned if there is an additional page of results in the result set."
          },
          "offset": {
            "type": "integer",
            "description": "The value of the <b>offset</b> parameter. This field indicates how many results were skipped in the response. If an <b>offset</b> parameter was not included in the request, this value will default to <code>0</code>, returning the first page of results.",
            "format": "int32"
          },
          "prev": {
            "type": "string",
            "description": "The URI for the previous page of results starting with the resource name. This URI is returned if there is a previous page of results in the result set."
          },
          "total": {
            "type": "integer",
            "description": "The total number of billing transactions available that match the filter criteria. <p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>When the <b>total</b> value exceeds the <b>limit</b> value, there are multiple pages of results.</span></p>",
            "format": "int32"
          }
        }
      },
      "BookingEntryEnum": {
        "type": "string",
        "description": "This enumerated type contains the values used to indicate whether the dollar value of a monetary transaction is a positive or negative value. | - **CREDIT**: This enumeration value indicates that the dollar value of the monetary transaction is a credit to the seller's account. Typically, the <code>SALE</code> and <code>CREDIT</code> transaction types are credits to the seller's account. For sales proceeds in the <code>FUNDS_ON_HOLD</code> state, the dollar value shown in the <b>onHoldAmount</b> will also show as seller credit. - **DEBIT**: This enumeration value indicates that the dollar value of the monetary transaction is a debit to the seller's account. Typically, the <code>REFUND</code>, <code>DISPUTE</code>, <code>SHIPPING_LABEL</code>, and <code>TRANSFER</code> transaction types are debits to the seller's account. Note that the shipping label functionality will initially only be available to a select number of sellers.",
        "enum": [
          "CREDIT",
          "DEBIT"
        ]
      },
      "Buyer": {
        "type": "object",
        "required": [
          "username"
        ],
        "description": "This type is used to express details about the buyer associated with an order. At this time, the only field in this type is the eBay user ID of the buyer, but more fields may get added at a later date.",
        "properties": {
          "username": {
            "type": "string",
            "description": "The eBay user ID of the order's buyer.<br><br><span class=\"tablenote\"><b>Note:</b> Effective September 26, 2025, select developers will no longer receive username data for U.S. users through this field. Instead, an immutable user ID will be returned in its place. For more information, please refer to <a href=\"/api-docs/static/data-handling-update.html\" target=\"_blank\">Data Handling Compliance</a>. </span>"
          }
        }
      },
      "BuyerWithId": {
        "type": "object",
        "description": "This type defines identifying information about the buyer associated with an order.",
        "properties": {
          "userId": {
            "type": "string",
            "description": "The public user ID of the buyer."
          },
          "username": {
            "type": "string",
            "description": "The username of the buyer. <br><br><span class=\"tablenote\"><b>Note:</b> Effective September 26, 2025, select developers will no longer receive username data for U.S. users through this field. Instead, an immutable user ID will be returned in its place. For more information, please refer to <a href=\"/api-docs/static/data-handling-update.html\" target=\"_blank\">Data Handling Compliance</a>. </span>"
          }
        }
      },
      "Charge": {
        "type": "object",
        "description": "This type is used by the <b>charge</b> container, which is an array of one or more charges related to the transfer.",
        "properties": {
          "cancellationId": {
            "type": "string",
            "description": "The unique identifier of an order cancellation. This field is only applicable and returned if the charge is related to an order cancellation."
          },
          "caseId": {
            "type": "string",
            "description": "The unique identifier of a case filed against an order. This field is only applicable and returned if the charge is related to a case filed against an order."
          },
          "chargeNetAmount": {
            "description": "This container shows the net amount of the charge, which is the total amount of the charge minus the total amount of fees credited towards this refund as per eBay policy. It is possible for there to be multiple charges from multiple orders with one transfer. The net aggregate amount for all charges found in the <b>charges</b> array can be found in the <b>transferDetail.totalChargeNetAmount</b> container.",
            "$ref": "#/components/schemas/Amount"
          },
          "inquiryId": {
            "type": "string",
            "description": "The unique identifier of an Item Not Received (INR) inquiry filed against an order. This field is only applicable and returned if the charge is related to has an INR inquiry filed against the order."
          },
          "orderId": {
            "type": "string",
            "description": "The unique identifier of the order that is associated with the charge."
          },
          "paymentDisputeId": {
            "type": "string",
            "description": "The unique identifier of a third-party payment dispute filed against an order. This occurs when the buyer files a dispute against the order with their payment provider, and then the dispute comes into eBay's system. This field is only applicable and returned if the charge is related to a third-party payment dispute filed against an order."
          },
          "refundId": {
            "type": "string",
            "description": "The unique identifier of a buyer refund associated with the charge."
          },
          "returnId": {
            "type": "string",
            "description": "The unique identifier of an order return. This field is only applicable and returned if the charge is related to an order that was returned by the buyer."
          }
        }
      },
      "DiscountDetail": {
        "type": "object",
        "description": "This type shows the amount of the promotional offer.",
        "properties": {
          "amount": {
            "description": "This container shows the amount of the promotion. The value and currency are always returned. If the buyer is in one country and purchases from an eBay marketplace that uses a different currency, the response also includes the converted-from and converted-to fields, and the exchange rate.",
            "$ref": "#/components/schemas/Amount"
          },
          "offerType": {
            "type": "string",
            "description": "The type of promotional discount applied through the activity's promotional offer <b>amount</b>. Examples include offer types such as <code>ETRS</code> (eBay Top Rated Seller) and <code>PROMOTION</code>."
          }
        }
      },
      "EarningsSummary": {
        "type": "object",
        "required": [
          "grossAmount",
          "orderEarnings"
        ],
        "description": "This type defines a summarized view of earnings information derived from one order. It defines fields that provides a summarized view of earnings information derived from one order including aggregated financial values for gross amount, expenses, earnings, and refunds. ",
        "properties": {
          "expenses": {
            "description": "This container provides the total expenses associated with an order, including:<br><ul><li>Fees and fee credits (transaction fees, other fees, and ad fees)</li><li>Shipping labels</li><li>Donations</li></ul>It is used by both the <b>getOrderEarnings</b> and <b>getOrderEarningsById</b> methods. <p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Expenses are always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b> or converted from/to fields) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Expense"
          },
          "grossAmount": {
            "description": "This container shows the gross amount before any eBay deductions. This amount includes the item subtotal, buyer-paid shipping and handling, and seller-collected tax paid by the buyer. <br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>This amount does not include any taxes or fees that eBay collects from the buyer.</span></p><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Gross amount is always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b> or converted from/to fields) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          },
          "orderEarnings": {
            "description": "This container shows your earnings after deducting expenses and any refunds from your gross amount.<p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Order earnings are always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b> or converted from/to fields) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          },
          "refunds": {
            "description": "This container includes refunds for returns, cases, cancellations, requests, and disputes. It does not include fee credits.<br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Refunds are always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b> or converted from/to fields) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "category",
          "domain",
          "errorId",
          "message"
        ],
        "description": "This type defines the fields that can be returned in an error.",
        "properties": {
          "category": {
            "type": "string",
            "description": "Identifies the type of error.",
            "$ref": "#/components/schemas/ErrorCategoryEnum"
          },
          "domain": {
            "type": "string",
            "description": "Name for the primary system where the error occurred. This is relevant for application errors."
          },
          "errorId": {
            "type": "integer",
            "description": "A unique number to identify the error.",
            "format": "int32"
          },
          "inputRefIds": {
            "type": "array",
            "description": "An array of request elements most closely associated to the error.",
            "items": {
              "type": "string"
            }
          },
          "longMessage": {
            "type": "string",
            "description": "A more detailed explanation of the error."
          },
          "message": {
            "type": "string",
            "description": "Information on how to correct the problem, in the end user's terms and language where applicable."
          },
          "outputRefIds": {
            "type": "array",
            "description": "An array of request elements most closely associated to the error.",
            "items": {
              "type": "string"
            }
          },
          "parameters": {
            "type": "array",
            "description": "An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned.",
            "items": {
              "$ref": "#/components/schemas/ErrorParameter"
            }
          },
          "subdomain": {
            "type": "string",
            "description": "Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc."
          }
        }
      },
      "ErrorParameter": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The object of the error."
          },
          "value": {
            "type": "string",
            "description": "The value of the object."
          }
        }
      },
      "Expense": {
        "type": "object",
        "description": "This type defines provides the total expenses associated with an order. Expenses represent cost components that reduce the seller's gross earnings and may include deductions such as marketplace fees, eBay shipping labels, and donations, applied during order processing.",
        "properties": {
          "currency": {
            "description": "This field shows the three-letter currency code that represents the currency used for all of the order expenses.",
            "$ref": "#/components/schemas/CurrencyCodeEnum"
          },
          "donations": {
            "type": "array",
            "description": "This array shows the amount(s) of one or more donations that are submitted to eBay charity organizations for one or more orders. <br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Donations are always tied to specific items. When an item is listed with a charity contribution (for example, 10%), the donation is calculated per item at the time of sale. Order earnings factor in only the items within the order that are eligible for donation.</span></p>",
            "items": {
              "$ref": "#/components/schemas/OrderEarningFee"
            }
          },
          "marketplaceFees": {
            "type": "array",
            "description": "This array shows the type and amount(s) of marketplace fees that were charged against one or more orders.",
            "items": {
              "$ref": "#/components/schemas/OrderEarningFee"
            }
          },
          "shippingLabels": {
            "description": "This container shows the total amount paid by the seller for eBay shipping labels for one or more orders.<br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Charges and credits for shipping labels purchased with non-eBay payment methods (for example, PayPal) are excluded from the order earnings calculation.</span></p>",
            "$ref": "#/components/schemas/Amount"
          },
          "value": {
            "type": "string",
            "description": "This field shows the total expenses including charges and credits associated for one or more orders based on the order creation time period chosen."
          }
        }
      },
      "Fee": {
        "type": "object",
        "description": "This type is used for provide information about a fee that is charged against an order.",
        "properties": {
          "amount": {
            "description": "The monetary amount charged for the fee.",
            "$ref": "#/components/schemas/Amount"
          },
          "feeJurisdiction": {
            "description": "This type defines the jurisdiction associated with a fee. It identifies the geographic or regulatory context under which a specific fee is applied to an order.",
            "$ref": "#/components/schemas/FeeJurisdiction"
          },
          "feeMemo": {
            "type": "string",
            "description": "A descriptive message that provides additional context about the fee applied to the order."
          },
          "feeType": {
            "description": "The enumeration value returned here indicates the type of fee that was deducted from the seller payout.",
            "$ref": "#/components/schemas/FeeTypeEnum"
          }
        }
      },
      "FeeJurisdiction": {
        "type": "object",
        "description": "This type defines the jurisdiction information associated with a fee, identifying the geographic or regulatory region under which the fee is applied.",
        "properties": {
          "regionName": {
            "type": "string",
            "description": "The name of the region to which the fee applies.<br/><br/>The set of valid <b>regionName</b> values returned is determined by the corresponding <b>regionType</b> value.<br/><br/><span class=\"tablenote\"><strong>Note:</strong> Currently supported <b>regionName</b> values are standard two-character country or state codes.<br/><br/>Typical examples include:<ul><li><b>MX</b> (Mexico)</li><li><b>IN</b> (India)</li><li><b>US</b> (United States)</li><li><b>CA</b> (California)</li><li><b>VT</b> (Vermont)</li><li><b>ME</b> (Maine)</li></ul></span>"
          },
          "regionType": {
            "description": "This enumeration value indicates the type of region that the fee jurisdiction represents, such as a country or a state.",
            "$ref": "#/components/schemas/RegionTypeEnum"
          }
        }
      },
      "FilterField": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "The name of the field to filter on."
          },
          "negated": {
            "type": "boolean",
            "description": "When set to <code>true</code>, the filter criterion is negated (results that do NOT match the criterion are returned)."
          },
          "range": {
            "$ref": "#/components/schemas/RangeValue"
          },
          "set": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "An array of string values to filter on. Results matching any value in this set are returned."
          },
          "value": {
            "type": "string",
            "description": "A single string value to filter on."
          }
        },
        "description": "This type defines a single filter criterion, including the field name, an optional value or set of values, an optional date or numeric range, and an optional negation flag."
      },
      "FundingSource": {
        "type": "object",
        "description": "This type defines the source of funds used to finance a transfer, such as available seller funds, a credit card, or a bank account.",
        "properties": {
          "brand": {
            "type": "string",
            "description": "The brand name of the credit card or the name of the financial institution that is the source of payment. This field may not be populated for other funding sources."
          },
          "memo": {
            "type": "string",
            "description": "This field provides a note about the funding source. If the seller's credit card or bank account is the funding source, this field might contain the last four digits of the credit card or bank account. This field may also be returned as null."
          },
          "type": {
            "type": "string",
            "description": "The string value returned here indicates the funding source. Possible values include the following:<ul><li><code>AVAILABLE_FUNDS</code>: transfer is funded with seller payout funds</li><li><code>CREDIT_CARD</code>: transfer is funded with seller's credit card</li><li><code>BANK</code>: transfer is funded with a direct debit to seller's bank account on file with eBay</li><li><code>PAY_UPON_INVOICE</code>: eBay will bill the seller for the transfer on the monthly invoice</li></ul>"
          }
        }
      },
      "OrderEarning": {
        "type": "object",
        "required": [
          "orderCreationDate",
          "orderEarningsSummary"
        ],
        "description": "This type defines the earnings details for a single order. It includes information associated with the order, such as an informatiuon about the buyer, an order summary, and an order earnings summary.",
        "properties": {
          "buyer": {
            "description": "Information about the buyer associated with the order. Includes buyer name and public user id.",
            "$ref": "#/components/schemas/BuyerWithId"
          },
          "orderCreationDate": {
            "type": "string",
            "description": "The date the order was created and payment was successful."
          },
          "orderEarningsSummary": {
            "description": "This container defines a summarized view of earnings information derived from one order. It provides aggregated financial values for order earnings, gross amount, expenses, and refunds. Order earnings includes earnings after deducting expenses and refunds from the gross amount.",
            "$ref": "#/components/schemas/EarningsSummary"
          },
          "orderId": {
            "type": "string",
            "description": "The unique identifier of the order."
          },
          "orderLastModifiedDate": {
            "type": "string",
            "description": "The date when the order was last modified."
          },
          "orderSummary": {
            "description": "The container for order cost details, including line item subtotal, shipping and handling, seller-collected taxes, and any seller applied discounts. Always provided in the listing currency.",
            "$ref": "#/components/schemas/OrderSummary"
          }
        }
      },
      "OrderEarningFee": {
        "type": "object",
        "description": "This type is used to show the fee type and amount of the marketplace fee or donation.",
        "properties": {
          "amount": {
            "description": "The monetary amount of the expense.",
            "$ref": "#/components/schemas/Amount"
          },
          "feeType": {
            "description": "The classification of the fee applied to the order.",
            "$ref": "#/components/schemas/FeeTypeEnum"
          }
        }
      },
      "OrderEarnings": {
        "type": "object",
        "required": [
          "href",
          "limit"
        ],
        "description": "The base response type of the <b>getOrderEarnings</b> method, which includes pagination output fields and a collection of orders that match the request criteria.",
        "properties": {
          "href": {
            "type": "string",
            "description": "The URI for the current page of results."
          },
          "limit": {
            "type": "integer",
            "description": "The maximum number of order earnings records returned in a single page of results.",
            "format": "int64"
          },
          "next": {
            "type": "string",
            "description": "The URI for the next page of results. This field is only returned if there is a next page of results to retrieve."
          },
          "offset": {
            "type": "integer",
            "description": "The number of order earnings records skipped before returning the current page of results.",
            "format": "int64"
          },
          "orders": {
            "type": "array",
            "description": "The list of order earnings records returned in the current page of results. This array will be returned as empty if no orders match the request criteria.",
            "items": {
              "$ref": "#/components/schemas/OrderEarning"
            }
          },
          "prev": {
            "type": "string",
            "description": "The URI for the previous page of results. This field is only returned if there is a previous page of results to retrieve."
          },
          "total": {
            "type": "integer",
            "description": "The total number of order earnings records that match the request criteria.",
            "format": "int64"
          }
        }
      },
      "OrderEarningsSummary": {
        "type": "object",
        "description": "The base response type for the <b>getOrderEarningsSummary</b> method, which includes aggregate order earnings, expenses, gross amount, and order count for orders created within the date range and included in the summary.",
        "properties": {
          "expenses": {
            "description": "The aggregate amount of expenses for all orders included in the summary.<br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Expenses are always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b>) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          },
          "grossAmount": {
            "description": "The aggregate gross amount for all orders included in the order earnings summary. This amount equals the item subtotal plus shipping and handling, and any seller-collected taxes paid by the buyer, minus any seller-offered discount.<br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Gross amount is always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b>) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          },
          "orderCount": {
            "type": "integer",
            "description": "The total number of orders included in the summary.",
            "format": "int64"
          },
          "orderEarnings": {
            "description": "The aggregate earnings amount for all orders included in the summary, which includes the amount of order earnings after deducting expenses and any refunds from the gross amount.<p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Order earnings are always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b>) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          },
          "refunds": {
            "description": "The aggregate amount of all refunds issued for the orders included in the summary.<br><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Refunds include gross refunds, gross claims, and gross payment disputes.</span></p><p><span class=\"tablenote\"><span style=\"color:#004680\"><strong>Note: </strong>Refunds are always in the seller's payout currency. Conversion-related fields (such as <b>exchangeRate</b>) in this container do not apply to the <b>order_earnings</b> resource.</span></p>",
            "$ref": "#/components/schemas/Amount"
          }
        }
      },
      "OrderLineItem": {
        "type": "object",
        "description": "This type is used to show the fees and donations that are deducted from a seller payout for each line item in an order.",
        "properties": {
          "donations": {
            "type": "array",
            "description": "The list of donations applied to the line item.<br><br><span class=\"tablenote\"><b>Note: </b>Currently, this array is only returned if the seller chooses to donate a percentage of the sales proceeds to a charitable organization registered with the eBay for Charity program.</span>",
            "items": {
              "$ref": "#/components/schemas/Fee"
            }
          },
          "feeBasisAmount": {
            "description": "This amount is the order's total amount and equals what the buyer has paid. This value includes <b>transactions.amount</b>, <b>totalFeeAmount</b>, <b>eBayCollectedTaxAmount</b>, and shipping charges (if any).",
            "$ref": "#/components/schemas/Amount"
          },
          "lineItemId": {
            "type": "string",
            "description": "The unique identifier of an order line item."
          },
          "marketplaceFees": {
            "type": "array",
            "description": "An array of all fees accrued for the order line item and deducted from a seller payout.",
            "items": {
              "$ref": "#/components/schemas/Fee"
            }
          }
        }
      },
      "OrderSummary": {
        "type": "object",
        "description": "This type provides order cost details, including line item subtotal, shipping and handling, seller-collected taxes, and any seller applied discounts. Always provided in the listing currency.",
        "properties": {
          "discounts": {
            "description": "The total amount of item-level promotions or discounts offered by the seller for a sale (order).",
            "$ref": "#/components/schemas/Amount"
          },
          "itemSubtotal": {
            "description": "The sum of the listing price(s) for all items in the order, before applying any seller discounts.",
            "$ref": "#/components/schemas/Amount"
          },
          "sellerCollectedTaxes": {
            "description": "The total amount of <a href=\"https://www.ebay.com/help/selling/fees-credits-invoices/taxes-import-charges?id=4121\" target=\"_blank\">tax collected by the seller</a> on all sold items for the order.",
            "$ref": "#/components/schemas/Amount"
          },
          "shippingAndHandlingCosts": {
            "description": "The total amount collected from the buyer to cover shipping and handling for all items in the order.",
            "$ref": "#/components/schemas/Amount"
          }
        }
      },
      "Payout": {
        "type": "object",
        "required": [
          "amount",
          "payoutDate",
          "payoutId",
          "payoutInstrument",
          "payoutStatus",
          "payoutStatusDescription",
          "transactionCount"
        ],
        "description": "This type is used to express the details of one seller payout that is returned with the <strong>getPayout</strong> or <strong>getPayouts</strong> methods.",
        "properties": {
          "amount": {
            "description": "This is 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.",
            "$ref": "#/components/schemas/Amount"
          },
          "bankReference": {
            "type": "string",
            "description": "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."
          },
          "lastAttemptedPayoutDate": {
            "type": "string",
            "description": "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 <strong>payoutStatus</strong> value shows <code>RETRYABLE_FAILED</code> or <code>TERMINAL_FAILED</code>. A seller can filter on the <b>lastAttemptedPayoutDate</b> in a <b>getPayouts</b> request."
          },
          "payoutDate": {
            "type": "string",
            "description": "This timestamp indicates when the seller payout began processing. The following format is used: <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. For example, <code>2015-08-04T19:09:02.768Z</code>. This field is still returned even if the payout was pending but failed (<strong>payoutStatus</strong> value shows <code>RETRYABLE_FAILED</code> or <code>TERMINAL_FAILED</code>)."
          },
          "payoutId": {
            "type": "string",
            "description": "The unique identifier of the seller payout. This identifier is generated once eBay begins processing the payout to the seller's bank account."
          },
          "payoutInstrument": {
            "description": "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.",
            "$ref": "#/components/schemas/PayoutInstrument"
          },
          "payoutMemo": {
            "type": "string",
            "description": "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."
          },
          "payoutReference": {
            "type": "string",
            "description": "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. <br><br><span class=\"tablenote\"><b>Note: </b>Split-payout functionality will <b>only</b> be available to mainland China sellers.</span>"
          },
          "payoutStatus": {
            "description": "This enumeration value indicates the current status of the seller payout. For a successful payout, the value returned will be <code>SUCCEEDED</code>. See the <strong>PayoutStatusEnum</strong> type for more details on each payout status value.",
            "$ref": "#/components/schemas/PayoutStatusEnum"
          },
          "payoutStatusDescription": {
            "type": "string",
            "description": "This field provides more details about the current status of payout. The description returned here will correspond with enumeration value returned in the <strong>payoutStatus</strong> field. The following shows what description text might appear based on the different <strong>payoutStatus</strong> values:<ul><li><code>INITIATED</code>: <em>Preparing to send</em></li><li><code>SUCCEEDED</code>: <em>Funds sent</em></li><li><code>REVERSED</code>: <em>Waiting to retry : Money rejected by seller's bank</em></li><li><code>RETRYABLE_FAILED</code>: <em>Waiting to retry</em></li><li><code>TERMINAL_FAILED</code>: <em>Payout failed</em></li></ul>"
          },
          "totalAmount": {
            "description": "This container indicates the sum of a seller's net payout amount plus the <code>EXPRESS_PAYOUT_FEE</code> charged by eBay. The is expressed as a numeric value and the currency used.",
            "$ref": "#/components/schemas/Amount"
          },
          "totalFee": {
            "description": "This container indicates the amount of the <code>EXPRESS_PAYOUT_FEE</code> charged by eBay when a seller requests payout to a debit card. The fee is expressed as a numeric value and the currency used.",
            "$ref": "#/components/schemas/Amount"
          },
          "totalFeeDetails": {
            "type": "array",
            "description": "This array indicates all payout fees associated with a payout, including the fee type, amount, value, and currency.",
            "items": {
              "$ref": "#/components/schemas/Fee"
            }
          },
          "transactionCount": {
            "type": "integer",
            "description": "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 <code>1</code>, since there is at least one order per seller payout.<br/><br/>For split payouts, each of the two sibling payouts would be considered its own transaction. Because of this, if a seller had a payout for one order, but split the order between two accounts, the value would be <code>2</code> instead of <code>1</code>.<br><br><span class=\"tablenote\"><b>Note: </b>Split-payout functionality is <b>only</b> applicable to mainland China sellers. </span>",
            "format": "int64"
          }
        }
      },
      "PayoutDetails": {
        "type": "object",
        "description": "This type provide payout details for a split-payout case. This type is only applicable for split payouts.",
        "properties": {
          "payoutIds": {
            "type": "array",
            "description": "This array indicates the list of true(actual) payout ids associated with a split payout. These values can be used as a path parameter for the <b>getPayout</b> method to retrieve details on the associated payouts.",
            "items": {
              "type": "string"
            }
          },
          "payoutReference": {
            "type": "string",
            "description": "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. This value can be used by the <b>filter</b> query parameter of the <b>getPayouts</b> method to get the monetary details of each true(actual) payout associated with the payoutReference. <br><br><span class=\"tablenote\"><b>Note:</b>Split-payout functionality will <b>only</b> be available to mainland China sellers.</span>"
          }
        }
      },
      "PayoutInstrument": {
        "type": "object",
        "required": [
          "accountLastFourDigits",
          "instrumentType",
          "nickname"
        ],
        "description": "This type is used to provide details about one or two of the seller's accounts that are enabled to receive payouts.",
        "properties": {
          "accountLastFourDigits": {
            "type": "string",
            "description": "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."
          },
          "instrumentType": {
            "type": "string",
            "description": "This value indicates the type of account that received the payout. The value returned in this field may be:<br><ul><li><code>BANK</code>: indicates that the payout was made to a seller's bank account.</li><li><code>CARD</code>: indicates that the payout went to a seller's debit card</li><li>The name of a digital wallet provider or payment processor (e.g., <code>PAYONEER</code>)</li></ul><span class=\"tablenote\"><b>Note:</b> Only Payoneer is currently supported for sellers in mainland China. Card payouts are not currently available for sellers in mainland China.</span>"
          },
          "nickname": {
            "type": "string",
            "description": "When <b>instrumentType</b> returns <code>BANK</code>, this value is the seller-provided nickname that the seller uses to represent the bank account that receives the payout.<br><br>When <b>instrumentType</b> returns <code>CARD</code>, this value is the debit card network for the debit card that receives the payout.<br><br>When <b>instrumentType</b> returns a provider of digital wallet or payment processing services, the value returned is the name of the service provider (e.g., <code>PAYONEER</code>).<br><br><span class=\"tablenote\"><b>Note:</b> Card payouts are not currently available for sellers in mainland China.</span>"
          },
          "payoutPercentage": {
            "type": "string",
            "description": "This value indicates the current payout percentage allocated to a payout instrument. For example, <code>50</code> indicates that 50% of the payout goes to the instrument.<br><br>This field will be returned even when 100% of the payout funds are going to one payout instrument.<br><br>This field is only returned to sellers in mainland China."
          }
        }
      },
      "PayoutStatusEnum": {
        "type": "string",
        "description": "This enumeration type lists the different possible states of an eBay payout to a seller's account. | - **INITIATED**: This enumeration value indicates that a payout was initiated. - **SUCCEEDED**: This enumeration value indicates a successful payout. - **REVERSED**: This enumeration value indicates that the payout was reversed. - **RETRYABLE_FAILED**: This enumeration value indicates that a payout failed, but eBay will try to process it again. - **TERMINAL_FAILED**: This enumeration value indicates that a payout failed, and it will not be tried again.",
        "enum": [
          "INITIATED",
          "SUCCEEDED",
          "REVERSED",
          "RETRYABLE_FAILED",
          "TERMINAL_FAILED"
        ]
      },
      "PayoutSummaryResponse": {
        "type": "object",
        "required": [
          "payoutCount",
          "transactionCount"
        ],
        "description": "This type is the base response type of the <strong>getPayoutSummary</strong> method, and contains the total count of seller payouts (that match the input criteria), the total count of monetary transactions (order payment, buyer refunds, or seller credits) associated with those payouts, and the total value of those seller payouts.",
        "properties": {
          "amount": {
            "description": "This container shows the total value (and currency type used) of the seller payouts that match the input criteria. This field is not returned if there are no payouts that match the input criteria.",
            "$ref": "#/components/schemas/Amount"
          },
          "payoutCount": {
            "type": "integer",
            "description": "This integer value indicates the total count of payouts to the seller that match the input criteria. This field is always returned, even if there are no payouts that match the input criteria (its value will show <code>0</code>).",
            "format": "int64"
          },
          "transactionCount": {
            "type": "integer",
            "description": "This integer value indicates the total count of monetary transactions (order payments, buyer refunds, and seller credits) associated with the payouts that match the input criteria. This field is always returned, even if there are no payouts that match the input criteria (its value will show <code>0</code>). If there is at least one payout that matches the input criteria, the value in this field will be at least <code>1</code>.",
            "format": "int64"
          }
        }
      },
      "Payouts": {
        "type": "object",
        "required": [
          "href",
          "limit",
          "offset",
          "payouts",
          "total"
        ],
        "description": "This type is the base response type of the <strong>getPayouts</strong> method, and contains an array of one or more payouts (that match the input criteria), the total count of payouts in the response, and various pagination data for the results set.",
        "properties": {
          "href": {
            "type": "string",
            "description": "The URI of the <b>getPayouts</b> call request that produced the current page of the result set."
          },
          "limit": {
            "type": "integer",
            "description": "The maximum number of payouts that may be returned per page of the result set. The <strong>limit</strong> value can be passed in as a query parameter, or if omitted, its value defaults to <code>20</code>. <br><br><span class=\"tablenote\"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer payouts than the <strong>limit</strong> value.  To determine the number of pages in a result set, divide the <b>total</b> value (total number of payouts matching input criteria) by this <strong>limit</strong> value, and then round up to the next integer. For example, if the <b>total</b> value was <code>120</code> (120 total payouts) and the <strong>limit</strong> value was <code>50</code> (show 50 payouts per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getPayouts</strong> calls to view all payouts matching the input criteria. </span><br><br><b>Maximum:</b> <code>200</code> <br> <b>Default:</b> <code>20</code>",
            "format": "int64"
          },
          "next": {
            "type": "string",
            "description": "The <b>getPayouts</b> call URI to use if you wish to view the next page of the result set. <br><br>This field is only returned if there is a next page of results to view based on the current input criteria."
          },
          "offset": {
            "type": "integer",
            "description": "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 <strong>offset</strong> value in the request to <code>10</code>. <br><br>In the request, you can use the <b>offset</b> parameter in conjunction with the <b>limit</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>30</code> and <b>limit</b> is set to <code>10</code>, the call retrieves payouts 31 thru 40 from the resulting collection of payouts. <br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br><br><b>Default:</b> <code>0</code> (zero)",
            "format": "int64"
          },
          "payouts": {
            "type": "array",
            "description": "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.",
            "items": {
              "$ref": "#/components/schemas/Payout"
            }
          },
          "prev": {
            "type": "string",
            "description": "The <b>getPayouts</b> call URI to use if you wish to view the previous page of the result set. <br><br>This field is only returned if there is a previous page of results to view based on the current input criteria."
          },
          "total": {
            "type": "integer",
            "description": "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 <strong>limit</strong> and <strong>offset</strong> values, there may be additional pages in the results set.",
            "format": "int64"
          }
        }
      },
      "RangeValue": {
        "type": "object",
        "properties": {
          "end": {
            "type": "string",
            "description": "The end value of the range (inclusive by default)."
          },
          "exclusiveEnd": {
            "type": "boolean",
            "description": "When set to <code>true</code>, the end value is excluded from the range."
          },
          "exclusiveStart": {
            "type": "boolean",
            "description": "When set to <code>true</code>, the start value is excluded from the range."
          },
          "start": {
            "type": "string",
            "description": "The start value of the range (inclusive by default)."
          }
        },
        "description": "This type defines a range of values used for date or numeric filtering, with optional exclusive bounds for the start and end of the range."
      },
      "Reference": {
        "type": "object",
        "description": "This field is returned for NON_SALE_CHARGE transactions that contain non-transactional seller fees.",
        "properties": {
          "referenceId": {
            "type": "string",
            "description": "The identifier of the transaction as specified by the <strong>referenceType</strong>. For example, with a <strong>referenceType</strong> of <strong>item_id</strong>, the <strong>referenceId</strong> refers to a unique item. This item may have several <code>NON_SALE_CHARGE</code> transactions."
          },
          "referenceType": {
            "description": "An enumeration value that identifies the reference type associated with the <strong>referenceId</strong>.",
            "$ref": "#/components/schemas/ReferenceTypeEnum"
          }
        }
      },
      "RegionTypeEnum": {
        "type": "string",
        "description": "An enumerated value indicating the type of governing jurisdiction requiring the fee to be deducted from a seller's payout. | - **COUNTRY**: Indicates the governing jurisdiction is a country. - **STATE_OR_PROVINCE**: Indicates the governing jurisdiction is a state or province.",
        "enum": [
          "STATE_OR_PROVINCE",
          "COUNTRY"
        ]
      },
      "SellerFundsSummaryResponse": {
        "type": "object",
        "required": [
          "availableFunds",
          "fundsOnHold",
          "processingFunds"
        ],
        "description": "This type is used by the response payload of the <strong>getSellerFundsSummary</strong> method. All of the funds returned in  <strong>getSellerFundsSummary</strong> 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 <code>204 - No Content</code> is returned instead.",
        "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 <strong>getTransactions</strong> method, and use the <strong>transactionStatus</strong> filter with its value set to <code>FUNDS_AVAILABLE_FOR_PAYOUT</code>.<br><br>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 <strong>getTransactions</strong> method, and use the <strong>transactionStatus</strong> filter with its value set to <code>FUNDS_ON_HOLD</code>.<br><br>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 <strong>getTransactions</strong> method, and use the <strong>transactionStatus</strong> filter with its value set to <code>FUNDS_PROCESSING</code>.<br><br>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:<br><ul><li><b>processingFunds</b></li><li><b>availableFunds</b></li><li><b>fundsOnHold</b></li></ul><br>If no payout funds are due to the seller, a <code>204 - No Content</code>  status code will be returned along with an empty payload.",
            "$ref": "#/components/schemas/Amount"
          }
        }
      },
      "SortField": {
        "type": "object",
        "properties": {
          "ascending": {
            "type": "boolean",
            "description": "When set to <code>true</code>, results are sorted in ascending order. When <code>false</code> or omitted, results are sorted in descending order (most recent first)."
          },
          "field": {
            "type": "string",
            "description": "The name of the field to sort by."
          }
        },
        "description": "This type defines the sort criterion for a collection of resources, specifying the field to sort on and the sort direction."
      },
      "Tax": {
        "type": "object",
        "description": "This type defines tax information associated with a transaction.",
        "properties": {
          "taxType": {
            "description": "The type of tax applied to the transaction.",
            "$ref": "#/components/schemas/TaxTypeEnum"
          },
          "amount": {
            "description": "The monetary amount of the tax applied.",
            "$ref": "#/components/schemas/Amount"
          }
        }
      },
      "TaxTypeEnum": {
        "type": "string",
        "description": "This enumerated type lists the type of taxes that can be charged against monetary transactions. | - **VAT**: VAT is Value-Added Tax. ",
        "enum": [
          "VAT"
        ]
      },
      "TransactionStatusEnum": {
        "type": "string",
        "description": "This enumeration type lists the different possible states of a monetary transaction, including payouts to sellers, refunds to buyers, and credits to a seller's account. <p> <span class=\"tablenote\"><b>Note:</b> The enumerations <strong>COMPLETED</strong> and <strong>FAILED </strong> apply to monetary transactions with the <strong>transactionType</strong> of <code>TRANSFER</code>. They only apply to monetary transactions where eBay is billing the seller for reimbursement of a charge. An example of a transfer is a seller reimbursing eBay for a buyer refund.</span></p> | - **FUNDS_ON_HOLD**: This enumeration value indicates that the funds for the monetary transaction are currently being held. - **FUNDS_PROCESSING**: This enumeration value indicates that the monetary transaction is being processed. - **FUNDS_AVAILABLE_FOR_PAYOUT**: This enumeration value indicates that the corresponding transaction is available for a seller payout. - **PAYOUT**: This enumeration value indicates that the corresponding transaction has been paid out to the seller's account. - **COMPLETED**: This enumeration value indicates that the corresponding transaction has completed and funds have been transferred to eBay. No additional action is required. See <b>Note</b>. - **FAILED**: This enumeration value indicates that the corresponding transaction failed and funds have not been transferred to eBay. This does not indicate release of seller's responsibilities for required reimbursement. See <b>Note</b>. ",
        "enum": [
          "FUNDS_ON_HOLD",
          "FUNDS_PROCESSING",
          "FUNDS_AVAILABLE_FOR_PAYOUT",
          "PAYOUT",
          "COMPLETED",
          "FAILED"
        ]
      },
      "TransactionTypeEnum": {
        "type": "string",
        "description": "This enumeration type defines the type of monetary transactions retrieved with the <b>getTransactions</b> method. | - **SALE**: This enumeration value indicates that the monetary transaction type is the sale of an order. - **REFUND**: This enumeration value indicates that the monetary transaction type is a buyer refund. - **CREDIT**: This enumeration value indicates that the monetary transaction type is a credit to the seller's account. - **DISPUTE**: This enumeration value indicates that the monetary transaction type involves a payment dispute between the buyer and seller. - **SHIPPING_LABEL**: This enumeration value indicates that the monetary transaction type involves eBay billing the seller for the purchase of an eBay shipping label. Note that the shipping label functionality will initially only be available to a select number of sellers.<br><br><b>Note</b>: eBay shipping label transactions paid through PayPal are not currently supported by the Finances API, and will not be returned in the response. - **TRANSFER**: This enumeration value indicates that the monetary transaction type involves a seller transferring money to eBay for reimbursement of a charge. For example, when a seller reimburses eBay for a buyer refund. - **NON_SALE_CHARGE**: This enumeration value indicates that the monetary transaction involves a non-transactional fee billed to the seller by eBay. These fees can include listing and listing upgrade fees, eBay store or other subscription fees, and ad fees. - **ADJUSTMENT**: This enumeration value indicates that the monetary transaction type is an adjustment (credit or debit) to the seller's account. - **WITHDRAWAL**: This enumeration value indicates that the monetary transaction type is an on-demand payout to the seller's account. If funds are available, a seller can request an on-demand payout.<br><br><b>Note</b>: On-demand payout is not available for sellers who are already on a <b>daily</b> payout schedule. In order to initiate an on-demand payout, a seller must be on a <b>weekly</b>, <b>bi-weekly</b>, or <b>monthly</b> payout schedule. - **LOAN_REPAYMENT**: This enumeration value indicates that the monetary transaction type is a loan repayment transaction.<br><br><b>Note</b>: eBay Seller Capital financing is only available in select marketplaces. Refer to  <a href=\"/api-docs/sell/finances/overview.html#loans\" target=\"_blank\">Marketplace availability for eBay Seller Capital funding program</a> for current marketplace eligibility. - **PURCHASE**: This enumeration value indicates that the monetary transaction type is the purchase of an item by a seller using spendable funds.<br><br><b>Note</b>: This transaction type is currently only applicable in the US marketplace.",
        "enum": [
          "SALE",
          "REFUND",
          "CREDIT",
          "DISPUTE",
          "SHIPPING_LABEL",
          "TRANSFER",
          "NON_SALE_CHARGE",
          "ADJUSTMENT",
          "WITHDRAWAL",
          "LOAN_REPAYMENT",
          "PURCHASE"
        ]
      },
      "Transactions": {
        "type": "object",
        "required": [
          "href",
          "limit",
          "offset",
          "total",
          "transactions"
        ],
        "description": "This is the base response type of the <b>getTransactions</b> method. The <b>getTransactions</b> response includes details on one or more monetary transactions that match the input criteria, as well as pagination data. ",
        "properties": {
          "href": {
            "type": "string",
            "description": "The URI of the <b>getTransactions</b> method request that produced the current page of the result set."
          },
          "limit": {
            "type": "integer",
            "description": "The maximum number of monetary transactions that may be returned per page of the result set. The <strong>limit</strong> value can be passed in as a query parameter, or if omitted, its value defaults to <code>20</code>. <br><br><span class=\"tablenote\"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer monetary transactions than the <strong>limit</strong> value.  To determine the number of pages in a result set, divide the <b>total</b> value (total number of monetary transactions matching input criteria) by this <strong>limit</strong> value, and then round up to the next integer. For example, if the <b>total</b> value was <code>120</code> (120 total monetary transactions) and the <strong>limit</strong> value was <code>50</code> (show 50 monetary transactions per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getTransactions</strong> calls to view all monetary transactions matching the input criteria. </span><br><br><b>Maximum:</b> <code>200</code> <br> <b>Default:</b> <code>20</code>",
            "format": "int64"
          },
          "next": {
            "type": "string",
            "description": "The <b>getTransactions</b> method URI to use if you wish to view the next page of the result set. <br><br>This field is only returned if there is a next page of results to view based on the current input criteria."
          },
          "offset": {
            "type": "integer",
            "description": "This integer value indicates the actual position that the first monetary transaction returned on the current page has in the results set. So, if you wanted to view the 11th monetary transaction of the result set, you would set the <strong>offset</strong> value in the request to <code>10</code>. <br><br>In the request, you can use the <b>offset</b> parameter in conjunction with the <b>limit</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>30</code> and <b>limit</b> is set to <code>10</code>, the method retrieves monetary transactions 31 thru 40 from the resulting collection of monetary transactions. <br><br> <span class=\"tablenote\"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br><br><b>Default:</b> <code>0</code> (zero)",
            "format": "int64"
          },
          "prev": {
            "type": "string",
            "description": "The <b>getTransactions</b> method URI to use if you wish to view the previous page of the result set. <br><br>This field is only returned if there is a previous page of results to view based on the current input criteria."
          },
          "total": {
            "type": "integer",
            "description": "This integer value is the total amount of monetary transactions in the result set based on the current input criteria. Based on the total number of monetary transactions that match the criteria, and on the <strong>limit</strong> and <strong>offset</strong> values, there may be additional pages in the results set.",
            "format": "int64"
          },
          "transactions": {
            "type": "array",
            "description": "An array of one or more monetary transactions that match the input criteria. Details for each monetary transaction may include the unique identifier of the order associated with the monetary transaction, the status of the transaction, the amount of the order, the order's buyer, and the unique identifier of the payout (if a payout has been initiated/issued for the order).",
            "items": {
              "$ref": "#/components/schemas/Transaction"
            }
          }
        }
      },
      "Transfer": {
        "type": "object",
        "required": [
          "transactionDate",
          "transferAmount",
          "transferId"
        ],
        "description": "This type is the base response type used by <code>TRANSFER</code> transaction type that is returned in the response.",
        "properties": {
          "fundingSource": {
            "description": "This container provides details about the seller's funding source to reimburse eBay for the transfer, such as a bank account, a credit card, or available seller payout funds.",
            "$ref": "#/components/schemas/FundingSource"
          },
          "transactionDate": {
            "type": "string",
            "description": "This timestamp indicates the date/time of the transfer. The following (UTC) format is used: <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. For example, <code>2020-08-04T19:09:02.768Z</code>"
          },
          "transferAmount": {
            "description": "The amount of the transfer being deducted from the funding source.",
            "$ref": "#/components/schemas/Amount"
          },
          "transferDetail": {
            "description": "This container provides more details about the transfer, including details on the charge(s) associated with the transfer. Multiple charges can be addressed with one transfer.",
            "$ref": "#/components/schemas/TransferDetail"
          },
          "transferId": {
            "type": "string",
            "description": "The unique identifier of the <code>TRANSFER</code> transaction type. This is the same value that was passed into the end of the call URI."
          }
        }
      },
      "TransferDetail": {
        "type": "object",
        "description": "This type is used by the <b>transferDetail</b> container, which provides more details about the transfer and the charge(s) associated with the transfer.",
        "properties": {
          "balanceAdjustment": {
            "description": "This container shows the seller payout balance that will be applied toward the charges outlined in the <b>charges</b> array.",
            "$ref": "#/components/schemas/BalanceAdjustment"
          },
          "charges": {
            "type": "array",
            "description": "This container is an array of one or more charges related to the transfer. Charges can be related to an order cancellation, order return, case, payment dispute, etc.",
            "items": {
              "$ref": "#/components/schemas/Charge"
            }
          },
          "totalChargeNetAmount": {
            "description": "This container shows the total amount that the seller owes for all of the charges outlined in the <b>charges</b> array.",
            "$ref": "#/components/schemas/Amount"
          }
        }
      },
      "ErrorCategoryEnum": {
        "type": "string",
        "enum": [
          "APPLICATION",
          "BUSINESS",
          "REQUEST"
        ],
        "description": "This enumerated type identifies the category of an error returned in the response.\n| - **APPLICATION**: Indicates a server-side application error.\n- **BUSINESS**: Indicates that the error is due to a business rule violation.\n- **REQUEST**: Indicates that the error is caused by an invalid or missing value in the request."
      },
      "MarketplaceIdEnum": {
        "type": "string",
        "description": "Defines the list of valid eBay marketplaces.",
        "enum": [
          "EBAY_US",
          "EBAY_CA",
          "EBAY_GB",
          "EBAY_AU",
          "EBAY_AT",
          "EBAY_BE",
          "EBAY_DE",
          "EBAY_IT",
          "EBAY_NL",
          "EBAY_ES",
          "EBAY_CH",
          "EBAY_TW",
          "EBAY_CZ",
          "EBAY_DK",
          "EBAY_FI",
          "EBAY_FR",
          "EBAY_GR",
          "EBAY_HK",
          "EBAY_HU",
          "EBAY_IN",
          "EBAY_ID",
          "EBAY_IE",
          "EBAY_IL",
          "EBAY_MY",
          "EBAY_NZ",
          "EBAY_NO",
          "EBAY_PH",
          "EBAY_PL",
          "EBAY_PT",
          "EBAY_PR",
          "EBAY_RU",
          "EBAY_SG",
          "EBAY_ZA",
          "EBAY_SE",
          "EBAY_TH",
          "EBAY_VN",
          "EBAY_CN",
          "EBAY_JP",
          "EBAY_PE",
          "EBAY_MOTORS_US"
        ]
      },
      "ReferenceTypeEnum": {
        "type": "string",
        "description": "An enumerated type that identifies the type of reference ID provided. | - **CANCELLATION_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a cancellation. - **CASE_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a case. - **INVOICE**: This enumeration value indicates that the ID provided refers to the unique identifier of an invoice. It indicates that the seller will be billed by invoice, and fees will not be deducted from the payout.<br><br><b>Note</b>: This enumeration value applies only to <code>NON_SALE_CHARGE transactions</code>. - **ITEM_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of an item. It is used to identify listing-related fees.<br><br><b>Note</b>: This enumeration value applies only to NON_SALE_CHARGE transactions. - **ORDER_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of an order.<br><br><b>Note</b>: This enumeration value applies only to sales/transactions-related fees. - **PAYMENTS_DISPUTE_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a payment dispute. - **REFUND_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a refund. - **LOAN_REPAYMENT_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a repayment transaction.<br><br><b>Note</b>: This is an externally assigned reference ID. It cannot be used to filter transactions. - **RETURN_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a return. - **PAYOUT_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a payout. - **PSNAD_ID**: This enumeration value indicates that the ID provided refers to the unique identifier of a Partial Significantly Not as Described (PSNAD) claim filed against an order.",
        "enum": [
          "INVOICE",
          "ITEM_ID",
          "ORDER_ID",
          "CASE_ID",
          "CANCELLATION_ID",
          "REFUND_ID",
          "RETURN_ID",
          "PAYMENTS_DISPUTE_ID",
          "PAYOUT_ID",
          "LOAN_REPAYMENT_ID",
          "PSNAD_ID"
        ]
      },
      "CurrencyCodeEnum": {
        "type": "string",
        "description": "This enumerated type lists the three-letter <a href=\"https://www.iso.org/iso-4217-currency-codes.html \" title=\"https://www.iso.org \" target=\"_blank\">ISO 4217</a> code representing the supported world currencies.\n| - **AED**: United Arab Emirates Dirham\n- **AFN**: Afghan Afghani\n- **ALL**: Albanian Lek\n- **AMD**: Armenian Dram\n- **AOA**: Angolan Kwanza\n- **ARS**: Argentine Peso\n- **AWG**: Aruban Florin\n- **AZN**: Azerbaijani Manat\n- **BAM**: Bosnia-Herzegovina Convertible Mark\n- **BBD**: Barbadian Dollar\n- **BDT**: Bangladeshi Taka\n- **BGN**: Bulgarian Lev\n- **BHD**: Bahraini Dinar\n- **BIF**: Burundian Franc\n- **BMD**: Bermudian Dollar\n- **BND**: Brunei Dollar\n- **BOB**: Bolivian Boliviano\n- **BRL**: Brazilian Real\n- **BSD**: Bahamian Dollar\n- **BTN**: Bhutanese Ngultrum\n- **BWP**: Botswanan Pula\n- **BYR**: Belarusian Ruble\n- **BZD**: Belize Dollar\n- **CAD**: Canadian Dollar\n- **CDF**: Congolese Franc\n- **CLP**: Chilean Peso\n- **CNY**: Chinese Yuan\n- **COP**: Colombian Peso\n- **CRC**: Costa Rican Colon\n- **CUP**: Cuban Peso\n- **CVE**: Cape Verdean Escudo\n- **CZK**: Czech Koruna\n- **DJF**: Djiboutian Franc\n- **DOP**: Dominican Peso\n- **DZD**: Algerian Dinar\n- **EGP**: Egyptian Pound\n- **ERN**: Eritrean Nakfa\n- **ETB**: Ethiopian Birr\n- **FJD**: Fijian Dollar\n- **FKP**: Falkland Islands Pound\n- **GEL**: Georgian Lari\n- **GHS**: Ghanaian Cedi\n- **GIP**: Gibraltar Pound\n- **DKK**: Danish Krone\n- **GMD**: Gambian Dalasi\n- **GNF**: Guinean Franc\n- **GTQ**: Guatemalan Quetzal\n- **GYD**: Guyanaese Dollar\n- **HKD**: Hong Kong Dollar\n- **HNL**: Honduran Lempira\n- **HRK**: Croatian Kuna\n- **HTG**: Haitian Gourde\n- **HUF**: Hungarian Forint\n- **IDR**: Indonesian Rupiah\n- **INR**: Indian Rupee\n- **IQD**: Iraqi Dinar\n- **IRR**: Iranian Rial\n- **ISK**: Icelandic Krona\n- **GBP**: British Pound Sterling\n- **JMD**: Jamaican Dollar\n- **JOD**: Jordanian Dinar\n- **JPY**: Japanese Yen\n- **KES**: Kenyan Shilling\n- **KGS**: Kyrgystani Som\n- **KHR**: Cambodian Riel\n- **KMF**: Comorian Franc\n- **KPW**: North Korean Won\n- **KRW**: South Korean Won\n- **KWD**: Kuwaiti Dinar\n- **KYD**: Cayman Islands Dollar\n- **KZT**: Kazakhstani Tenge\n- **LAK**: Laotian Kip\n- **LBP**: Lebanese Pound\n- **CHF**: Swiss Franc\n- **LKR**: Sri Lankan Rupee\n- **LRD**: Liberian Dollar\n- **LSL**: Lesotho Loti\n- **LTL**: Lithuanian Litas\n- **LYD**: Libyan Dinar\n- **MAD**: Moroccan Dirham\n- **MDL**: Moldovan Leu\n- **MGA**: Malagasy Ariary\n- **MKD**: Macedonian Denar\n- **MMK**: Myanma Kyat\n- **MNT**: Mongolian Tugrik\n- **MOP**: Macanese Pataca\n- **MRO**: Mauritanian Ouguiya\n- **XCD**: East Caribbean Dollar\n- **MUR**: Mauritian Rupee\n- **MVR**: Maldivian Rufiyaa\n- **MWK**: Malawian Kwacha\n- **MXN**: Mexican Peso\n- **MYR**: Malaysian Ringgit\n- **MZN**: Mozambican Metical\n- **NAD**: Namibian Dollar\n- **NGN**: Nigerian Naira\n- **NIO**: Nicaraguan Cordoba\n- **NPR**: Nepalese Rupee\n- **OMR**: Omani Rial\n- **PAB**: Panamanian Balboa\n- **PEN**: Peruvian Nuevo Sol\n- **XPF**: CFP Franc\n- **PGK**: Papua New Guinean Kina\n- **PHP**: Philippine Peso\n- **PKR**: Pakistani Rupee\n- **PLN**: Polish Zloty\n- **ILS**: Israeli New Sheqel\n- **PYG**: Paraguayan Guarani\n- **QAR**: Qatari Rial\n- **RON**: Romanian Leu\n- **RSD**: Serbian Dinar\n- **RUB**: Russian Ruble\n- **RWF**: Rwandan Franc\n- **SAR**: Saudi Riyal\n- **SBD**: Solomon Islands Dollar\n- **SCR**: Seychellois Rupee\n- **SDG**: Sudanese Pound\n- **SEK**: Swedish Krona\n- **SGD**: Singapore Dollar\n- **SHP**: Saint Helena Pound\n- **NOK**: Norwegian Krone\n- **SLL**: Sierra Leonean Leone\n- **SOS**: Somali Shilling\n- **SRD**: Surinamese Dollar\n- **STD**: Sao Tome and Principe Dobra\n- **ANG**: Netherlands Antillean Guilder\n- **SYP**: Syrian Pound\n- **SZL**: Swazi Lilangeni\n- **XAF**: CFA Franc BEAC\n- **XOF**: CFA Franc BCEAO\n- **THB**: Thai Baht\n- **TJS**: Tajikistani Somoni\n- **NZD**: New Zealand Dollar\n- **TMT**: Turkmenistani Manat\n- **TND**: Tunisian Dinar\n- **TOP**: Tongan Paanga\n- **TRY**: Turkish Lira\n- **TTD**: Trinidad and Tobago Dollar\n- **AUD**: Australian Dollar\n- **TWD**: New Taiwan Dollar\n- **TZS**: Tanzanian Shilling\n- **UAH**: Ukrainian Hryvnia\n- **UGX**: Ugandan Shilling\n- **USD**: United States Dollar\n- **UYU**: Uruguayan Peso\n- **UZS**: Uzbekistan Som\n- **VEF**: Venezuelan Bolivar Fuerte\n- **VND**: Vietnamese Dong\n- **VUV**: Vanuatu Vatu\n- **WST**: Samoan Tala\n- **YER**: Yemeni Rial\n- **EUR**: Euro\n- **ZAR**: South African Rand\n- **ZMW**: Zambian Kwacha\n- **ZWL**: Zimbabwean Dollar",
        "enum": [
          "AED",
          "AFN",
          "ALL",
          "AMD",
          "AOA",
          "ARS",
          "AWG",
          "AZN",
          "BAM",
          "BBD",
          "BDT",
          "BGN",
          "BHD",
          "BIF",
          "BMD",
          "BND",
          "BOB",
          "BRL",
          "BSD",
          "BTN",
          "BWP",
          "BYR",
          "BZD",
          "CAD",
          "CDF",
          "CLP",
          "CNY",
          "COP",
          "CRC",
          "CUP",
          "CVE",
          "CZK",
          "DJF",
          "DOP",
          "DZD",
          "EGP",
          "ERN",
          "ETB",
          "FJD",
          "FKP",
          "GEL",
          "GHS",
          "GIP",
          "DKK",
          "GMD",
          "GNF",
          "GTQ",
          "GYD",
          "HKD",
          "HNL",
          "HRK",
          "HTG",
          "HUF",
          "IDR",
          "INR",
          "IQD",
          "IRR",
          "ISK",
          "GBP",
          "JMD",
          "JOD",
          "JPY",
          "KES",
          "KGS",
          "KHR",
          "KMF",
          "KPW",
          "KRW",
          "KWD",
          "KYD",
          "KZT",
          "LAK",
          "LBP",
          "CHF",
          "LKR",
          "LRD",
          "LSL",
          "LTL",
          "LYD",
          "MAD",
          "MDL",
          "MGA",
          "MKD",
          "MMK",
          "MNT",
          "MOP",
          "MRO",
          "XCD",
          "MUR",
          "MVR",
          "MWK",
          "MXN",
          "MYR",
          "MZN",
          "NAD",
          "NGN",
          "NIO",
          "NPR",
          "OMR",
          "PAB",
          "PEN",
          "XPF",
          "PGK",
          "PHP",
          "PKR",
          "PLN",
          "ILS",
          "PYG",
          "QAR",
          "RON",
          "RSD",
          "RUB",
          "RWF",
          "SAR",
          "SBD",
          "SCR",
          "SDG",
          "SEK",
          "SGD",
          "SHP",
          "NOK",
          "SLL",
          "SOS",
          "SRD",
          "STD",
          "ANG",
          "SYP",
          "SZL",
          "XAF",
          "XOF",
          "THB",
          "TJS",
          "NZD",
          "TMT",
          "TND",
          "TOP",
          "TRY",
          "TTD",
          "AUD",
          "TWD",
          "TZS",
          "UAH",
          "UGX",
          "USD",
          "UYU",
          "UZS",
          "VEF",
          "VND",
          "VUV",
          "WST",
          "YER",
          "EUR",
          "ZAR",
          "ZMW",
          "ZWL"
        ]
      },
      "FeeTypeEnum": {
        "type": "string",
        "description": "This enumerated type shows the fees that are automatically deducted from seller payouts. | - **BELOW_STANDARD_FEE**: This fee is charged to Below Standard sellers in addition to the <code>FINAL_VALUE_FEE</code>, and is based on a percentage of the order line item cost. - **BELOW_STANDARD_SHIPPING_FEE**: This fee is charged to Below Standard sellers in addition to the <code>FINAL_VALUE_FEE</code>, and is based on a percentage of the shipping cost for an order line item.<br><br><b>Note</b>: This fee is bundled with the <code>BELOW_STANDARD_FEE</code> and not returned separately. - **FINAL_VALUE_FEE_FIXED_PER_ORDER**: This fee is a fixed-cost fee charged by eBay for every order (regardless of how many line items are in the order). This fee can vary by country. - **FINAL_VALUE_FEE**: This final value fee is charged to Above Standard and Top-rated sellers, and is based on a percentage of the order line item cost. The percentage varies by eBay category. - **INTERNATIONAL_FEE**: This fee is an international fee associated with an order line item if the seller's eBay registered address country is different than the buyer's registered address or delivery address. This fee is calculated as a percentage of the total amount of the order line item. - **HIGH_ITEM_NOT_AS_DESCRIBED_FEE**: This fee may apply if a seller has a high number of 'not as described' claims, and is based on a percentage of the order line item cost. - **HIGH_ITEM_NOT_AS_DESCRIBED_SHIPPING_FEE**: This fee may apply if a seller has a high number of 'not as described' claims, and is based on a percentage of the shipping cost for the order line item.<br><br><b>Note</b>: This fee is bundled with the <code>HIGH_ITEM_NOT_AS_DESCRIBED_FEE</code> and not returned separately. - **PAYMENT_PROCESSING_FEE**: This is a payment processing fee charged for each order.<br><br><b>Note</b>: This fee is bundled with the <code>FINAL_VALUE_FEE_FIXED_PER_ORDER</code> and not returned separately. - **FINAL_VALUE_SHIPPING_FEE**: This final value fee is charged to Above Standard and Top-rated sellers, and is based on a percentage of the shipping cost for the order line item. The percentage varies by eBay category.<br><br><b>Note</b>: This fee is bundled with the <code>FINAL_VALUE_FEE</code> and not returned separately. - **INSERTION_FEE**: This enumeration value indicates that the account entry is an insertion fee for a listing. - **BOLD_FEE**: This enumeration value indicates that the account entry is a listing upgrade fee or credit for a listing title in boldface font. - **FINANCE_FEE**: This enumeration value indicates that the account entry is a finance charge to the user's account. - **CATEGORY_FEATURED_FEE**: This enumeration value indicates that the account entry is a credit for a listing upgrade fee for featuring the listing on an eBay category page relevant to the item.<br><br><b>Note</b>: This feature is no longer available to most marketplaces and sellers. - **NSFCHECK_FEE**: This enumeration value indicates that the account entry is a fee charged by eBay when the seller's check does not clear due to insufficient funds. - **PROMOTIONAL_CREDIT**: This enumeration value indicates that the account entry is a promotional credit issued by eBay. - **GALLERY_FEE**: This enumeration value indicates that the account entry is a fee charged or credit issued by eBay for listing an item in the Picture Gallery. - **FEATURED_GALLERY_FEE**: This enumeration value indicates that the account entry is a fee charged or credit issued by eBay for listing an item in the Featured section at the top of the Picture Gallery page. - **RESERVE_PRICE_FEE**: This enumeration value indicates that the account entry is a fee charged or a credit refunded to the seller for a reserve price that was set for an auction listing. - **IPIXPHOTO_FEE**: This enumeration value is no longer applicable as the iPix photo feature is no longer available on any eBay marketplace. - **LARGE_PICTURE_FEE**: This enumeration value indicates that the account entry is a fee charged by eBay for a super-sized picture in a listing. - **EBAY_STORE_SUBSCRIPTION_FEE**: This enumeration value indicates that the account entry is a monthly subscription fee charged or a credit issued toward the user's eBay Store. - **BUY_IT_NOW_FEE**: This enumeration value indicates that the account entry is a fee charged or a credit issued by eBay if the seller uses the 'Buy It Now' feature on an auction listing. - **SUBTITLE_FEE**: This enumeration value indicates the account entry is a fee charged to the seller for adding a subtitle to a listing or a credit issued from eBay. - **INTERNATIONAL_LISTING_FEE**: This enumeration value indicates that the account entry is a 'cross-border trade' fee or credit. - **PRO_PACK_BUNDLE_FEE**: This enumeration value indicates the account entry is a credit towards the fee charged to the seller for using the Pro Pack Bundle feature pack. - **MARKETPLACE_RESEARCH_PRO_SUBSCRIPTION_FEE**: This enumeration value indicates that the account entry is a fee or a credit toward a fee for a Terapeak Research pro subscription. - **VEHICLE_LOCAL_SUBSCRIPTION_FEE**: This enumeration value indicates that the account entry is a monthly subscription fee or a credit toward a monthly subscription fee charged for a National Vehicle subscription. - **VEHICLE_LOCAL_INSERTION_FEE**: This enumeration value indicates that the account entry is an insertion fee or a credit for a Motors local listing. - **VALUE_PACK_BUNDLE_FEE**: This enumeration value indicates the account entry is a fee charged or a credit towards the fee charged by eBay to the seller for using the Value Pack Bundle feature pack. - **PRO_PACK_PLUS_BUNDLE_FEE**: This enumeration value indicates the account entry is a fee charged by eBay to the seller for using the Pro Pack Plus Bundle feature pack. - **GALLERY_PLUS_FEE**: This enumeration value indicates that the account entry is a fee charged or a credit towards a fee charged by eBay for listing an item with the Gallery Plus feature. - **EBAY_MOTORS_PRO_FEE**: This enumeration value indicates that the account entry is an eBay Motors Pro fee or a credit towards an eBay Motors Pro fee. Applies to eBay Motors Pro registered dealers only. - **PRIVATE_LISTING_FEE**: This enumeration value indicates that the account entry is a fee for a private listing or a credit towards a fee charged. - **AUCTION_END_EARLY_FEE**: This enumeration value indicates that the account entry is a fee charged to the seller's account if the seller ends an auction (with bids) early. - **STORE_SUBSCRIPTION_EARLY_TERMINATION_FEE**: This enumeration value indicates that the account entry is a fee charged or a credit toward a fee charged for early termination of an eBay Stores subscription. - **AD_FEE**: This enumeration value indicates that the account entry is a fee charged or a credit issued for an Ad on eBay. - **EBAY_PLUS_SUBSCRIPTION_FEE**: This enumeration value indicates that the account entry is an annual subscription fee charged a credit toward an annual subscription fee for an eBay Plus subscription. - **VEHICLE_SUBSCRIPTION_FEE**: This enumeration value indicates that the account entry is a monthly subscription fee charged a credit toward a monthly subscription fee for a National Vehicle subscription. - **CO_FUNDING_COUPON_FEE**: This enumeration value indicates that eBay is billing the seller or giving credit to the seller for a co-funding charge. - **PAYMENT_DISPUTE_FEE**: This enumeration value indicates the credit is a charge or a seller reimbursement for an eBay payment dispute fee. - **PREMIUM_AD_FEES**: This enumeration value indicates the invoice charged or the credit issued was for a Premium Ad Fee. - **VEHICLES_BASIC_PACKAGE_FEE**: This enumeration value indicates the invoice charged or the credit issued was for a Vehicles Listing Basic Package fee. - **VEHICLES_PLUS_PACKAGE_FEE**: This enumeration value indicates the invoice charged or the credit issued was for a Vehicles Listing Plus Package fee. - **VEHICLES_PREMIUM_PACKAGE_FEE**: This enumeration value indicates the invoice charged or the credit issued was for a Vehicles Listing Premium Package fee. - **DEPOSIT_PROCESSING_FEE**: This fee is charged to a seller when they sell a motor vehicle and require a deposit from the buyer. - **EXPRESS_PAYOUT_FEE**: This is the fee charged by eBay when a seller requests a payout through a debit card.<br><br><b>Note</b>: If the requested payout to a debit card fails, the <code>EXPRESS_PAYOUT_FEE</code> will be credited back to the seller's account. - **TAX_DEDUCTION_AT_SOURCE**: This enumeration value indicates the account entry is the tax amount automatically deducted from a seller's payout. - **INCOME_TAX_WITHHOLDING**: This enumeration value indicates the account entry is the required income tax amount deducted from a seller's payout. - **VAT_WITHHOLDING**: This enumeration value indicates that the account entry is the required VAT amount deducted from the seller's payout. - **BANK_PAYOUT_FEE**: This enumeration value indicates that a fee is charged by eBay when a seller requests a payout through a bank account.<br><br><b>Note</b>: <code>BANK_PAYOUT_FEE</code> is only applicable for CNY sellers and when the <b>payoutInstrumentType</b> is <code>BANK</code>. - **CHARITY_DONATION**: This enumeration value indicates the charitable donations against a sale. - **REGULATORY_OPERATING_FEE**: This enumeration value indicates that a fee is charged by eBay to cover the costs associated with complying with regulatory requirements in specific marketplaces. - **OTHER_FEES**: This enumeration value may be returned if the fee type cannot be determined, or has not been classified.",
        "enum": [
          "BELOW_STANDARD_FEE",
          "BELOW_STANDARD_SHIPPING_FEE",
          "FINAL_VALUE_FEE_FIXED_PER_ORDER",
          "FINAL_VALUE_FEE",
          "INTERNATIONAL_FEE",
          "HIGH_ITEM_NOT_AS_DESCRIBED_FEE",
          "HIGH_ITEM_NOT_AS_DESCRIBED_SHIPPING_FEE",
          "PAYMENT_PROCESSING_FEE",
          "FINAL_VALUE_SHIPPING_FEE",
          "INSERTION_FEE",
          "BOLD_FEE",
          "FINANCE_FEE",
          "CATEGORY_FEATURED_FEE",
          "NSFCHECK_FEE",
          "PROMOTIONAL_CREDIT",
          "GALLERY_FEE",
          "FEATURED_GALLERY_FEE",
          "RESERVE_PRICE_FEE",
          "IPIXPHOTO_FEE",
          "LARGE_PICTURE_FEE",
          "EBAY_STORE_SUBSCRIPTION_FEE",
          "BUY_IT_NOW_FEE",
          "SUBTITLE_FEE",
          "INTERNATIONAL_LISTING_FEE",
          "PRO_PACK_BUNDLE_FEE",
          "MARKETPLACE_RESEARCH_PRO_SUBSCRIPTION_FEE",
          "VEHICLE_LOCAL_SUBSCRIPTION_FEE",
          "VEHICLE_LOCAL_INSERTION_FEE",
          "VALUE_PACK_BUNDLE_FEE",
          "PRO_PACK_PLUS_BUNDLE_FEE",
          "GALLERY_PLUS_FEE",
          "EBAY_MOTORS_PRO_FEE",
          "PRIVATE_LISTING_FEE",
          "AUCTION_END_EARLY_FEE",
          "STORE_SUBSCRIPTION_EARLY_TERMINATION_FEE",
          "AD_FEE",
          "EBAY_PLUS_SUBSCRIPTION_FEE",
          "VEHICLE_SUBSCRIPTION_FEE",
          "CO_FUNDING_COUPON_FEE",
          "PAYMENT_DISPUTE_FEE",
          "PREMIUM_AD_FEES",
          "VEHICLES_BASIC_PACKAGE_FEE",
          "VEHICLES_PLUS_PACKAGE_FEE",
          "VEHICLES_PREMIUM_PACKAGE_FEE",
          "DEPOSIT_PROCESSING_FEE",
          "EXPRESS_PAYOUT_FEE",
          "TAX_DEDUCTION_AT_SOURCE",
          "INCOME_TAX_WITHHOLDING",
          "VAT_WITHHOLDING",
          "BANK_PAYOUT_FEE",
          "CHARITY_DONATION",
          "REGULATORY_OPERATING_FEE",
          "OTHER_FEES"
        ]
      },
      "Transaction": {
        "type": "object",
        "required": [
          "amount",
          "bookingEntry",
          "salesRecordReference",
          "transactionDate",
          "transactionId",
          "transactionStatus",
          "transactionType"
        ],
        "description": "This type is used to express the details of one of the following monetary transactions: a buyer's payment for an order, a refund to the buyer for a returned item or cancelled order, or a credit issued by eBay to the seller's account.",
        "properties": {
          "amount": {
            "description": "This container shows the dollar value and currency type of the monetary transaction. This field is always returned even when eBay has yet to initiate a payout for the order.",
            "$ref": "#/components/schemas/Amount"
          },
          "bookingEntry": {
            "description": "The enumeration value returned in this field indicates if the monetary transaction amount is a (<code>CREDIT</code>) or a (<code>DEBIT</code>) to the seller's account.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "buyer": {
            "description": "This is the unique eBay user ID for the buyer who purchased the order. This field is not returned for <code>TRANSFER</code> monetary transaction types.",
            "$ref": "#/components/schemas/Buyer"
          },
          "eBayCollectedTaxAmount": {
            "description": "This is the amount of sales tax that has been collected by eBay for an order.<br><br><span class=\"tablenote\"><b>Note:</b> Sales tax applies only to <code>SALE</code> and <code>REFUND</code> transactions (<b>transactionType</b>).</span>",
            "$ref": "#/components/schemas/Amount"
          },
          "feeJurisdiction": {
            "description": "This container stores information about region-specific fees that are charged to sellers.",
            "$ref": "#/components/schemas/FeeJurisdiction"
          },
          "feeType": {
            "description": "The enumeration value returned in this field indicates the type of fee that was deducted from the seller payout.",
            "$ref": "#/components/schemas/FeeTypeEnum"
          },
          "orderId": {
            "type": "string",
            "description": "The unique identifier of the eBay order associated with the monetary transaction."
          },
          "orderLineItems": {
            "type": "array",
            "description": "This array either shows the order line item transactional fees related to a <code>SALE</code> transaction and deducted from the payout associated with that order, or it shows the transactional fee credits going back to the seller in the case of a <code>REFUND</code> transaction.",
            "items": {
              "$ref": "#/components/schemas/OrderLineItem"
            }
          },
          "paymentsEntity": {
            "type": "string",
            "description": "This string value indicates the entity that is processing the payment."
          },
          "payoutDetails": {
            "description": "This container provides the payout details for a split-payout case. This container is only returned for split-payout use cases.",
            "$ref": "#/components/schemas/PayoutDetails"
          },
          "payoutId": {
            "type": "string",
            "description": "The unique identifier of the seller payout associated with the monetary transaction."
          },
          "references": {
            "type": "array",
            "description": "This field contains reference information for the transaction fee. This includes an ID and the type of ID provided (such as item ID).",
            "items": {
              "$ref": "#/components/schemas/Reference"
            }
          },
          "salesRecordReference": {
            "type": "string",
            "description": "The Sales Record Number associated with a sales order. Sales Record Numbers are Selling Manager/Selling Manager Pro identifiers that are created at order checkout.<br><br><span class=\"tablenote\"><strong>Note:</strong> For all orders originating after February 1, 2020, a value of <code>0</code> will be returned in this field. The Sales Record Number field has also been removed from Seller Hub. Instead of <strong>salesRecordReference</strong>, depend on <strong>orderId</strong> instead as the identifier of the order. The <strong>salesRecordReference</strong> field has been scheduled for deprecation, and a date for when this field will no longer be returned at all will be announced soon.</span>"
          },
          "taxes": {
            "type": "array",
            "description": "This array shows the tax type and amount applicable to the transaction. <br><br><span class=\"tablenote\"><b>Note:</b> Currently, this array is only returned for tax charged against a purchased eBay shipping label.</span>",
            "items": {
              "$ref": "#/components/schemas/Tax"
            }
          },
          "totalFeeAmount": {
            "description": "This amount is the total amount of selling fees paid for order.",
            "$ref": "#/components/schemas/Amount"
          },
          "totalFeeBasisAmount": {
            "description": "This amount is the total amount for the order before selling fees are deducted from the seller payout associated with the order.",
            "$ref": "#/components/schemas/Amount"
          },
          "transactionDate": {
            "type": "string",
            "description": "This timestamp indicates when the monetary transaction (order purchase, buyer refund, seller credit) occurred. The following (UTC) format is used: <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. For example, <code>2015-08-04T19:09:02.768Z</code>."
          },
          "transactionId": {
            "type": "string",
            "description": "This field, when combined with the <a href=\"#response.transactions.transactionType\" >transactionType</a> field, provide a unique identifier of the monetary transaction."
          },
          "transactionMemo": {
            "type": "string",
            "description": "This field applies to shipping label transactions, sales transactions where payout is on hold, and non-sale charge fees."
          },
          "transactionStatus": {
            "description": "This enumeration value indicates the current status of the seller payout associated with the monetary transaction.",
            "$ref": "#/components/schemas/TransactionStatusEnum"
          },
          "transactionType": {
            "description": "This enumeration value indicates the type of monetary transaction.",
            "$ref": "#/components/schemas/TransactionTypeEnum"
          },
          "ebayCollectedTaxAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "Sales tax collected by eBay, applicable only for SALE and REFUND."
          }
        }
      },
      "TransactionSummaryResponse": {
        "type": "object",
        "description": "This type is the base response type of the <strong>getTransactionSummary</strong> method, and based on the filters that are used in the <strong>getTransactionSummary</strong> call URI, the response may include total count and amount of the seller's sales and credits, total count and amount of buyer refunds, and total count and amount of seller payment holds.",
        "properties": {
          "adjustmentAmount": {
            "description": "Total adjustment amount for given payee within a specified period.",
            "$ref": "#/components/schemas/Amount"
          },
          "adjustmentBookingEntry": {
            "description": "The credit debit sign indicator for adjustment.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "adjustmentCount": {
            "type": "integer",
            "description": "Total adjustment count for given payee within a specified period.",
            "format": "int64"
          },
          "balanceTransferAmount": {
            "description": "The total balance transfer amount for given payee within the specified period.",
            "$ref": "#/components/schemas/Amount"
          },
          "balanceTransferBookingEntry": {
            "description": "The credit debit sign indicator for the balance transfer.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "balanceTransferCount": {
            "type": "integer",
            "description": "The total balance transfer count for given payee within the specified period.",
            "format": "int64"
          },
          "creditAmount": {
            "description": "This amount is the total dollar value of all the seller's sales and/or credits that match the input criteria.",
            "$ref": "#/components/schemas/Amount"
          },
          "creditBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>creditAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "creditCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of the seller's sales and/or credits that match the input criteria.",
            "format": "int64"
          },
          "disputeAmount": {
            "description": "This amount is the total dollar value associated with any existing payment disputes.",
            "$ref": "#/components/schemas/Amount"
          },
          "disputeBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>disputeAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "disputeCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of payment disputes.",
            "format": "int64"
          },
          "loanRepaymentAmount": {
            "description": "The sum of all <code>LOAN_REPAYMENT</code> transactions (i.e., debit and credit,) that match the input criteria.",
            "$ref": "#/components/schemas/Amount"
          },
          "loanRepaymentBookingEntry": {
            "description": "The enumeration value indicates whether the <code>loanRepaymentAmount</code> is a <code>DEBIT</code> against, or a <code>CREDIT</code> to, the sellers's account.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "loanRepaymentCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of <code>LOAN_REPAYMENT</code> transactions.",
            "format": "int64"
          },
          "nonSaleChargeAmount": {
            "description": "The total non-sale charge amount for given payee within a specified period.",
            "$ref": "#/components/schemas/Amount"
          },
          "nonSaleChargeBookingEntry": {
            "description": "The credit/debit sign indicator for the non-sale charge.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "nonSaleChargeCount": {
            "type": "integer",
            "description": "The total non-sale charge count for given payee within a specified period.",
            "format": "int64"
          },
          "onHoldAmount": {
            "description": "This amount is the total dollar value of order sales where the associated funds are on hold.",
            "$ref": "#/components/schemas/Amount"
          },
          "onHoldBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>onHoldAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "onHoldCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of order sales where the associated funds are on hold.",
            "format": "int64"
          },
          "purchaseAmount": {
            "description": "<span class=\"tablenote\"><b>Note:</b> The <code>PURCHASE</code> transaction type is currently only applicable in the US marketplace.</span><br>This amount is the total dollar value of all the purchases that have been initiated by a seller using spendable funds.",
            "$ref": "#/components/schemas/Amount"
          },
          "purchaseBookingEntry": {
            "description": "This enumeration value indicates whether the dollar amount in the <b>purchase</b> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "purchaseCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of purchases initiated by a seller using spendable funds.",
            "format": "int64"
          },
          "refundAmount": {
            "description": "This amount is the total dollar value of buyer refunds that match the input criteria.",
            "$ref": "#/components/schemas/Amount"
          },
          "refundBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>refundAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "refundCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of buyer refunds that match the input criteria.",
            "format": "int64"
          },
          "shippingLabelAmount": {
            "description": "This is the total dollar value of the eBay shipping labels purchased by the seller.",
            "$ref": "#/components/schemas/Amount"
          },
          "shippingLabelBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>shippingLabelAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "shippingLabelCount": {
            "type": "integer",
            "description": "This is the total number of eBay shipping labels purchased by the seller.",
            "format": "int64"
          },
          "transferAmount": {
            "description": "This amount is the total dollar value of buyer refund transfers that match the input criteria.",
            "$ref": "#/components/schemas/Amount"
          },
          "transferBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>transferAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "transferCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of buyer refund transfers that match the input criteria.",
            "format": "int64"
          },
          "withdrawalAmount": {
            "description": "This amount is the total dollar value of on-demand payouts (withdrawals) that match the input criteria.",
            "$ref": "#/components/schemas/Amount"
          },
          "withdrawalBookingEntry": {
            "description": "The enumeration value indicates whether the dollar amount in the <strong>withdrawalAmount</strong> field is a charge (debit) to the seller or a credit.",
            "$ref": "#/components/schemas/BookingEntryEnum"
          },
          "withdrawalCount": {
            "type": "integer",
            "description": "This integer value indicates the total number of on-demand payouts (withdrawals) that match the input criteria.",
            "format": "int64"
          }
        }
      }
    },
    "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.finances": "View and manage your payment and order information to display this information to you and allow you to initiate refunds using the third party application"
            }
          }
        }
      },
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      },
      "oauth2_api_scope_sell_finances": {
        "type": "oauth2",
        "description": "The security definitions for this API. Please check individual operations for sell.finances scopes.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
            "tokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
            "scopes": {
              "eBayUser": "This scope would allow signed-in eBay user to access to an operation",
              "https://api.ebay.com/oauth/api_scope/sell.finances": "Finances API access scope"
            }
          }
        }
      },
      "oauth2_api_scope_sell_finances_earnings": {
        "type": "oauth2",
        "description": "The security definitions for this API. Please check individual operations for sell.finances.earnings.read scopes.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
            "tokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
            "scopes": {
              "eBayUser": "This scope would allow signed-in eBay user to access to an operation",
              "https://api.ebay.com/oauth/api_scope/sell.finances.earnings.read": "Order earnings API specific access scope"
            }
          }
        }
      }
    }
  }
}