sagapay 0.2.0

Rust SDK for SagaPay - The world's first free, non-custodial blockchain payment gateway
Documentation
/// Configuration for the SagaPay client
#[derive(Debug, Clone)]
pub struct Config {
    /// SagaPay API key
    pub api_key: String,

    /// SagaPay API secret
    pub api_secret: String,

    /// API base URL
    pub base_url: String,
}

impl Default for Config {
    fn default() -> Self {
        Self {
            api_key: String::new(),
            api_secret: String::new(),
            base_url: "https://api2.sagapay.net".to_string(),
        }
    }
}