Bug:  [FEATURE] : [Coinbase][Cryptopay] mask pii information in connector request and response 



### Feature Description

Mask pii information passed and received in the connector request and response

### Possible Implementation

Refactor all sensitive response and request fields secret

### Have you spent some time checking if this feature request has been raised before?

- [X] I checked and didn't find a similar issue

### Have you read the Contributing Guidelines?

- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!
diff --git a/crates/router/src/connector/coinbase/transformers.rs b/crates/router/src/connector/coinbase/transformers.rs
index 5b3b6f63278..f02984136bd 100644
--- a/crates/router/src/connector/coinbase/transformers.rs
+++ b/crates/router/src/connector/coinbase/transformers.rs
@@ -21,7 +21,7 @@ pub struct LocalPrice {
 #[derive(Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
 pub struct Metadata {
     pub customer_id: Option<String>,
-    pub customer_name: Option<String>,
+    pub customer_name: Option<Secret<String>>,
 }
 
 #[derive(Default, Debug, Serialize, Eq, PartialEq)]
@@ -335,7 +335,7 @@ pub enum WebhookEventType {
 pub struct CoinbasePaymentResponseData {
     pub id: String,
     pub code: String,
-    pub name: Option<String>,
+    pub name: Option<Secret<String>>,
     pub utxo: bool,
     pub pricing: HashMap<String, OverpaymentAbsoluteThreshold>,
     pub fee_rate: f64,
@@ -355,7 +355,7 @@ pub struct CoinbasePaymentResponseData {
     pub fees_settled: bool,
     pub pricing_type: String,
     pub redirect_url: String,
-    pub support_email: String,
+    pub support_email: pii::Email,
     pub brand_logo_url: String,
     pub offchain_eligible: bool,
     pub organization_name: String,
diff --git a/crates/router/src/connector/cryptopay/transformers.rs b/crates/router/src/connector/cryptopay/transformers.rs
index d4697e3ba14..635d4a66c26 100644
--- a/crates/router/src/connector/cryptopay/transformers.rs
+++ b/crates/router/src/connector/cryptopay/transformers.rs
@@ -222,7 +222,7 @@ pub struct CryptopayPaymentResponseData {
     pub customer_id: Option<String>,
     pub status: CryptopayPaymentStatus,
     pub status_context: Option<String>,
-    pub address: Option<String>,
+    pub address: Option<Secret<String>>,
     pub network: Option<String>,
     pub uri: Option<String>,
     pub price_amount: Option<String>,

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Mask pii information passed and received in the connector request and response for coinbase and cryptopay.


## Test Case
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
1. Create a crypto payment with coinbase
_Note:Metadata not passed in dashboard_

Metadata to be included in Connector Create
```
   "metadata": {
        "pricing_type": "fixed_price"
    },
```

```
{
  "amount": 200,
  "currency": "GBP",
  "confirm": true,
  "capture_method": "manual",
  "capture_on": "2022-09-10T10:11:12Z",
  "customer_id": "StripeCustomer",
  "email": "abcdef123@gmail.com",
  "name": "John Doe",
  "phone": "999999999",
  "phone_country_code": "+65",
  "description": "Its my first payment request",
  "authentication_type": "no_three_ds",
  "return_url": "https://google.com",
//   "setup_future_usage": "off_session",
  "billing": {
    "address": {
      "line1": "1467",
      "line2": "Harrison Street",
      "line3": "Harrison Street",
      "city": "San Fransico",
      "state": "California",
      "zip": "94122",
      "country": "US"
    }
  },
  "browser_info": {
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
    "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
    "language": "nl-NL",
    "color_depth": 24,
    "screen_height": 723,
    "screen_width": 1536,
    "time_zone": 0,
    "java_enabled": false,
    "java_script_enabled": true,
    "ip_address": "127.0.0.1"
  },
  "shipping": {
    "address": {
      "line1": "1467",
      "line2": "Harrison Street",
      "line3": "Harrison Street",
      "city": "San Fransico",
      "state": "California",
      "zip": "94122",
      "country": "US",
      "first_name": "John",
      "last_name": "Doe"
    }
  },
  "statement_descriptor_name": "joseph",
  "statement_descriptor_suffix": "JS",
  "metadata": {
    "udf1": "value1",
    "new_customer": "true",
    "login_date": "2019-09-10T10:11:12Z"
  },
  "payment_method": "crypto",
  "payment_method_type": "crypto_currency",
  "payment_method_data": {
    "crypto": {
      "pay_currency": "USD"
    }
  }
}
```

2. Create a payment in Cryptopay
```
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_JsfXOsrNjUW5OCAb7RKI6Fzg1XlF8ajI48gr2AVcgxnGnqp2Cvv4WnFY8RWPTIhD' \
--data-raw '{
  "amount": 200,
  "currency": "INR",
  "confirm": true,
  "capture_method": "automatic",
  "capture_on": "2022-09-10T10:11:12Z",
  "customer_id": "StripeCustomer",
  "email": "abcdef123@gmail.com",
  "name": "John Doe",
  "phone": "999999999",
  "phone_country_code": "+65",
  "description": "Its my first payment request",
  "authentication_type": "no_three_ds",
  "return_url": "https://google.com",

  "billing": {
    "address": {
      "line1": "1467",
      "line2": "Harrison Street",
      "line3": "Harrison Street",
      "city": "San Fransico",
      "state": "California",
      "zip": "94122",
      "country": "US"
    }
  },
  "browser_info": {
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
    "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
    "language": "nl-NL",
    "color_depth": 24,
    "screen_height": 723,
    "screen_width": 1536,
    "time_zone": 0,
    "java_enabled": false,
    "java_script_enabled": true,
    "ip_address": "127.0.0.1"
  },
  "shipping": {
    "address": {
      "line1": "1467",
      "line2": "Harrison Street",
      "line3": "Harrison Street",
      "city": "San Fransico",
      "state": "California",
      "zip": "94122",
      "country": "US",
      "first_name": "John",
      "last_name": "Doe"
    }
  },
  "statement_descriptor_name": "joseph",
  "statement_descriptor_suffix": "JS",
  "metadata": {
    "udf1": "value1",
    "new_customer": "true",
    "login_date": "2019-09-10T10:11:12Z"
  },
  "payment_method": "crypto",
  "payment_method_type": "crypto_currency",
  "payment_method_data": {
    "crypto": {
      "pay_currency": "XRP"
    }
  }
}'
```

4. Check if pii data in `masked_response` is masked

```
curl --location '{{base_url}}/analytics/v1/connector_event_logs?type=Payment&payment_id={{payment_id}}' \
--header 'sec-ch-ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'authorization: Bearer JWT_token' \
--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \
--header 'Content-Type: application/json' \
--header 'Referer: https://integ.hyperswitch.io/' \
--header 'api-key: {{api-key}}' \
--header 'sec-ch-ua-platform: "macOS"'
```

Coinbase Response
```
masked_response\":\"{\\\"data\\\":{\\\"id\\\":\\\"b74480cf-c92d-44b2-af40-5a6a91a7f910\\\",\\\"code\\\":\\\"GZ62GFRC\\\",\\\"name\\\":null,\\\"utxo\\\":false,\\\"pricing\\\":{\\\"polygon\\\":{\\\"amount\\\":\\\"226.804602000\\\",\\\"currency\\\":\\\"PMATIC\\\"},\\\"bitcoin\\\":{\\\"amount\\\":\\\"0.00385362\\\",\\\"currency\\\":\\\"BTC\\\"},\\\"bitcoincash\\\":{\\\"amount\\\":\\\"0.63153123\\\",\\\"currency\\\":\\\"BCH\\\"},\\\"usdc\\\":{\\\"amount\\\":\\\"254.690228\\\",\\\"currency\\\":\\\"USDC\\\"},\\\"pweth\\\":{\\\"amount\\\":\\\"0.067417426548866693\\\",\\\"currency\\\":\\\"PWETH\\\"},\\\"pusdc\\\":{\\\"amount\\\":\\\"254.690228\\\",\\\"currency\\\":\\\"PUSDC\\\"},\\\"apecoin\\\":{\\\"amount\\\":\\\"115.899990075346566553\\\",\\\"currency\\\":\\\"APE\\\"},\\\"tether\\\":{\\\"amount\\\":\\\"254.612571\\\",\\\"currency\\\":\\\"USDT\\\"},\\\"dogecoin\\\":{\\\"amount\\\":\\\"1690.60888278\\\",\\\"currency\\\":\\\"DOGE\\\"},\\\"local\\\":{\\\"amount\\\":\\\"200.00\\\",\\\"currency\\\":\\\"GBP\\\"},\\\"dai\\\":{\\\"amount\\\":\\\"254.728437456192508876\\\",\\\"currency\\\":\\\"DAI\\\"},\\\"polusdc\\\":{\\\"amount\\\":\\\"254.690228\\\",\\\"currency\\\":\\\"POLUSDC\\\"},\\\"ethereum\\\":{\\\"amount\\\":\\\"0.067372000\\\",\\\"currency\\\":\\\"ETH\\\"},\\\"shibainu\\\":{\\\"amount\\\":\\\"8225100.216068919102212175\\\",\\\"currency\\\":\\\"SHIB\\\"},\\\"litecoin\\\":{\\\"amount\\\":\\\"3.00803387\\\",\\\"currency\\\":\\\"LTC\\\"}},\\\"fee_rate\\\":0.01,\\\"logo_url\\\":\\\"\\\",\\\"metadata\\\":{\\\"customer_id\\\":null,\\\"customer_name\\\":null},\\\"payments\\\":[],\\\"resource\\\":\\\"charge\\\",\\\"timeline\\\":[{\\\"status\\\":\\\"NEW\\\",\\\"context\\\":null,\\\"time\\\":\\\"2024-03-07T07:33:35Z\\\",\\\"payment\\\":null}],\\\"pwcb_only\\\":false,\\\"cancel_url\\\":\\\"http://localhost:8080/payments/pay_wCjb90F5sNJD1qlvfxAs/merchant_1709796607/redirect/response/coinbase\\\",\\\"created_at\\\":\\\"2024-03-07T07:33:35Z\\\",\\\"expires_at\\\":\\\"2024-03-07T08:33:35Z\\\",\\\"hosted_url\\\":\\\"https://commerce.coinbase.com/charges/GZ62GFRC\\\",\\\"brand_color\\\":\\\"#122332\\\",\\\"description\\\":\\\"Its my first payment request\\\",\\\"confirmed_at\\\":null,\\\"fees_settled\\\":true,\\\"pricing_type\\\":\\\"fixed_price\\\",\\\"redirect_url\\\":\\\"http://localhost:8080/payments/pay_wCjb90F5sNJD1qlvfxAs/merchant_1709796607/redirect/response/coinbase\\\",\\\"support_email\\\":\\\\"********@gmail.com\\\",\\\"brand_logo_url\\\":\\\"\\\",\\\"offchain_eligible\\\":false,\\\"organization_name\\\":\\\"\\\",\\\"payment_threshold\\\":{\\\"overpayment_absolute_threshold\\\":{\\\"amount\\\":\\\"5.00\\\",\\\"currency\\\":\\\"USD\\\"},\\\"overpayment_relative_threshold\\\":\\\"0.005\\\",\\\"underpayment_absolute_threshold\\\":{\\\"amount\\\":\\\"5.00\\\",\\\"currency\\\":\\\"USD\\\"},\\\"underpayment_relative_threshold\\\":\\\"0.005\\\"},\\\"coinbase_managed_merchant\\\":false}}
```

Cryptopay Response
```
masked_response\":\"{\\\"data\\\":{\\\"id\\\":\\\"5b837b10-6595-4e19-9ad8-188a17392c0e\\\",\\\"custom_id\\\":\\\"pay_uikX1Kbhlpvo06b0qJk1_1\\\",\\\"customer_id\\\":null,\\\"status\\\":\\\"new\\\",\\\"status_context\\\":null,\\\"address\\\":\\\"*** alloc::string::String ***\\\",\\\"network\\\":\\\"ripple\\\",\\\"uri\\\":\\\"ripple:rfCb49HbVfBLtoeec99APnYfKYu2uLoF35?amount=0.03804&dt=1273215618\\\",\\\"price_amount\\\":\\\"2.0\\\",\\\"price_currency\\\":\\\"INR\\\",\\\"pay_amount\\\":\\\"0.03804\\\",\\\"pay_currency\\\":\\\"XRP\\\",\\\"fee\\\":\\\"0.02\\\",\\\"fee_currency\\\":\\\"INR\\\",\\\"paid_amount\\\":\\\"0.0\\\",\\\"name\\\":null,\\\"description\\\":null,\\\"success_redirect_url\\\":\\\"http://localhost:8080/payments/pay_uikX1Kbhlpvo06b0qJk1/merchant_1709796432/redirect/response/cryptopay\\\",\\\"unsuccess_redirect_url\\\":\\\"http://localhost:8080/payments/pay_uikX1Kbhlpvo06b0qJk1/merchant_1709796432/redirect/response/cryptopay\\\",\\\"hosted_page_url\\\":\\\"https://hosted-business-sandbox.cryptopay.me/invoices/5b837b10-6595-4e19-9ad8-188a17392c0e\\\",\\\"created_at\\\":\\\"2024-03-07T07:27:27+00:00\\\",\\\"expires_at\\\":\\\"2024-03-07T07:37:27+00:00\\\"}}
```


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a [CHANGELOG](/CHANGELOG.md) entry if applicable
