Use past data
This guide explains how to test your integration with Justt's, including important information about data availability and handling dates.
Overview
This guide explains how to test your integration with Justt's, including important information about data availability and handling dates.
Go-Live Date and Data Availability
Justt begins handling chargebacks from the date of your go-live date. This affects which chargebacks are available through the API and how they are processed.
Important Date Considerations
- Chargebacks created from your go-live date onward will be fully handled by Justt
- Historical chargebacks (before go-live) can be retrieved but will not be actively managed
- All API tests queries must specify date ranges using ISO 8601 format (YYYY-MM-DDThh:mm:ssZ)
Testing the Integration
1. Authentication
Before making any requests:
- Ensure you have your API credentials (API key)
- Include the API key in the Authorization header of all requests
Authorization: Bearer your-api-key
2. Retrieving Chargebacks
To test retrieving chargebacks, use the following endpoint:
GET /chargebacksRequired query parameters:
startDate: Beginning of the date range (ISO 8601 format)endDate: End of the date range (ISO 8601 format)
Example request:
GET /chargebacks?startDate=2023-01-01T00:00:00Z&endDate=2023-01-31T23:59:59ZTesting the integration with past chargebacks
For chargebacks created before your go-live date:
- They can be retrieved through the API
- Basic information will be available
- They will not be actively managed by Justt
Testing Best Practices
- Start with small date ranges to verify data accuracy
- Verify pagination works correctly for large result sets
- Implement proper error handling for various HTTP status codes
- Test with invalid date formats to ensure proper error responses
Support
If you encounter any issues during integration testing:
- Email: [email protected]
- Include your merchant ID and any relevant request IDs
- Provide example requests and responses for faster resolution
Next Steps
After successful testing:
- Verify all required endpoints are working
- Test your error handling implementation
- Contact your Justt representative to review test results
- Schedule go-live date
Updated 4 days ago