ebay_get_order_earnings_by_id
Fetch earnings for a specific eBay order by orderId, showing gross amount, expenses, refunds, and net earnings.
Instructions
Get earnings for one order from the eBay Finances API: gross amount, expenses, refunds, and net earnings for the orderId. Requires the optional https://api.ebay.com/oauth/api_scope/sell.finances.earnings.read scope, which is not requested by default: add it to EBAY_OAUTH_SCOPES and re-run OAuth consent. eBay grants it only to approved US, CN, or HK sellers with USD payouts. eBay requires Digital Signatures on Finances API calls for EU/UK sellers, which this server does not add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | eBay order ID whose earnings are requested, e.g. 12-12345-12345 | |
| marketplaceId | No | Overrides the X-EBAY-C-MARKETPLACE-ID header, e.g. EBAY_US, EBAY_GB or EBAY_DE. Defaults to EBAY_MARKETPLACE_ID; eBay assumes EBAY_US when the header is absent. |