PayPal

Transaction Search

Use the Transaction Search API to get the history of transactions for a PayPal account. To use the API on behalf of third parties, you must be part of the…

Payments#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Use the Transaction Search API to get the history of transactions for a PayPal account. To use the API on behalf of third parties, you must be part of the PayPal partner network. Reach out to your partner manager for the next steps. To enroll in the partner program, see Partner with PayPal . For more information about the API, see the Transaction Search API Integration Guide . Note: To use the API on behalf of third parties, you must be part of the PayPal partner network. Reach out to your partner manager for the next steps. To enroll in the partner program, see Partner with PayPal .

Endpoints 2

transactions

  • GETList transactions/v1/reporting/transactions?transaction_id=string&transaction_type=string&transaction_status=string&transaction_amount=string&transaction_currency=string&start_date=string&end_date=string&payment_instrument_type=string&store_id=string&terminal_id=string&fields=transaction_info&balance_affecting_records_only=Y&page_size=100&page=1Lists transactions. Specify one or more query parameters to filter the transaction that appear in the response.<blockquote><strong>Notes:</strong> <ul><li>If…

balances

  • GETList all balances/v1/reporting/balances?as_of_time=string&currency_code=stringList all balances. Specify date time to list balances for that time that appear in the response.<blockquote><strong>Notes:</strong> <ul><li>It takes a maximum…

API details

Base URL
https://api-m.sandbox.paypal.com
https://api-m.paypal.com
Authentication
OAuth 2.0 (client credentials flow) with 2 scopes
Operations
2 operations on 2 pathsGET 2
Main resources
balances 1transactions 1
Response formats
application/json
Description format
OpenAPI 3.0.3, API version 1.9

How to test the Transaction Search in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Transaction Search collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (client credentials flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “List transactions” (GET /v1/reporting/transactions?transaction_id=string&transaction_type=string&transaction_status=string&transaction_amount=string&transaction_currency=string&start_date=string&end_date=string&payment_instrument_type=string&store_id=string&terminal_id=string&fields=transaction_info&balance_affecting_records_only=Y&page_size=100&page=1), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Transaction Search?

Use the Transaction Search API to get the history of transactions for a PayPal account. To use the API on behalf of third parties, you must be part of the… It is listed under Payments and has 2 endpoints.

Who publishes the Transaction Search?

It is listed from PayPal's public API description (an OpenAPI document), not published by PayPal on Swastik Codes. Anyone who controls paypal.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Transaction Search?

Its description lists 2 base URLs: https://api-m.sandbox.paypal.com, https://api-m.paypal.com. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Transaction Search?

With OAuth 2.0 (client credentials flow) with 2 scopes.

How many endpoints does the Transaction Search have?

2 operations on 2 paths (2 GET). The largest groups are balances, transactions.

Is forking the Transaction Search free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.