mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): add payments manual-update api (#5045)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2e1167acbc
commit
ed021c1d99
@ -4653,6 +4653,25 @@ pub struct PaymentsExternalAuthenticationRequest {
|
||||
pub threeds_method_comp_ind: ThreeDsCompletionIndicator,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize, Clone, ToSchema)]
|
||||
pub struct PaymentsManualUpdateRequest {
|
||||
/// The identifier for the payment
|
||||
#[serde(skip)]
|
||||
pub payment_id: String,
|
||||
/// The identifier for the payment attempt
|
||||
pub attempt_id: String,
|
||||
/// Merchant ID
|
||||
pub merchant_id: String,
|
||||
/// The status of the attempt
|
||||
pub attempt_status: Option<enums::AttemptStatus>,
|
||||
/// Error code of the connector
|
||||
pub error_code: Option<String>,
|
||||
/// Error message of the connector
|
||||
pub error_message: Option<String>,
|
||||
/// Error reason of the connector
|
||||
pub error_reason: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, serde::Deserialize, Clone, ToSchema)]
|
||||
pub enum ThreeDsCompletionIndicator {
|
||||
/// 3DS method successfully completed
|
||||
|
||||
Reference in New Issue
Block a user