We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9fef4 commit 72c3950Copy full SHA for 72c3950
crates/router/src/routes/payments.rs
@@ -232,10 +232,16 @@ pub async fn payments_get_intent(
232
header_payload.clone(),
233
)
234
},
235
- &auth::V2ApiKeyAuth {
236
- is_connected_allowed: false,
237
- is_platform_allowed: false,
238
- },
+ auth::api_or_client_auth(
+ &auth::V2ApiKeyAuth {
+ is_connected_allowed: false,
+ is_platform_allowed: false,
239
+ },
240
+ &auth::V2ClientAuth(common_utils::types::authentication::ResourceId::Payment(
241
+ global_payment_id.clone(),
242
+ )),
243
+ req.headers(),
244
+ ),
245
api_locking::LockAction::NotApplicable,
246
))
247
.await
0 commit comments