-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af2b62e
commit a64124c
Showing
1,928 changed files
with
25,904 additions
and
10,923 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let application_id = "your application id"; | ||
let response = client.application_get(application_id).await.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let audit_copy_token = "your audit copy token"; | ||
let response = client.asset_report_audit_copy_get(audit_copy_token).await.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let asset_report_token = "your asset report token"; | ||
let response = client.asset_report_remove(asset_report_token).await.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let bank_transfer_id = "your bank transfer id"; | ||
let response = client.bank_transfer_cancel(bank_transfer_id).await.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,40 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
use plaid::request::BankTransferCreateRequired; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let args = BankTransferCreateRequired { | ||
access_token: "your access token", | ||
account_id: "your account id", | ||
amount: "your amount", | ||
description: "your description", | ||
idempotency_key: "your idempotency key", | ||
iso_currency_code: "your iso currency code", | ||
network: "your network", | ||
type_: "your type", | ||
user: BankTransferUser { | ||
email_address: Some("your email address".to_owned()), | ||
legal_name: "your legal name".to_owned(), | ||
routing_number: Some("your routing number".to_owned()), | ||
}, | ||
let access_token = "your access token"; | ||
let account_id = "your account id"; | ||
let amount = "your amount"; | ||
let description = "your description"; | ||
let idempotency_key = "your idempotency key"; | ||
let iso_currency_code = "your iso currency code"; | ||
let network = BankTransferNetwork::Ach; | ||
let type_ = BankTransferType::Debit; | ||
let user = BankTransferUser { | ||
email_address: Some("your email address".to_owned()), | ||
legal_name: "your legal name".to_owned(), | ||
routing_number: Some("your routing number".to_owned()), | ||
}; | ||
let response = client | ||
.bank_transfer_create(args) | ||
.ach_class("your ach class") | ||
.bank_transfer_create(BankTransferCreateRequired { | ||
access_token, | ||
account_id, | ||
amount, | ||
description, | ||
idempotency_key, | ||
iso_currency_code, | ||
network, | ||
type_, | ||
user, | ||
}) | ||
.ach_class(AchClass::Ccd) | ||
.custom_tag("your custom tag") | ||
.metadata(BankTransferMetadata {}) | ||
.metadata("your bank transfer metadata") | ||
.origination_account_id("your origination account id") | ||
.await | ||
.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let after_id = 1; | ||
let response = client.bank_transfer_event_sync(after_id).count(1).await.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#![allow(unused_imports)] | ||
use plaid::PlaidClient; | ||
use plaid::model::*; | ||
use plaid::PlaidClient; | ||
#[tokio::main] | ||
async fn main() { | ||
let client = PlaidClient::from_env(); | ||
let bank_transfer_id = "your bank transfer id"; | ||
let response = client.bank_transfer_get(bank_transfer_id).await.unwrap(); | ||
println!("{:#?}", response); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.