Skip to content

Commit 0ad7bba

Browse files
committed
refactor: resolve ope-api
1 parent d16b826 commit 0ad7bba

File tree

3 files changed

+1
-32
lines changed

3 files changed

+1
-32
lines changed

api-reference/v2/openapi_spec_v2.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19254,37 +19254,6 @@
1925419254
}
1925519255
}
1925619256
},
19257-
"PaymentsRetrieveRequestWithMerchantConnectorDetails": {
19258-
"type": "object",
19259-
"properties": {
19260-
"force_sync": {
19261-
"type": "boolean",
19262-
"description": "A boolean used to indicate if the payment status should be fetched from the connector\nIf this is set to true, the status will be fetched from the connector"
19263-
},
19264-
"expand_attempts": {
19265-
"type": "boolean",
19266-
"description": "A boolean used to indicate if all the attempts needs to be fetched for the intent.\nIf this is set to true, attempts list will be available in the response."
19267-
},
19268-
"param": {
19269-
"type": "string",
19270-
"description": "These are the query params that are sent in case of redirect response.\nThese can be ingested by the connector to take necessary actions.",
19271-
"nullable": true
19272-
},
19273-
"all_keys_required": {
19274-
"type": "boolean",
19275-
"description": "If enabled, provides whole connector response",
19276-
"nullable": true
19277-
},
19278-
"merchant_connector_details": {
19279-
"allOf": [
19280-
{
19281-
"$ref": "#/components/schemas/MerchantConnectorDetails"
19282-
}
19283-
],
19284-
"nullable": true
19285-
}
19286-
}
19287-
},
1928819257
"PaymentsSessionRequest": {
1928919258
"type": "object"
1929019259
},

crates/openapi/src/openapi_v2.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ Never share your secret api keys. Keep them guarded and secure.
422422
api_models::payments::PaymentsListResponseItem,
423423
api_models::payments::PaymentRetrieveBody,
424424
api_models::payments::PaymentsRetrieveRequest,
425-
api_models::payments::PaymentsRetrieveRequestWithMerchantConnectorDetails,
426425
api_models::payments::MerchantConnectorDetails,
427426
api_models::payments::PaymentsStatusRequest,
428427
api_models::payments::PaymentsCaptureRequest,

crates/router/src/core/payments/operations/payment_confirm_intent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ impl<F: Clone + Sync> UpdateTracker<F, PaymentConfirmData<F>, PaymentsConfirmInt
590590
.clone();
591591

592592
let payment_attempt_update = match &payment_data.payment_method {
593+
// In the case of a tokenized payment method, we update the payment attempt with the tokenized payment method details.
593594
Some(payment_method) => {
594595
hyperswitch_domain_models::payments::payment_attempt::PaymentAttemptUpdate::ConfirmIntentTokenized {
595596
status: attempt_status,

0 commit comments

Comments
 (0)