Test REST API transactions
PayPal provides a sandbox environment for you to create test accounts and review transactions related to your REST API calls.
Use the dashboards to view the call history for a specific app or all apps. Both dashboards lists the API calls made by apps with related transaction details. The dashboards show transaction details, such as the date, type, status, amount of a transaction and API call details, such as the request and response messages.
Create test buyer and merchant accounts in the PayPal sandbox. To create a test buyer account, select the Personal account type. To create a test merchant account, select the Business account type. For information, see Create a test account.
Before you continue, learn how to make your first call.
Test credit card payments
Note: Some countries restrict direct credit card payment and related features.
The dashboard shows transactions for successful API calls.
- Create a credit card payment.
- Click Log In to log in to your PayPal account.
- To review sandbox transactions, go to the Sandbox Transactions dashboard.
Note: For sandbox calls, you can use the credit card numbers provided in your sandbox test accounts.
For more information about credit card payments, see Accept credit card payments.
Test PayPal payments
To test PayPal payments, you must be able to see transactions from the perspective of the buyer.
Click Log In to log in to your PayPal account.
To approve the payment, enter the email address and password for your buyer account.
To review the details of the completed payment, log in to your buyer account on the Sandbox test site.
For more information about PayPal payments, see accept PayPal payments.