feat(connector): [ACI] Implement Trustly Bank Redirect (#1130)

This commit is contained in:
Sakil Mostak
2023-05-13 14:58:41 +05:30
committed by GitHub
parent bf2352b14a
commit 46b40ecce5
4 changed files with 57 additions and 10 deletions

View File

@ -670,7 +670,11 @@ pub enum BankRedirectData {
preferred_language: String,
},
Swish {},
Trustly {},
Trustly {
/// The country for bank payment
#[schema(value_type = CountryAlpha2, example = "US")]
country: api_enums::CountryAlpha2,
},
}
#[derive(Debug, Clone, Eq, PartialEq, serde::Deserialize, serde::Serialize, ToSchema)]