Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(core): Fix billing descriptor name example (#10342)

awasthi21f2fcc7fdff7b
diff --git a/api-reference/v1/openapi_spec_v1.json b/api-reference/v1/openapi_spec_v1.json
index d5cf11b2af..e2e9f8e724 100644
--- a/api-reference/v1/openapi_spec_v1.json
+++ b/api-reference/v1/openapi_spec_v1.json
@@ -12760,7 +12760,7 @@
"name": {
"type": "string",
"description": "name to be put in billing description",
- "example": "John Doe",
+ "example": "The Online Retailer",
"nullable": true
},
"city": {
diff --git a/crates/common_types/src/payments.rs b/crates/common_types/src/payments.rs
index 01fcf8bf5c..68fc8a00e5 100644
--- a/crates/common_types/src/payments.rs
+++ b/crates/common_types/src/payments.rs
@@ -886,7 +886,7 @@ pub enum RecoveryAction {
#[diesel(sql_type = Jsonb)]
pub struct BillingDescriptor {
/// name to be put in billing description
- #[schema(value_type = Option<String>, example = "John Doe")]
+ #[schema(value_type = Option<String>, example = "The Online Retailer")]
pub name: Option<Secret<String>>,
/// city to be put in billing description
#[schema(value_type = Option<String>, example = "San Francisco")]