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

chore: Updated openapi spec added labels to wallet data (#9287)

sandeep-kuppilic3ea9412f37f
diff --git a/api-reference/v1/openapi_spec_v1.json b/api-reference/v1/openapi_spec_v1.json
index 6c2fedbf68..b1004f4c93 100644
--- a/api-reference/v1/openapi_spec_v1.json
+++ b/api-reference/v1/openapi_spec_v1.json
@@ -32828,39 +32828,43 @@
"oneOf": [
{
"type": "object",
+ "title": "AliPayHkRedirect",
"required": [
- "ali_pay_qr"
+ "ali_pay_hk_redirect"
],
"properties": {
- "ali_pay_qr": {
- "$ref": "#/components/schemas/AliPayQr"
+ "ali_pay_hk_redirect": {
+ "$ref": "#/components/schemas/AliPayHkRedirection"
}
}
},
{
"type": "object",
+ "title": "AliPayQr",
"required": [
- "ali_pay_redirect"
+ "ali_pay_qr"
],
"properties": {
- "ali_pay_redirect": {
- "$ref": "#/components/schemas/AliPayRedirection"
+ "ali_pay_qr": {
+ "$ref": "#/components/schemas/AliPayQr"
}
}
},
{
"type": "object",
+ "title": "AliPayRedirect",
"required": [
- "ali_pay_hk_redirect"
+ "ali_pay_redirect"
],
"properties": {
- "ali_pay_hk_redirect": {
- "$ref": "#/components/schemas/AliPayHkRedirection"
+ "ali_pay_redirect": {
+ "$ref": "#/components/schemas/AliPayRedirection"
}
}
},
{
"type": "object",
+ "title": "AmazonPay",
"required": [
"amazon_pay"
],
@@ -32872,6 +32876,7 @@
},
{
"type": "object",
+ "title": "AmazonPayRedirect",
"required": [
"amazon_pay_redirect"
],
@@ -32883,73 +32888,81 @@
},
{
"type": "object",
+ "title": "ApplePay",
"required": [
- "bluecode_redirect"
+ "apple_pay"
],
"properties": {
- "bluecode_redirect": {
- "type": "object",
- "description": "The wallet data for Bluecode QR Code Redirect"
+ "apple_pay": {
+ "$ref": "#/components/schemas/ApplePayWalletData"
}
}
},
{
"type": "object",
+ "title": "ApplePayRedirect",
"required": [
- "skrill"
+ "apple_pay_redirect"
],
"properties": {
- "skrill": {
- "$ref": "#/components/schemas/SkrillData"
+ "apple_pay_redirect": {
+ "$ref": "#/components/schemas/ApplePayRedirectData"
}
}
},
{
"type": "object",
+ "title": "ApplePayThirdPartySdk",
"required": [
- "paysera"
+ "apple_pay_third_party_sdk"
],
"properties": {
- "paysera": {
- "$ref": "#/components/schemas/PayseraData"
+ "apple_pay_third_party_sdk": {
+ "$ref": "#/components/schemas/ApplePayThirdPartySdkData"
}
}
},
{
"type": "object",
+ "title": "BluecodeRedirect",
"required": [
- "momo_redirect"
+ "bluecode_redirect"
],
"properties": {
- "momo_redirect": {
- "$ref": "#/components/schemas/MomoRedirection"
+ "bluecode_redirect": {
+ "type": "object",
+ "description": "The wallet data for Bluecode QR Code Redirect"
}
}
},
{
"type": "object",
+ "title": "CashappQr",
"required": [
- "kakao_pay_redirect"
+ "cashapp_qr"
],
"properties": {
- "kakao_pay_redirect": {
- "$ref": "#/components/schemas/KakaoPayRedirection"
+ "cashapp_qr": {
+ "$ref": "#/components/schemas/CashappQr"
}
}
},
{
"type": "object",
+ "title": "DanaRedirect",
"required": [
- "go_pay_redirect"
+ "dana_redirect"
],
"properties": {
- "go_pay_redirect": {
- "$ref": "#/components/schemas/GoPayRedirection"
+ "dana_redirect": {
+ "type": "object",
+ "description": "Wallet data for DANA redirect flow"
}
}
},
{
"type": "object",
+ "title": "GcashRedirect",
"required": [
"gcash_redirect"
],
@@ -32961,106 +32974,115 @@
},
{
"type": "object",
+ "title": "GoPayRedirect",
"required": [
- "apple_pay"
+ "go_pay_redirect"
],
"properties": {
- "apple_pay": {
- "$ref": "#/components/schemas/ApplePayWalletData"
+ "go_pay_redirect": {
+ "$ref": "#/components/schemas/GoPayRedirection"
}
}
},
{
"type": "object",
+ "title": "GooglePay",
"required": [
- "apple_pay_redirect"
+ "google_pay"
],
"properties": {
- "apple_pay_redirect": {
- "$ref": "#/components/schemas/ApplePayRedirectData"
+ "google_pay": {
+ "$ref": "#/components/schemas/GooglePayWalletData"
}
}
},
{
"type": "object",
+ "title": "GooglePayRedirect",
"required": [
- "apple_pay_third_party_sdk"
+ "google_pay_redirect"
],
"properties": {
- "apple_pay_third_party_sdk": {
- "$ref": "#/components/schemas/ApplePayThirdPartySdkData"
+ "google_pay_redirect": {
+ "$ref": "#/components/schemas/GooglePayRedirectData"
}
}
},
{
"type": "object",
+ "title": "GooglePayThirdPartySdk",
"required": [
- "dana_redirect"
+ "google_pay_third_party_sdk"
],
"properties": {
- "dana_redirect": {
- "type": "object",
- "description": "Wallet data for DANA redirect flow"
+ "google_pay_third_party_sdk": {
+ "$ref": "#/components/schemas/GooglePayThirdPartySdkData"
}
}
},
{
"type": "object",
+ "title": "KakaoPayRedirect",
"required": [
- "google_pay"
+ "kakao_pay_redirect"
],
"properties": {
- "google_pay": {
- "$ref": "#/components/schemas/GooglePayWalletData"
+ "kakao_pay_redirect": {
+ "$ref": "#/components/schemas/KakaoPayRedirection"
}
}
},
{
"type": "object",
+ "title": "MbWayRedirect",
"required": [
- "google_pay_redirect"
+ "mb_way_redirect"
],
"properties": {
- "google_pay_redirect": {
- "$ref": "#/components/schemas/GooglePayRedirectData"
+ "mb_way_redirect": {
+ "$ref": "#/components/schemas/MbWayRedirection"
}
}
},
{
"type": "object",
+ "title": "Mifinity",
"required": [
- "google_pay_third_party_sdk"
+ "mifinity"
],
"properties": {
- "google_pay_third_party_sdk": {
- "$ref": "#/components/schemas/GooglePayThirdPartySdkData"
+ "mifinity": {
+ "$ref": "#/components/schemas/MifinityData"
}
}
},
{
"type": "object",
+ "title": "MobilePayRedirect",
"required": [
- "mb_way_redirect"
+ "mobile_pay_redirect"
],
"properties": {
- "mb_way_redirect": {
- "$ref": "#/components/schemas/MbWayRedirection"
+ "mobile_pay_redirect": {
+ "$ref": "#/components/schemas/MobilePayRedirection"
}
}
},
{
"type": "object",
+ "title": "MomoRedirect",
"required": [
- "mobile_pay_redirect"
+ "momo_redirect"
],
"properties": {
- "mobile_pay_redirect": {
- "$ref": "#/components/schemas/MobilePayRedirection"
+ "momo_redirect": {
+ "$ref": "#/components/schemas/MomoRedirection"
}
}
},
{
"type": "object",
+ "title": "PaypalRedirect",
"required": [
"paypal_redirect"
],
@@ -33072,6 +33094,7 @@
},
{
"type": "object",
+ "title": "PaypalSdk",
"required": [
"paypal_sdk"
],
@@ -33083,124 +33106,135 @@
},
{
"type": "object",
+ "title": "Paysera",
"required": [
- "paze"
+ "paysera"
],
"properties": {
- "paze": {
- "$ref": "#/components/schemas/PazeWalletData"
+ "paysera": {
+ "$ref": "#/components/schemas/PayseraData"
}
}
},
{
"type": "object",
+ "title": "Paze",
"required": [
- "samsung_pay"
+ "paze"
],
"properties": {
- "samsung_pay": {
- "$ref": "#/components/schemas/SamsungPayWalletData"
+ "paze": {
+ "$ref": "#/components/schemas/PazeWalletData"
}
}
},
{
"type": "object",
+ "title": "RevolutPay",
"required": [
- "twint_redirect"
+ "revolut_pay"
],
"properties": {
- "twint_redirect": {
- "type": "object",
- "description": "Wallet data for Twint Redirection"
+ "revolut_pay": {
+ "$ref": "#/components/schemas/RevolutPayData"
}
}
},
{
"type": "object",
+ "title": "SamsungPay",
"required": [
- "vipps_redirect"
+ "samsung_pay"
],
"properties": {
- "vipps_redirect": {
- "type": "object",
- "description": "Wallet data for Vipps Redirection"
+ "samsung_pay": {
+ "$ref": "#/components/schemas/SamsungPayWalletData"
}
}
},
{
"type": "object",
+ "title": "Skrill",
"required": [
- "touch_n_go_redirect"
+ "skrill"
],
"properties": {
- "touch_n_go_redirect": {
- "$ref": "#/components/schemas/TouchNGoRedirection"
+ "skrill": {
+ "$ref": "#/components/schemas/SkrillData"
}
}
},
{
"type": "object",
+ "title": "SwishQr",
"required": [
- "we_chat_pay_redirect"
+ "swish_qr"
],
"properties": {
- "we_chat_pay_redirect": {
- "$ref": "#/components/schemas/WeChatPayRedirection"
+ "swish_qr": {
+ "$ref": "#/components/schemas/SwishQrData"
}
}
},
{
"type": "object",
+ "title": "TouchNGoRedirect",
"required": [
- "we_chat_pay_qr"
+ "touch_n_go_redirect"
],
"properties": {
- "we_chat_pay_qr": {
- "$ref": "#/components/schemas/WeChatPayQr"
+ "touch_n_go_redirect": {
+ "$ref": "#/components/schemas/TouchNGoRedirection"
}
}
},
{
"type": "object",
+ "title": "TwintRedirect",
"required": [
- "cashapp_qr"
+ "twint_redirect"
],
"properties": {
- "cashapp_qr": {
- "$ref": "#/components/schemas/CashappQr"
+ "twint_redirect": {
+ "type": "object",
+ "description": "Wallet data for Twint Redirection"
}
}
},
{
"type": "object",
+ "title": "VippsRedirect",
"required": [
- "swish_qr"
+ "vipps_redirect"
],
"properties": {
- "swish_qr": {
- "$ref": "#/components/schemas/SwishQrData"
+ "vipps_redirect": {
+ "type": "object",
+ "description": "Wallet data for Vipps Redirection"
}
}
},
{
"type": "object",
+ "title": "WeChatPayQr",
"required": [
- "mifinity"
+ "we_chat_pay_qr"
],
"properties": {
- "mifinity": {
- "$ref": "#/components/schemas/MifinityData"
+ "we_chat_pay_qr": {
+ "$ref": "#/components/schemas/WeChatPayQr"
}
}
},
{
"type": "object",
+ "title": "WeChatPayRedirect",
"required": [
- "revolut_pay"
+ "we_chat_pay_redirect"
],
"properties": {
- "revolut_pay": {
- "$ref": "#/components/schemas/RevolutPayData"
+ "we_chat_pay_redirect": {
+ "$ref": "#/components/schemas/WeChatPayRedirection"
}
}
}
diff --git a/api-reference/v2/openapi_spec_v2.json b/api-reference/v2/openapi_spec_v2.json
index 8a103d92a8..e324240a1a 100644
--- a/api-reference/v2/openapi_spec_v2.json
+++ b/api-reference/v2/openapi_spec_v2.json
@@ -26404,39 +26404,43 @@
"oneOf": [
{
"type": "object",
+ "title": "AliPayHkRedirect",
"required": [
- "ali_pay_qr"
+ "ali_pay_hk_redirect"
],
"properties": {
- "ali_pay_qr": {
- "$ref": "#/components/schemas/AliPayQr"
+ "ali_pay_hk_redirect": {
+ "$ref": "#/components/schemas/AliPayHkRedirection"
}
}
},
{
"type": "object",
+ "title": "AliPayQr",
"required": [
- "ali_pay_redirect"
+ "ali_pay_qr"
],
"properties": {
- "ali_pay_redirect": {
- "$ref": "#/components/schemas/AliPayRedirection"
+ "ali_pay_qr": {
+ "$ref": "#/components/schemas/AliPayQr"
}
}
},
{
"type": "object",
+ "title": "AliPayRedirect",
"required": [
- "ali_pay_hk_redirect"
+ "ali_pay_redirect"
],
"properties": {
- "ali_pay_hk_redirect": {
- "$ref": "#/components/schemas/AliPayHkRedirection"
+ "ali_pay_redirect": {
+ "$ref": "#/components/schemas/AliPayRedirection"
}
}
},
{
"type": "object",
+ "title": "AmazonPay",
"required": [
"amazon_pay"
],
@@ -26448,6 +26452,7 @@
},
{
"type": "object",
+ "title": "AmazonPayRedirect",
"required": [
"amazon_pay_redirect"
],
@@ -26459,73 +26464,81 @@
},
{
"type": "object",
+ "title": "ApplePay",
"required": [
- "bluecode_redirect"
+ "apple_pay"
],
"properties": {
- "bluecode_redirect": {
- "type": "object",
- "description": "The wallet data for Bluecode QR Code Redirect"
+ "apple_pay": {
+ "$ref": "#/components/schemas/ApplePayWalletData"
}
}
},
{
"type": "object",
+ "title": "ApplePayRedirect",
"required": [
- "skrill"
+ "apple_pay_redirect"
],
"properties": {
- "skrill": {
- "$ref": "#/components/schemas/SkrillData"
+ "apple_pay_redirect": {
+ "$ref": "#/components/schemas/ApplePayRedirectData"
}
}
},
{
"type": "object",
+ "title": "ApplePayThirdPartySdk",
"required": [
- "paysera"
+ "apple_pay_third_party_sdk"
],
"properties": {
- "paysera": {
- "$ref": "#/components/schemas/PayseraData"
+ "apple_pay_third_party_sdk": {
+ "$ref": "#/components/schemas/ApplePayThirdPartySdkData"
}
}
},
{
"type": "object",
+ "title": "BluecodeRedirect",
"required": [
- "momo_redirect"
+ "bluecode_redirect"
],
"properties": {
- "momo_redirect": {
- "$ref": "#/components/schemas/MomoRedirection"
+ "bluecode_redirect": {
+ "type": "object",
+ "description": "The wallet data for Bluecode QR Code Redirect"
}
}
},
{
"type": "object",
+ "title": "CashappQr",
"required": [
- "kakao_pay_redirect"
+ "cashapp_qr"
],
"properties": {
- "kakao_pay_redirect": {
- "$ref": "#/components/schemas/KakaoPayRedirection"
+ "cashapp_qr": {
+ "$ref": "#/components/schemas/CashappQr"
}
}
},
{
"type": "object",
+ "title": "DanaRedirect",
"required": [
- "go_pay_redirect"
+ "dana_redirect"
],
"properties": {
- "go_pay_redirect": {
- "$ref": "#/components/schemas/GoPayRedirection"
+ "dana_redirect": {
+ "type": "object",
+ "description": "Wallet data for DANA redirect flow"
}
}
},
{
"type": "object",
+ "title": "GcashRedirect",
"required": [
"gcash_redirect"
],
@@ -26537,106 +26550,115 @@
},
{
"type": "object",
+ "title": "GoPayRedirect",
"required": [
- "apple_pay"
+ "go_pay_redirect"
],
"properties": {
- "apple_pay": {
- "$ref": "#/components/schemas/ApplePayWalletData"
+ "go_pay_redirect": {
+ "$ref": "#/components/schemas/GoPayRedirection"
}
}
},
{
"type": "object",
+ "title": "GooglePay",
"required": [
- "apple_pay_redirect"
+ "google_pay"
],
"properties": {
- "apple_pay_redirect": {
- "$ref": "#/components/schemas/ApplePayRedirectData"
+ "google_pay": {
+ "$ref": "#/components/schemas/GooglePayWalletData"
}
}
},
{
"type": "object",
+ "title": "GooglePayRedirect",
"required": [
- "apple_pay_third_party_sdk"
+ "google_pay_redirect"
],
"properties": {
- "apple_pay_third_party_sdk": {
- "$ref": "#/components/schemas/ApplePayThirdPartySdkData"
+ "google_pay_redirect": {
+ "$ref": "#/components/schemas/GooglePayRedirectData"
}
}
},
{
"type": "object",
+ "title": "GooglePayThirdPartySdk",
"required": [
- "dana_redirect"
+ "google_pay_third_party_sdk"
],
"properties": {
- "dana_redirect": {
- "type": "object",
- "description": "Wallet data for DANA redirect flow"
+ "google_pay_third_party_sdk": {
+ "$ref": "#/components/schemas/GooglePayThirdPartySdkData"
}
}
},
{
"type": "object",
+ "title": "KakaoPayRedirect",
"required": [
- "google_pay"
+ "kakao_pay_redirect"
],
"properties": {
- "google_pay": {
- "$ref": "#/components/schemas/GooglePayWalletData"
+ "kakao_pay_redirect": {
+ "$ref": "#/components/schemas/KakaoPayRedirection"
}
}
},
{
"type": "object",
+ "title": "MbWayRedirect",
"required": [
- "google_pay_redirect"
+ "mb_way_redirect"
],
"properties": {
- "google_pay_redirect": {
- "$ref": "#/components/schemas/GooglePayRedirectData"
+ "mb_way_redirect": {
+ "$ref": "#/components/schemas/MbWayRedirection"
}
}
},
{
"type": "object",
+ "title": "Mifinity",
"required": [
- "google_pay_third_party_sdk"
+ "mifinity"
],
"properties": {
- "google_pay_third_party_sdk": {
- "$ref": "#/components/schemas/GooglePayThirdPartySdkData"
+ "mifinity": {
+ "$ref": "#/components/schemas/MifinityData"
}
}
},
{
"type": "object",
+ "title": "MobilePayRedirect",
"required": [
- "mb_way_redirect"
+ "mobile_pay_redirect"
],
"properties": {
- "mb_way_redirect": {
- "$ref": "#/components/schemas/MbWayRedirection"
+ "mobile_pay_redirect": {
+ "$ref": "#/components/schemas/MobilePayRedirection"
}
}
},
{
"type": "object",
+ "title": "MomoRedirect",
"required": [
- "mobile_pay_redirect"
+ "momo_redirect"
],
"properties": {
- "mobile_pay_redirect": {
- "$ref": "#/components/schemas/MobilePayRedirection"
+ "momo_redirect": {
+ "$ref": "#/components/schemas/MomoRedirection"
}
}
},
{
"type": "object",
+ "title": "PaypalRedirect",
"required": [
"paypal_redirect"
],
@@ -26648,6 +26670,7 @@
},
{
"type": "object",
+ "title": "PaypalSdk",
"required": [
"paypal_sdk"
],
@@ -26659,124 +26682,135 @@
},
{
"type": "object",
+ "title": "Paysera",
"required": [
- "paze"
+ "paysera"
],
"properties": {
- "paze": {
- "$ref": "#/components/schemas/PazeWalletData"
+ "paysera": {
+ "$ref": "#/components/schemas/PayseraData"
}
}
},
{
"type": "object",
+ "title": "Paze",
"required": [
- "samsung_pay"
+ "paze"
],
"properties": {
- "samsung_pay": {
- "$ref": "#/components/schemas/SamsungPayWalletData"
+ "paze": {
+ "$ref": "#/components/schemas/PazeWalletData"
}
}
},
{
"type": "object",
+ "title": "RevolutPay",
"required": [
- "twint_redirect"
+ "revolut_pay"
],
"properties": {
- "twint_redirect": {
- "type": "object",
- "description": "Wallet data for Twint Redirection"
+ "revolut_pay": {
+ "$ref": "#/components/schemas/RevolutPayData"
}
}
},
{
"type": "object",
+ "title": "SamsungPay",
"required": [
- "vipps_redirect"
+ "samsung_pay"
],
"properties": {
- "vipps_redirect": {
- "type": "object",
- "description": "Wallet data for Vipps Redirection"
+ "samsung_pay": {
+ "$ref": "#/components/schemas/SamsungPayWalletData"
}
}
},
{
"type": "object",
+ "title": "Skrill",
"required": [
- "touch_n_go_redirect"
+ "skrill"
],
"properties": {
- "touch_n_go_redirect": {
- "$ref": "#/components/schemas/TouchNGoRedirection"
+ "skrill": {
+ "$ref": "#/components/schemas/SkrillData"
}
}
},
{
"type": "object",
+ "title": "SwishQr",
"required": [
- "we_chat_pay_redirect"
+ "swish_qr"
],
"properties": {
- "we_chat_pay_redirect": {
- "$ref": "#/components/schemas/WeChatPayRedirection"
+ "swish_qr": {
+ "$ref": "#/components/schemas/SwishQrData"
}
}
},
{
"type": "object",
+ "title": "TouchNGoRedirect",
"required": [
- "we_chat_pay_qr"
+ "touch_n_go_redirect"
],
"properties": {
- "we_chat_pay_qr": {
- "$ref": "#/components/schemas/WeChatPayQr"
+ "touch_n_go_redirect": {
+ "$ref": "#/components/schemas/TouchNGoRedirection"
}
}
},
{
"type": "object",
+ "title": "TwintRedirect",
"required": [
- "cashapp_qr"
+ "twint_redirect"
],
"properties": {
- "cashapp_qr": {
- "$ref": "#/components/schemas/CashappQr"
+ "twint_redirect": {
+ "type": "object",
+ "description": "Wallet data for Twint Redirection"
}
}
},
{
"type": "object",
+ "title": "VippsRedirect",
"required": [
- "swish_qr"
+ "vipps_redirect"
],
"properties": {
- "swish_qr": {
- "$ref": "#/components/schemas/SwishQrData"
+ "vipps_redirect": {
+ "type": "object",
+ "description": "Wallet data for Vipps Redirection"
}
}
},
{
"type": "object",
+ "title": "WeChatPayQr",
"required": [
- "mifinity"
+ "we_chat_pay_qr"
],
"properties": {
- "mifinity": {
- "$ref": "#/components/schemas/MifinityData"
+ "we_chat_pay_qr": {
+ "$ref": "#/components/schemas/WeChatPayQr"
}
}
},
{
"type": "object",
+ "title": "WeChatPayRedirect",
"required": [
- "revolut_pay"
+ "we_chat_pay_redirect"
],
"properties": {
- "revolut_pay": {
- "$ref": "#/components/schemas/RevolutPayData"
+ "we_chat_pay_redirect": {
+ "$ref": "#/components/schemas/WeChatPayRedirection"
}
}
}
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index 34a8beee16..7f0c797a15 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -3816,73 +3816,108 @@ impl GetAddressFromPaymentMethodData for BankDebitBilling {
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
#[serde(rename_all = "snake_case")]
pub enum WalletData {
+ /// The wallet data for Ali Pay HK redirect
+ #[schema(title = "AliPayHkRedirect")]
+ AliPayHkRedirect(AliPayHkRedirection),
/// The wallet data for Ali Pay QrCode
+ #[schema(title = "AliPayQr")]
AliPayQr(Box<AliPayQr>),
/// The wallet data for Ali Pay redirect
+ #[schema(title = "AliPayRedirect")]
AliPayRedirect(AliPayRedirection),
- /// The wallet data for Ali Pay HK redirect
- AliPayHkRedirect(AliPayHkRedirection),
/// The wallet data for Amazon Pay
+ #[schema(title = "AmazonPay")]
AmazonPay(AmazonPayWalletData),
/// The wallet data for Amazon Pay redirect
+ #[schema(title = "AmazonPayRedirect")]
AmazonPayRedirect(AmazonPayRedirectData),
- /// The wallet data for Bluecode QR Code Redirect
- BluecodeRedirect {},
- /// The wallet data for Skrill
- Skrill(SkrillData),
- /// The wallet data for Paysera
- Paysera(PayseraData),
- /// The wallet data for Momo redirect
- MomoRedirect(MomoRedirection),
- /// The wallet data for KakaoPay redirect
- KakaoPayRedirect(KakaoPayRedirection),
- /// The wallet data for GoPay redirect
- GoPayRedirect(GoPayRedirection),
- /// The wallet data for Gcash redirect
- GcashRedirect(GcashRedirection),
/// The wallet data for Apple pay
+ #[schema(title = "ApplePay")]
ApplePay(ApplePayWalletData),
/// Wallet data for apple pay redirect flow
+ #[schema(title = "ApplePayRedirect")]
ApplePayRedirect(Box<ApplePayRedirectData>),
/// Wallet data for apple pay third party sdk flow
+ #[schema(title = "ApplePayThirdPartySdk")]
ApplePayThirdPartySdk(Box<ApplePayThirdPartySdkData>),
+ /// The wallet data for Bluecode QR Code Redirect
+ #[schema(title = "BluecodeRedirect")]
+ BluecodeRedirect {},
+ /// The wallet data for Cashapp Qr
+ #[schema(title = "CashappQr")]
+ CashappQr(Box<CashappQr>),
/// Wallet data for DANA redirect flow
+ #[schema(title = "DanaRedirect")]
DanaRedirect {},
+ /// The wallet data for Gcash redirect
+ #[schema(title = "GcashRedirect")]
+ GcashRedirect(GcashRedirection),
+ /// The wallet data for GoPay redirect
+ #[schema(title = "GoPayRedirect")]
+ GoPayRedirect(GoPayRedirection),
/// The wallet data for Google pay
+ #[schema(title = "GooglePay")]
GooglePay(GooglePayWalletData),
/// Wallet data for google pay redirect flow
+ #[schema(title = "GooglePayRedirect")]
GooglePayRedirect(Box<GooglePayRedirectData>),
/// Wallet data for Google pay third party sdk flow
+ #[schema(title = "GooglePayThirdPartySdk")]
GooglePayThirdPartySdk(Box<GooglePayThirdPartySdkData>),
+ /// The wallet data for KakaoPay redirect
+ #[schema(title = "KakaoPayRedirect")]
+ KakaoPayRedirect(KakaoPayRedirection),
+ /// Wallet data for MbWay redirect flow
+ #[schema(title = "MbWayRedirect")]
MbWayRedirect(Box<MbWayRedirection>),
+ // The wallet data for Mifinity Ewallet
+ #[schema(title = "Mifinity")]
+ Mifinity(MifinityData),
/// The wallet data for MobilePay redirect
+ #[schema(title = "MobilePayRedirect")]
MobilePayRedirect(Box<MobilePayRedirection>),
+ /// The wallet data for Momo redirect
+ #[schema(title = "MomoRedirect")]
+ MomoRedirect(MomoRedirection),
/// This is for paypal redirection
+ #[schema(title = "PaypalRedirect")]
PaypalRedirect(PaypalRedirection),
/// The wallet data for Paypal
+ #[schema(title = "PaypalSdk")]
PaypalSdk(PayPalWalletData),
+ /// The wallet data for Paysera
+ #[schema(title = "Paysera")]
+ Paysera(PayseraData),
/// The wallet data for Paze
+ #[schema(title = "Paze")]
Paze(PazeWalletData),
+ // The wallet data for RevolutPay
+ #[schema(title = "RevolutPay")]
+ RevolutPay(RevolutPayData),
/// The wallet data for Samsung Pay
+ #[schema(title = "SamsungPay")]
SamsungPay(Box<SamsungPayWalletData>),
+ /// The wallet data for Skrill
+ #[schema(title = "Skrill")]
+ Skrill(SkrillData),
+ // The wallet data for Swish
+ #[schema(title = "SwishQr")]
+ SwishQr(SwishQrData),
+ /// The wallet data for Touch n Go Redirection
+ #[schema(title = "TouchNGoRedirect")]
+ TouchNGoRedirect(Box<TouchNGoRedirection>),
/// Wallet data for Twint Redirection
+ #[schema(title = "TwintRedirect")]
TwintRedirect {},
/// Wallet data for Vipps Redirection
+ #[schema(title = "VippsRedirect")]
VippsRedirect {},
- /// The wallet data for Touch n Go Redirection
- TouchNGoRedirect(Box<TouchNGoRedirection>),
- /// The wallet data for WeChat Pay Redirection
- WeChatPayRedirect(Box<WeChatPayRedirection>),
/// The wallet data for WeChat Pay Display QrCode
+ #[schema(title = "WeChatPayQr")]
WeChatPayQr(Box<WeChatPayQr>),
- /// The wallet data for Cashapp Qr
- CashappQr(Box<CashappQr>),
- // The wallet data for Swish
- SwishQr(SwishQrData),
- // The wallet data for Mifinity Ewallet
- Mifinity(MifinityData),
- // The wallet data for RevolutPay
- RevolutPay(RevolutPayData),
+ /// The wallet data for WeChat Pay Redirection
+ #[schema(title = "WeChatPayRedirect")]
+ WeChatPayRedirect(Box<WeChatPayRedirection>),
}
impl GetAddressFromPaymentMethodData for WalletData {