GET
Transaction Details
Fetch comprehensive details of a single transaction.
GET/v2/transactions/{transaction_id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transaction_id | string | YES | The unique ID of the transaction. |
Example Request
cURL
curl -X GET "https://sandbox.hexcore.io/v2/transactions/tx_123" \-H "Authorization: Bearer sk_test_your_secret_key"Example Response
JSON (200 OK)
{"status": true,"data": { "id": "tx_123", "type": "CREDIT", "amount": 5000, "narration": "Salary payment", "balance_after": 25000} }