feat(payments_v2): add payment_confirm_intent api endpoint (#6263)

Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
Co-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com>
Co-authored-by: spritianeja03 <146620839+spritianeja03@users.noreply.github.com>
Co-authored-by: Spriti Aneja <spriti.aneja@juspay.in>
This commit is contained in:
Narayan Bhat
2024-10-24 16:10:01 +05:30
committed by GitHub
parent 26e0c32f4d
commit c7c1e1adab
125 changed files with 3930 additions and 3481 deletions

View File

@ -91,7 +91,7 @@ pub async fn payment_intents_create(
api::AuthFlow::Merchant,
payments::CallConnectorAction::Trigger,
eligible_connectors,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&auth::HeaderAuth(auth::ApiKeyAuth),
@ -161,7 +161,7 @@ pub async fn payment_intents_retrieve(
auth_flow,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,
@ -239,7 +239,7 @@ pub async fn payment_intents_retrieve_with_gateway_creds(
api::AuthFlow::Merchant,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,
@ -315,7 +315,7 @@ pub async fn payment_intents_update(
auth_flow,
payments::CallConnectorAction::Trigger,
eligible_connectors,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,
@ -400,7 +400,7 @@ pub async fn payment_intents_confirm(
auth_flow,
payments::CallConnectorAction::Trigger,
eligible_connectors,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,
@ -471,7 +471,7 @@ pub async fn payment_intents_capture(
api::AuthFlow::Merchant,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&auth::HeaderAuth(auth::ApiKeyAuth),
@ -546,7 +546,7 @@ pub async fn payment_intents_cancel(
auth_flow,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,

View File

@ -77,7 +77,7 @@ pub async fn setup_intents_create(
api::AuthFlow::Merchant,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&auth::HeaderAuth(auth::ApiKeyAuth),
@ -147,7 +147,7 @@ pub async fn setup_intents_retrieve(
auth_flow,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,
@ -223,7 +223,7 @@ pub async fn setup_intents_update(
auth_flow,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,
@ -300,7 +300,7 @@ pub async fn setup_intents_confirm(
auth_flow,
payments::CallConnectorAction::Trigger,
None,
api_types::HeaderPayload::default(),
hyperswitch_domain_models::payments::HeaderPayload::default(),
)
},
&*auth_type,