Defines a serializable data structure for sending business and contact information to CRM systems, used for integration requests involving merchant onboarding data.
// Source: https://github.com/juspay/hyperswitch | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
use common_enums::CountryAlpha2;
use common_utils::{
errors::CustomResult,
request::{Request, RequestContent},
};
use hyperswitch_masking::Secret;
use super::types::Proxy;
use crate::errors::HttpClientError;
/// Crm Payload structure
#[derive(Clone, Debug, serde::Serialize, Default)]
pub struct CrmPayload {
/// The legal name of the business.
pub legal_business_name: Option<String>,
/// A label or tag associated with the business.
pub business_label: Option<String>,
/// The location of the business, represented as a country code (ISO Alpha-2 format).
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key