Command: grep -n -A 30 "pub struct.*MerchantAccountResponse"…
- User
Command: grep -n -A 30 "pub struct.*MerchantAccountResponse" /workspace/archit/trace_generation/repos/hyperswitch_pool_6/crates/api_models/src/admin.rs Output: 475:pub struct MerchantAccountResponse { 476- /// The identifier for the Merchant Account 477- #[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44", value_type = String)] 478- pub merchant_id: id_type::MerchantId, 479- 480- /// Name of the Merchant Account 481- #[schema(value_type = Option,example = "NewAge Retailer")] 482- pub merchant_name: OptionalEncryptableName, 483- 484- /// The URL to redirect after completion of the payment 485- #[schema(max_length = 255, example = "https://www.example.com/success")] 486- pub return_url: Option, 487- 488- /// A boolean value to indicate if payment response hash needs to be enabled 489- #[schema(default = false, example = true)] 490- pub enable_payment_response_hash: bool, 491- 492- /// Refers to the hash key used for calculating the signature for webhooks and redirect response. If the value is not provided, a value is automatically generated. 493- #[schema(max_length = 255, example = "xkkdf909012sdjki2dkh5sdf")] 494- pub payment_response_hash_key: Option, 495- 496- /// A boolean value to indicate if redirect to merchant with http post needs to be enabled 497- #[schema(default = false, example = true)] 498- pub redirect_to_merchant_with_http_post: bool, 499- 500- /// Details about the merchant 501- #[schema(value_type = Option)] 502- pub merchant_details: Option<Encryptablepii::SecretSerdeValue>, 503- 504- /// Webhook related details 505- pub webhook_details: Option,
571:pub struct MerchantAccountResponse { 572- /// The identifier for the Merchant Account 573- #[schema(max_length = 64, example = "y3oqhf46pyzuxjbcn2giaqnb44", value_type = String)] 574- pub id: id_type::MerchantId, 575- 576- /// Name of the Merchant Account 577- #[schema(value_type = String,example = "NewAge Retailer")] 578- pub merchant_name: Secret, 579- 580- /// Details about the merchant 581- #[schema(value_type = Option)] 582- pub merchant_details: Option<Encryptablepii::SecretSerdeValue>, 583- 584- /// API key that will be used for server side API access 585- #[schema(example = "AH3423bkjbkjdsfbkj")] 586- pub publishable_key: String, 587- 588- /// Metadata is useful for storing additional, unstructured information on an object. 589- #[schema(value_type = Option, example = r#"{ "city": "NY", "unit": "245" }"#)] 590- pub metadata: Optionpii::SecretSerdeValue, 591- 592- /// The id of the organization which the merchant is associated with 593- #[schema(value_type = String, max_length = 64, min_length = 1, example = "org_q98uSGAYbjEwqs0mJwnz")] 594- pub organization_id: id_type::OrganizationId, 595- 596- /// Used to indicate the status of the recon module for a merchant account 597- #[schema(value_type = ReconStatus, example = "not_requested")] 598- pub recon_status: api_enums::ReconStatus, 599- 600- /// Product Type of this merchant account 601- #[schema(value_type = Option, example = "Orchestration")]
Assistant
<is_displaying_contents> true </is_displaying_contents>