Contents

GET /accounts/$USERNAME/transactions/$TRANSACTION_ID#

Retrieve the transaction whose identifier is TRANSACTION_ID.

Response:

200 OK:

The bank responds with an BankAccountTransactionInfo object.

401 Unauthorized:

Invalid or missing credentials.

403 Forbidden:

Missing rights.

404 Not found:

The account pointed by $USERNAME was not found.

Details:

interface BankAccountTransactionInfo {
  // Full payto URI to identify the receiver of funds.
  creditor_payto_uri: string;

  // Full payto URI to identify the sender of funds.
  debtor_payto_uri: string;

  // Amount received.
  amount: Amount;

  // The direction of the transaction relative to $USERNAME account.
  // debit: $USERNAME is the debtor
  // credit: $USERNAME is the creditor
  direction: "debit" | "credit";

  // The wire transfer subjec
  subject: string;

  // Transaction unique ID.  Matches
  // $TRANSACTION_ID from the URI.
  row_id: Integer;

  // Date of the transaction.
  date: Timestamp;
}