Expand description
Official Rust SDK for Vylth Flow — self-custody crypto payment processing.
use vylth_flow::Flow;
#[tokio::main]
async fn main() {
let client = Flow::new("vf_live_...");
let invoice = client.invoices().create(vylth_flow::CreateInvoiceParams {
amount: 100.0,
currency: "USDT".into(),
network: "tron".into(),
..Default::default()
}).await.unwrap();
println!("Invoice: {}", invoice.id);
}Structs§
- Create
Invoice Params - Parameters for creating an invoice.
- Create
Payout Params - Flow
- The Vylth Flow client.
- Flow
Builder - Builder for configuring the Flow client.
- Generate
Wallet Params - Invoice
- List
Params - Paginated
List - Payout
- Swap
- Swap
Params - Swap
Quote - Wallet
- Webhook
Event - Webhook
Verifier - Webhook signature verifier.