Retrieve detailed information about a specific transaction using its unique ID. This includes transaction details, payment method used, customer information, and any associated child transactions (e.g., refunds or voids).
The Get a Transaction's Information endpoint allows you to retrieve detailed information about a specific transaction using its unique ID. This includes data such as the transaction type, status, amount, currency, associated customer and payment method, metadata, and any child transactions (e.g., refunds or voids).
Key Features
- Obtain complete details of a specific transaction.
- Access associated customer and payment method information.
- View any child transactions linked to the original transaction.
Usage Notes
Valid Transaction ID: Ensure that the id
provided corresponds to an existing transaction in your merchant account.
Child Transactions: The response may include child_transactions
, which are transactions linked to the original (e.g., refunds, voids).
Metadata: Transaction metadata (meta
field) can contain additional information such as custom fields or processing details.
Response Structure
Code | Response | Reason |
---|---|---|
200 | Success | |
400 | Bad Request | Invalid transaction ID format. |
401 | Unauthorized | Authentication failed. |
404 | Unprocessable Entity | Transaction ID does not exist. |
500 | Internal Server Error | An unexpected error occurred on the server. |
Important Considerations
Data Privacy: Ensure that customer data retrieved via this endpoint is handled in compliance with privacy laws.
Error Handling: Implement proper error handling for scenarios where the transaction ID is invalid or not found.
Usage Limits: Be mindful of API usage limits when retrieving transaction details frequently.