Paypal API
  1. Transaction Search
Paypal API
  • Authorization
    • Generate access_token
      POST
    • Terminate access_token
      POST
    • User Info
      GET
    • Generate client_token
      POST
  • Orders
    • Create order
      POST
    • Show order details
      GET
    • Update order
      PATCH
    • Authorize payment for order
      POST
    • Capture payment for order
      POST
  • Payments
    • Show details for authorized payment
      GET
    • Reauthorize authorized payment
      POST
    • Void authorized payment
      POST
    • Capture authorized payment
      POST
    • Show captured payment details
      GET
    • Refund captured payment
      POST
    • Show refund details
      GET
  • Invoices
    • Invoices
      • Generate invoice number
      • Create draft invoice
      • Show invoice details
      • List invoices
      • Generate QR code
      • Fully update invoice
      • Send invoice
      • Send invoice reminder
      • Cancel sent invoice
      • Delete invoice
      • Search for invoices
      • Record payment for invoice
      • Delete external payment
      • Record refund for invoice
      • Delete external refund
    • Templates
      • List templates
      • Create template
      • Show template details
      • Fully update template
      • Delete template
  • Subscriptions
    • Catalog Products
      • Create product
      • List products
      • Show product details
      • Update product
    • Plans
      • Create plan
      • List plans
      • Show plan details
      • Update plan
      • Deactivate plan
      • Activate plan
      • Update pricing
    • Subscriptions
      • Create subscription
      • Show subscription details
      • Update subscription
      • Revise plan or quantity of subscription
      • Suspend subscription
      • Activate subscription
      • Cancel subscription
      • Capture authorized payment on subscription
      • List transactions for subscription
  • Payouts
    • Create batch payout
      POST
    • Show payout batch details
      GET
    • Show payout item details
      GET
    • Cancel unclaimed payout item
      POST
  • Webhooks
    • List available events
    • Create webhook
    • List webhooks
    • Show webhook details
    • List event notifications
    • List event subscriptions for webhook
    • Show event notification details
    • Trigger a sample event
    • Verify webhook signature
    • Resend event notification
    • Simulate webhook event
    • Update webhook
    • Delete webhook
  • Shipment Tracking
    • Add tracking information for multiple PayPal transactions
    • Show tracking information
    • Update or cancel tracking information for PayPal transaction
  • Transaction Search
    • List transactions
      GET
    • List all balances
      GET
  • Disputes
    • List disputes
    • Show dispute details
    • Accept claim
    • Appeal dispute
    • Settle dispute
    • Update dispute status
    • Make offer to resolve dispute
    • Provide evidence
    • Acknowledge returned item
    • Provide supporting information for dispute
    • Escalate dispute to claim
    • Accept offer to resolve dispute
    • Send message about dispute to other party
    • Deny offer to resolve dispute
    • Partially update dispute
  • Onboarding (Limited Release)
    • Manage Accounts
      • Create managed account
      • Search managed account through external id
      • Search managed account by Seller Id
      • Partially updates information for a managed account
      • Shows collection of registered wallet domains
  1. Transaction Search

List transactions

GET
/v1/reporting/transactions
Lists transactions. Specify one or more query parameters to filter the transaction that appear in the response.
Notes:
  • If you specify one or more optional query parameters, the ending_balance response field is empty.
  • It takes a maximum of three hours for executed transactions to appear in the list transactions call.
  • This call lists transaction for the previous three years.

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
Query 参数
fields
string 
必需
Indicates which fields appear in the response. Value is a single field or a comma-separated list of fields. The transaction_info value returns only the transaction details in the response. To include all fields in the response, specify fields=all. Valid fields are:
  • transaction_info. The transaction information. Includes the ID of the PayPal account of the payee, the PayPal-generated transaction ID, the PayPal-generated base ID, the PayPal reference ID type, the transaction event code, the date and time when the transaction was initiated and was last updated, the transaction amounts including the PayPal fee, any discounts, insurance, the transaction status, and other information about the transaction.
  • payer_info. The payer information. Includes the PayPal customer account ID and the payer's email address, primary phone number, name, country code, address, and whether the payer is verified or unverified.
  • shipping_info. The shipping information. Includes the recipient's name, the shipping method for this order, the shipping address for this order, and the secondary address associated with this order.
  • auction_info. The auction information. Includes the name of the auction site, the auction site URL, the ID of the customer who makes the purchase in the auction, and the date and time when the auction closes.
  • cart_info. The cart information. Includes an array of item details, whether the item amount or the shipping amount already includes tax, and the ID of the invoice for PayPal-generated invoices.
  • incentive_info. An array of incentive detail objects. Each object includes the incentive, such as a special offer or coupon, the incentive amount, and the incentive program code that identifies a merchant loyalty or incentive program.
  • store_info. The store information. Includes the ID of the merchant store and the terminal ID for the checkout stand in the merchant store.
示例值:
transaction_info,payer_info,shipping_info,auction_info,cart_info,incentive_info,store_info
start_date
string 
必需
(Required) Filters the transactions in the response by a start date and time, in Internet date and time format. Seconds are required. Fractional seconds are optional.
示例值:
2022-02-20T23:59:59.999Z
end_date
string 
必需
(Required) Filters the transactions in the response by an end date and time, in Internet date and time format. Seconds are required. Fractional seconds are optional. The maximum supported range is 31 days.
示例值:
2022-03-20T00:00:00.000Z

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-m.sandbox.paypal.com/v1/reporting/transactions?fields=transaction_info,payer_info,shipping_info,auction_info,cart_info,incentive_info,store_info&start_date=2022-02-20T23:59:59.999Z&end_date=2022-03-20T00:00:00.000Z' \
--header 'Authorization: Basic Og=='

返回响应

🟢200200 - List Transactions With Minimal Request
application/json
Body
transaction_details
array [object {1}] 
必需
transaction_info
object 
必需
account_number
string 
必需
start_date
string 
必需
end_date
string 
必需
last_refreshed_datetime
string 
必需
page
integer 
必需
total_items
integer 
必需
total_pages
integer 
必需
links
array [object {3}] 
必需
href
string 
可选
rel
string 
可选
method
string 
可选
示例
{
  "transaction_details": [
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "62G97620PP532404S",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-21T08:03:02+0000",
        "transaction_updated_date": "2022-02-21T08:03:02+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "60.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-2.58"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541200.47"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541142.88"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "6H086510YA1211309",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T08:01:31+0000",
        "transaction_updated_date": "2022-02-22T08:01:31+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "60.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-2.58"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541257.89"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541200.30"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "5TX27875VL144550C",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T18:56:51+0000",
        "transaction_updated_date": "2022-02-22T18:56:51+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541353.91"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541296.32"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "20652883FF356393P",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T20:12:03+0000",
        "transaction_updated_date": "2022-02-22T20:12:03+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541449.93"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541392.34"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "6DF04337Y5841654T",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T20:21:44+0000",
        "transaction_updated_date": "2022-02-22T20:21:44+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541545.95"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541488.36"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "0JW295059V098383D",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T22:07:52+0000",
        "transaction_updated_date": "2022-02-22T22:07:52+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-5.48"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541640.47"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541582.88"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "55623970422158217",
        "paypal_reference_id": "0JW295059V098383D",
        "paypal_reference_id_type": "TXN",
        "transaction_event_code": "T1107",
        "transaction_initiation_date": "2022-02-22T22:07:56+0000",
        "transaction_updated_date": "2022-02-22T22:07:56+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-10.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "0.50"
        },
        "transaction_status": "S",
        "transaction_subject": "Defective product",
        "transaction_note": "Defective product",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541630.97"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541573.38"
        },
        "invoice_id": "1645567676",
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "transaction_id": "1U269918L0853994C",
        "transaction_event_code": "T1503",
        "transaction_initiation_date": "2022-02-22T22:15:45+0000",
        "transaction_updated_date": "2022-02-22T22:15:45+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-30.50"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541600.47"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541542.88"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "transaction_id": "76609542K66342227",
        "transaction_event_code": "T0001",
        "transaction_initiation_date": "2022-02-22T22:15:46+0000",
        "transaction_updated_date": "2022-02-22T22:15:46+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-10.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-0.25"
        },
        "transaction_status": "P",
        "transaction_subject": "You have a payout!",
        "transaction_note": "Thanks for your patronage!",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541590.22"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541532.63"
        },
        "custom_field": "201403140001",
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "transaction_id": "5EL88872JX833474Y",
        "paypal_reference_id": "76609542K66342227",
        "paypal_reference_id_type": "TXN",
        "transaction_event_code": "T1105",
        "transaction_initiation_date": "2022-02-22T22:15:46+0000",
        "transaction_updated_date": "2022-02-22T22:15:46+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "10.25"
        },
        "transaction_status": "S",
        "transaction_subject": "You have a payout!",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541600.47"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541542.88"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "transaction_id": "8MF78576UM204780H",
        "transaction_event_code": "T0001",
        "transaction_initiation_date": "2022-02-22T22:15:46+0000",
        "transaction_updated_date": "2022-02-22T22:15:46+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-20.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-0.25"
        },
        "transaction_status": "P",
        "transaction_subject": "You have a payout!",
        "transaction_note": "Thanks for your support!",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541580.22"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541522.63"
        },
        "custom_field": "201403140002",
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "transaction_id": "9MB199564F199774Y",
        "paypal_reference_id": "8MF78576UM204780H",
        "paypal_reference_id_type": "TXN",
        "transaction_event_code": "T1105",
        "transaction_initiation_date": "2022-02-22T22:15:46+0000",
        "transaction_updated_date": "2022-02-22T22:15:46+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "20.25"
        },
        "transaction_status": "S",
        "transaction_subject": "You have a payout!",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541600.47"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541542.88"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "5MX93740G7114801E",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T22:23:07+0000",
        "transaction_updated_date": "2022-02-22T22:23:07+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-5.48"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541694.99"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541637.40"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "2RR988795A600370J",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T22:23:59+0000",
        "transaction_updated_date": "2022-02-22T22:23:59+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-5.48"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541789.51"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541731.92"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "6WE71789VY677890D",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-22T23:43:04+0000",
        "transaction_updated_date": "2022-02-22T23:43:04+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-5.48"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541884.03"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541826.44"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "66X16461LT2302037",
        "paypal_reference_id": "6WE71789VY677890D",
        "paypal_reference_id_type": "TXN",
        "transaction_event_code": "T1107",
        "transaction_initiation_date": "2022-02-22T23:43:14+0000",
        "transaction_updated_date": "2022-02-22T23:43:14+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-10.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "0.50"
        },
        "transaction_status": "S",
        "transaction_subject": "Defective product",
        "transaction_note": "Defective product",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541874.53"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541816.94"
        },
        "invoice_id": "1645573394",
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "0CK727988K9552027",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-23T00:17:55+0000",
        "transaction_updated_date": "2022-02-23T00:17:55+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-5.48"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1541969.05"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541911.46"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "6FL83519LY466282M",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-23T08:00:13+0000",
        "transaction_updated_date": "2022-02-23T08:00:13+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542065.07"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542007.48"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "5XG546135W917025X",
        "paypal_reference_id": "6FL83519LY466282M",
        "paypal_reference_id_type": "TXN",
        "transaction_event_code": "T1107",
        "transaction_initiation_date": "2022-02-23T08:00:28+0000",
        "transaction_updated_date": "2022-02-23T08:00:28+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-10.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "0.35"
        },
        "transaction_status": "S",
        "transaction_subject": "Defective product",
        "transaction_note": "Defective product",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542055.42"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1541997.83"
        },
        "invoice_id": "1645603227",
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "07Y2790671739324T",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T08:01:14+0000",
        "transaction_updated_date": "2022-02-24T08:01:14+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542151.44"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542093.85"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "1WB22621BG301410P",
        "paypal_reference_id": "07Y2790671739324T",
        "paypal_reference_id_type": "TXN",
        "transaction_event_code": "T1107",
        "transaction_initiation_date": "2022-02-24T08:01:27+0000",
        "transaction_updated_date": "2022-02-24T08:01:27+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "-10.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "0.35"
        },
        "transaction_status": "S",
        "transaction_subject": "Defective product",
        "transaction_note": "Defective product",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542141.79"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542084.20"
        },
        "invoice_id": "1645689686",
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "6KR05027X1985702D",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T08:01:33+0000",
        "transaction_updated_date": "2022-02-24T08:01:33+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "60.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-2.58"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542199.21"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542141.62"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "0NM273064N822825K",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T08:26:28+0000",
        "transaction_updated_date": "2022-02-24T08:26:28+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542295.23"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542237.64"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "50J89381LR481331L",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T16:46:18+0000",
        "transaction_updated_date": "2022-02-24T16:46:18+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542391.25"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542333.66"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "2E191904N8380905D",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T16:46:34+0000",
        "transaction_updated_date": "2022-02-24T16:46:34+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542487.27"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542429.68"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "2LM002221S9896812",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T16:47:59+0000",
        "transaction_updated_date": "2022-02-24T16:47:59+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542583.29"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542525.70"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "0D902766H66721920",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T17:03:29+0000",
        "transaction_updated_date": "2022-02-24T17:03:29+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542679.31"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542621.72"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    },
    {
      "transaction_info": {
        "paypal_account_id": "A3VCAENK6SMZL",
        "transaction_id": "42D25048HG545942L",
        "transaction_event_code": "T0005",
        "transaction_initiation_date": "2022-02-24T17:11:22+0000",
        "transaction_updated_date": "2022-02-24T17:11:22+0000",
        "transaction_amount": {
          "currency_code": "USD",
          "value": "100.00"
        },
        "fee_amount": {
          "currency_code": "USD",
          "value": "-3.98"
        },
        "transaction_status": "S",
        "ending_balance": {
          "currency_code": "USD",
          "value": "1542775.33"
        },
        "available_balance": {
          "currency_code": "USD",
          "value": "1542717.74"
        },
        "protection_eligibility": "02",
        "instrument_type": "CREDITCARD",
        "instrument_sub_type": "V"
      }
    }
  ],
  "account_number": "ER87FV8ER63HJ",
  "start_date": "2022-02-20T23:59:59+0000",
  "end_date": "2022-02-24T17:59:59+0000",
  "last_refreshed_datetime": "2022-02-24T17:59:59+0000",
  "page": 1,
  "total_items": 28,
  "total_pages": 1,
  "links": [
    {
      "href": "https://api.sandbox.paypal.com/v1/reporting/transactions?end_date=2022-03-20T00%3A00%3A00.000Z&start_date=2022-02-20T23%3A59%3A59.999Z&page_size=100&page=1",
      "rel": "self",
      "method": "GET"
    }
  ]
}
🟢200200 - List Transactions With Detailed Request
🟢200200 - List Transactions Filtered By Transaction ID
🟢200200 - No Transactions Yet For Dates Provided
🟠400400 Bad Request - Invalid Date Range
🟠400400 Bad Request - Start And End Dates Missing
🟠401401 Unauthorized - Invalid Token
🟠403403 Forbidden - Permission Denied
修改于 2023-08-16 07:18:59
上一页
Update or cancel tracking information for PayPal transaction
下一页
List all balances
Built with