mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
enhance(stripe): send statement descriptor to stripe (#707)
This commit is contained in:
@ -33,7 +33,7 @@ pub struct CustomerRequest {
|
||||
#[schema(value_type = Option<Object>,example = json!({
|
||||
"city": "Bangalore",
|
||||
"country": "IN",
|
||||
"line1": "Juspay router",
|
||||
"line1": "Hyperswitch router",
|
||||
"line2": "Koramangala",
|
||||
"line3": "Stallion",
|
||||
"state": "Karnataka",
|
||||
@ -73,7 +73,7 @@ pub struct CustomerResponse {
|
||||
#[schema(value_type = Option<Object>,example = json!({
|
||||
"city": "Bangalore",
|
||||
"country": "IN",
|
||||
"line1": "Juspay router",
|
||||
"line1": "Hyperswitch router",
|
||||
"line2": "Koramangala",
|
||||
"line3": "Stallion",
|
||||
"state": "Karnataka",
|
||||
|
||||
@ -154,8 +154,8 @@ pub struct PaymentsRequest {
|
||||
pub billing: Option<Address>,
|
||||
|
||||
/// For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must contain at least one letter, maximum 22 characters.
|
||||
#[schema(max_length = 255, example = "Juspay Router")]
|
||||
pub statement_descriptor_name: Option<String>,
|
||||
#[schema(max_length = 255, example = "Hyperswitch Router")]
|
||||
pub statement_descriptor: Option<String>,
|
||||
|
||||
/// Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
|
||||
#[schema(max_length = 255, example = "Payment for shoes purchase")]
|
||||
@ -861,8 +861,8 @@ pub struct PaymentsResponse {
|
||||
#[schema(value_type = Option<AuthenticationType>, example = "no_three_ds", default = "three_ds")]
|
||||
pub authentication_type: Option<api_enums::AuthenticationType>,
|
||||
/// For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must contain at least one letter, maximum 22 characters.
|
||||
#[schema(max_length = 255, example = "Juspay Router")]
|
||||
pub statement_descriptor_name: Option<String>,
|
||||
#[schema(max_length = 255, example = "Hyperswitch Router")]
|
||||
pub statement_descriptor: Option<String>,
|
||||
/// Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 255 characters for the concatenated descriptor.
|
||||
#[schema(max_length = 255, example = "Payment for shoes purchase")]
|
||||
pub statement_descriptor_suffix: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user