mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat: delete customer data in compliance with GDPR regulations (#64)
This commit is contained in:
@ -39,7 +39,9 @@ pub struct CustomerId {
|
||||
#[derive(Default, Debug, Deserialize, Serialize)]
|
||||
pub struct CustomerDeleteResponse {
|
||||
pub customer_id: String,
|
||||
pub deleted: bool,
|
||||
pub customer_deleted: bool,
|
||||
pub address_deleted: bool,
|
||||
pub payment_methods_deleted: bool,
|
||||
}
|
||||
|
||||
pub fn generate_customer_id() -> String {
|
||||
|
||||
Reference in New Issue
Block a user