Retrieves the details of an existing transaction. You need only supply the unique transaction identifier.
Arguments | |
---|---|
id | The identifier of the transaction to be retrieved. |
Returns
Returns a transaction if a valid transaction ID was provided. Returns an error otherwise.
GET /users/{user.id}/transactions/{transaction.id}
GET /users/ea3a81/transactions/fx789e HTTP/1.1
Authorization: Bearer YOUR_ACCESS_TOKEN
HTTP/1.11.1 200 OK
Content-Type: application/json
{
"type": "transaction",
"id": "fx789e",
"status": "posted",
"description": "FLIGHT CENTRE CO BRISB QL",
"postDate": "2017-11-10T21:46:44Z",
"transactionDate": "",
"amount": "-139.98",
"balance": "356.50",
"account": "s55bf3",
"institution": "AU00101",
"connection": "8fce3b",
"direction": "debit",
"class": "payment",
"subClass": {
"code": "722",
"title": "Travel Agency and Tour Arrangement Services"
},
"links": {
"self": "https://au-api.basiq.io/users/ea3a81/transactions/fx789e",
"account": "https://au-api.basiq.io/users/ea3a81/accounts/s55bf3",
"institution": "https://au-api.basiq.io/institutions/AU00101",
"connection": null
}
}