class Lithic::Resources::FinancialAccounts::FinancialTransactions

def retrieve(financial_transaction_token, params)

Other tags:
    See: Lithic::Models::FinancialAccounts::FinancialTransactionRetrieveParams -

Returns:
  • (Lithic::FinancialTransaction) -

Parameters:
  • request_options (Lithic::RequestOptions, Hash{Symbol=>Object}, nil) --
  • financial_account_token (String) -- Globally unique identifier for financial account.
  • financial_transaction_token (String) -- Globally unique identifier for financial transaction token.

Overloads:
  • retrieve(financial_transaction_token, financial_account_token:, request_options: {})
def retrieve(financial_transaction_token, params)
  parsed, options = Lithic::FinancialAccounts::FinancialTransactionRetrieveParams.dump_request(params)
  financial_account_token =
    parsed.delete(:financial_account_token) do
      raise ArgumentError.new("missing required path argument #{_1}")
    end
  @client.request(
    method: :get,
    path: [
      "v1/financial_accounts/%1$s/financial_transactions/%2$s",
      financial_account_token,
      financial_transaction_token
    ],
    model: Lithic::FinancialTransaction,
    options: options
  )
end