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

Auth is a product that allows you to authorize ACH transaction from the end-users account. It will return account data including account numbers and routing numbers if authorization is successful.

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::Auth,
  Payload::FetchData(client, user, None))
  .unwrap();

Structs

Auth

Auth is the endpoint you need in order to check that the user owns their account.

AuthData

Representation of data that is retrieved from the Auth product.