Get a Related Transaction

Retrieve a child transactions associated with a parent transaction.

The Get a Related Transaction endpoint allows you to retrieve child transactions associated with a parent transaction. Child transactions include voids and refunds linked to the original transaction. This is useful for tracking the history and changes made to a transaction.

Key Features

  • Retrieve all child transactions related to a specific transaction.
  • Understand the sequence of actions taken on a transaction.
  • Access details of voids and refunds associated with the transaction.

Usage Notes

Valid Transaction ID: Only works with charge transaction IDs. Voided and refunded transaction IDs will not return related transactions.

Response Data: The response includes an array of child transactions, each with its own details.

Tracking Changes: Use this endpoint to audit the actions taken on a transaction over time.


Response Structure

CodeResponseReason
200SuccessReturns an array of child transaction objects related to the original transaction.
400Bad RequestInvalid transaction ID format.
401UnauthorizedAuthentication failed.
404Not FoundTransaction ID does not exist or has no related transactions.
500Internal Server ErrorAn unexpected error occurred on the server.

Important Considerations

Data Integrity: Use related transactions to ensure data consistency and accurate financial reporting.

Error Handling: Implement proper error handling for scenarios where no related transactions are found.

Permissions: Ensure the user or API key has the necessary permissions to access transaction details.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!