Get Transaction Detail
Requires the read:user scope.
Returns the transaction-detail payload for the given transaction id.
Parameters
- transaction_id
- Transaction identifier, as returned by the transaction list.
Returns
Transaction-detail response with the transaction metadata and lifecycle state.
Raises
- HTTPException
- 404 Not Found when no transaction with that id exists within the partner's financial institution.
Authorization
APIKeyHeader x-api-key<token>
Partner API key, required on every endpoint except "GET /health". Your financial institution issues and revokes these keys from the InvestiFi Ops Center. Each key carries an environment-identifying prefix such as "ifi_prod_" plus a fixed set of scopes, so a valid key still returns 403 Forbidden on an endpoint whose scope it was not granted; the response "detail" names the check that failed.
In: header
Path Parameters
transaction_id*Transaction Id
Response Body
application/json
application/json
application/json
curl -X GET "https://partner-api.investifi.com/v1/transactions/string/"{
"transaction_id": "string",
"type": "order",
"user_account_id": "string",
"product": "crypto",
"transaction_name": "buy",
"symbol": "string",
"quantity": "string",
"notional": "string",
"fee": "string",
"status": "pending",
"placed_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"is_recurring_transaction": true,
"recurring_transaction_id": "string",
"trading_period_id": "string"
}{
"detail": "Key does not have the required scope: read:user."
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}
