Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

286 B
Raw Blame
use router_env::RequestId;

use crate::EventInfo;

impl EventInfo for RequestId {
    type Data = String;

    fn data(&self) -> error_stack::Result<String, crate::EventsError> {
        Ok(self.to_string())
    }

    fn key(&self) -> String {
        "request_id".to_string()
    }
}