Test Your Integration

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:

  1. Ensure you have your API credentials (API key)
  2. 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 /chargebacks

Required 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:59Z

Testing 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

  1. Start with small date ranges to verify data accuracy
  2. Verify pagination works correctly for large result sets
  3. Implement proper error handling for various HTTP status codes
  4. 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:

  1. Verify all required endpoints are working
  2. Test your error handling implementation
  3. Contact your Justt representative to review test results
  4. Schedule go-live date