mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(router): new get route for derivation of verified applepay domain (#2121)
This commit is contained in:
@ -21,5 +21,19 @@ pub struct ApplepayMerchantVerificationRequest {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ApplepayMerchantResponse {
|
||||
pub status_message: String,
|
||||
pub status_code: String,
|
||||
pub status_code: u16,
|
||||
}
|
||||
|
||||
/// QueryParams to be send by the merchant for fetching the verified domains
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ApplepayGetVerifiedDomainsParam {
|
||||
pub business_profile_id: String,
|
||||
}
|
||||
/// Response to be sent for derivation of the already verified domains
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ApplepayVerifiedDomainsResponse {
|
||||
pub status_code: u16,
|
||||
pub verified_domains: Vec<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user