TransactionPayments
Query all payments of the transactions in which the authenticated user is either the buyer or seller. By default, only payments of transactions made in the last 90 days are returned. Payments of the transactions in orders older than 90 days can be retrieved by specifying OrderIds.
ビュー固有の情報
Select
TransactionPayments ビューのクエリ例:
SELECT * FROM TransactionPayments WHERE OrderRole = 'Seller' SELECT * FROM TransactionPayments WHERE OrderId = '110277719772-28859911001'
Columns
Name | Type | Description |
TransactionReferenceId [KEY] | String | A unique transaction ID for the payment. |
TransactionId | String | The unique identifier of the transaction the payment has been made for. |
OrderId | String | The unique identifier of the order the payment has been made for. |
FeeOrCreditAmount | Decimal | Fee Amount is a positive value and Credit Amount is a negative value. |
Payee | String | The person or organization who is to receive the payment allocation. |
Payer | String | This field indicates the eBay user or eBay partner who submitted the payment. |
PaymentAmount | Decimal | The amount of the payment that is allocated to the payee. |
PaymentStatus | String | The current status of a buyer payment that is allocated to a specified payee. |
PaymentTime | Datetime | The date and time when the payment is received by the payee. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
CreateTimeFrom | Datetime | Specifies the start of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days. |
CreateTimeTo | Datetime | Specifies the end of the date range for which to retrieve payment details of the transactions in orders created within this date range. By default the date range is 90 days. |
ModTimeFrom | Datetime | Specifies the start of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days. |
ModTimeTo | Datetime | Specifies the end of the date range for which to retrieve payment details of the transactions in orders modified within this date range. The maximum time range that may be specified is 30 days. |
NumberOfDays | Integer | All eBay payment details of the transactions in orders that were either created or modified within this period are returned in the output. Min: 1. Max: 30. |
OrderRole | String | Filters the returned payment details of the transactions based on the role of the user. The user's role is either buyer or seller. |
OrderStatus | String | Filters the returned payment details of the transactions based on the status of the order. Applicable Values: Active, All, Completed, Inactive. |