mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat: api contract change for wallet (#628)
This commit is contained in:
committed by
GitHub
parent
060c54193e
commit
ff86417eee
@ -26,7 +26,7 @@ pub struct CreateMerchantAccount {
|
||||
pub merchant_details: Option<MerchantDetails>,
|
||||
|
||||
/// The URL to redirect after the completion of the operation
|
||||
#[schema(max_length = 255, example = "https://www.example.com/success")]
|
||||
#[schema(value_type = Option<String>, max_length = 255, example = "https://www.example.com/success")]
|
||||
pub return_url: Option<url::Url>,
|
||||
|
||||
/// Webhook related details
|
||||
@ -311,6 +311,7 @@ pub struct AcceptedCurrencies {
|
||||
#[serde(rename = "type")]
|
||||
pub accept_type: String,
|
||||
/// List of currencies of the provided type
|
||||
#[schema(value_type = Option<Vec<Currency>>)]
|
||||
pub list: Option<Vec<api_enums::Currency>>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user