Module plaid::api::product::connect [] [src]

Connect is a product that Plaid offers. It allows you to retrieve account balance and transaction history data.

Endpoint example

use plaid::api::client::{ Client, Response, Payload };
use plaid::api::product;
use plaid::api::types::*;
use plaid::api::user::{ User };

let client = Client { endpoint:  "https://tartan.plaid.com",
                      client_id: "testclient",
                      secret:    "testsecret",
                      hyper:     &hyper };

let user = User { access_token: "testaccesstoken".to_string() };

let response = client.request(
  product::Connect,
  Payload::FetchData(client, user, None))
  .unwrap();

Structs

Connect

Connect is the endpoint you need to fetch transaction for a User

ConnectData

Representation of data that is retrieved from the Connect product.