stripe2 32.0.0

Stripe client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(unused_imports)]
use stripe::StripeClient;
use stripe::model::*;
#[tokio::main]
async fn main() {
    let client = StripeClient::from_env();
    let intent = "your intent";
    let response = client
        .get_payment_intents_intent(intent)
        .client_secret("your client secret")
        .expand(&["your expand"])
        .await
        .unwrap();
    println!("{:#?}", response);
}