mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(connector): finix
This commit is contained in:
@ -189,6 +189,7 @@ impl TryFrom<&FinixRouterData<'_, Authorize, PaymentsAuthorizeData, PaymentsResp
|
|||||||
currency: item.router_data.request.currency,
|
currency: item.router_data.request.currency,
|
||||||
source,
|
source,
|
||||||
merchant: item.merchant_id.clone(),
|
merchant: item.merchant_id.clone(),
|
||||||
|
idempotency_id: Some(item.router_data.connector_request_reference_id.clone()),
|
||||||
tags: None,
|
tags: None,
|
||||||
three_d_secure: None,
|
three_d_secure: None,
|
||||||
})
|
})
|
||||||
|
|||||||
@ -15,6 +15,8 @@ pub struct FinixPaymentsRequest {
|
|||||||
pub merchant: Secret<String>,
|
pub merchant: Secret<String>,
|
||||||
pub tags: Option<FinixTags>,
|
pub tags: Option<FinixTags>,
|
||||||
pub three_d_secure: Option<FinixThreeDSecure>,
|
pub three_d_secure: Option<FinixThreeDSecure>,
|
||||||
|
pub idempotency_id: Option<String>,
|
||||||
|
// pub fraud_session_id: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||||
|
|||||||
Reference in New Issue
Block a user