recurly 48.0.0

Recurly client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(unused_imports)]
use recurly::RecurlyClient;
use recurly::model::*;
#[tokio::main]
async fn main() {
    let client = RecurlyClient::from_env();
    let subscription_id = "your subscription id";
    let response = client
        .terminate_subscription(subscription_id)
        .refund("your refund")
        .charge(true)
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}