mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): Save payment method on payments confirm (V2) (#8090)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -232,9 +232,11 @@ Never share your secret api keys. Keep them guarded and secure.
|
||||
api_models::payment_methods::AuthenticationDetails,
|
||||
api_models::payment_methods::PaymentMethodResponse,
|
||||
api_models::payment_methods::PaymentMethodResponseData,
|
||||
api_models::payment_methods::CustomerPaymentMethod,
|
||||
api_models::payment_methods::CustomerPaymentMethodResponseItem,
|
||||
api_models::payment_methods::PaymentMethodResponseItem,
|
||||
api_models::payment_methods::PaymentMethodListRequest,
|
||||
api_models::payment_methods::PaymentMethodListResponse,
|
||||
api_models::payment_methods::PaymentMethodListResponseForSession,
|
||||
api_models::payment_methods::CustomerPaymentMethodsListResponse,
|
||||
api_models::payment_methods::ResponsePaymentMethodsEnabled,
|
||||
api_models::payment_methods::PaymentMethodSubtypeSpecificData,
|
||||
api_models::payment_methods::ResponsePaymentMethodTypes,
|
||||
@ -242,7 +244,6 @@ Never share your secret api keys. Keep them guarded and secure.
|
||||
api_models::payment_methods::CardNetworkTypes,
|
||||
api_models::payment_methods::BankDebitTypes,
|
||||
api_models::payment_methods::BankTransferTypes,
|
||||
api_models::payment_methods::CustomerPaymentMethodsListResponse,
|
||||
api_models::payment_methods::PaymentMethodDeleteResponse,
|
||||
api_models::payment_methods::PaymentMethodUpdate,
|
||||
api_models::payment_methods::PaymentMethodUpdateData,
|
||||
|
||||
@ -401,7 +401,7 @@ pub fn payment_method_session_retrieve() {}
|
||||
("id" = String, Path, description = "The unique identifier for the Payment Method Session"),
|
||||
),
|
||||
responses(
|
||||
(status = 200, description = "The payment method session is retrieved successfully", body = PaymentMethodListResponse),
|
||||
(status = 200, description = "The payment method session is retrieved successfully", body = PaymentMethodListResponseForSession),
|
||||
(status = 404, description = "The request is invalid")
|
||||
),
|
||||
tag = "Payment Method Session",
|
||||
|
||||
Reference in New Issue
Block a user