Skip to main contentTest
Before going live, use your sandbox environment to thoroughly test the tax reporting integration. Your testing should involve:
1. Report generation
- Threshold testing: Create merchants with transactions totaling exactly $600, $599, and $601.
- KYC status: Test merchants with completed KYC, pending KYC, and revoked KYC.
- Multiple tax years: Generate transactions across different calendar years.
2. Webhooks and notifications
- Webhook setup: Configure and validate webhook endpoints.
- Event testing: Test webhook delivery for
TAXES.REPORTS.GENERATED events (both regular and corrected reports).
- Webhook reliability: Test retry mechanisms and failure handling.
3. Reportable accounts
- Retrieve account data: Test retrieving reportable account details with the
fields query parameter.
- Update account data: Test PATCH operations to update account profile, aggregated transactions, and tax properties.
- Editable status: Verify that the API rejects updates when
tax_data.editable is false.
4. Corrections
- Quick corrections: Submit quick correction requests after KYC updates.
- Status tracking: Poll correction status endpoints.
Go live
- Contact your PayPal account manager to enable Tax Reporting as a Service for your live account.
- Move your app to production.
- Configure webhook endpoints for the live environment to receive tax report notifications.
- Update your API credentials to use live environment values.