pub type PaymentDetails = *mut c_void;