feat(router): Enable client_secret auth for payments_get_intent [v2] (#8119)

This commit is contained in:
Anurag Thakur
2025-05-27 15:43:29 +05:30
committed by GitHub
parent fab9f5eee5
commit 68b0e386d5

View File

@ -232,10 +232,16 @@ pub async fn payments_get_intent(
header_payload.clone(),
)
},
&auth::V2ApiKeyAuth {
is_connected_allowed: false,
is_platform_allowed: false,
},
auth::api_or_client_auth(
&auth::V2ApiKeyAuth {
is_connected_allowed: false,
is_platform_allowed: false,
},
&auth::V2ClientAuth(common_utils::types::authentication::ResourceId::Payment(
global_payment_id.clone(),
)),
req.headers(),
),
api_locking::LockAction::NotApplicable,
))
.await