Skip to content

Commit

Permalink
Update jpmorgan.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
bsayak03 authored Oct 30, 2024
1 parent 97292b1 commit f90b921
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ impl ConnectorCommon for Jpmorgan {
}

fn get_currency_unit(&self) -> api::CurrencyUnit {
todo!()
api::CurrencyUnit::Base
//todo!()
// TODO! Check connector documentation, on which unit they are processing the currency.
// If the connector accepts amount in lower unit ( i.e cents for USD) then return api::CurrencyUnit::Minor,
// if connector accepts amount in base unit (i.e dollars for USD) then return api::CurrencyUnit::Base
Expand Down

0 comments on commit f90b921

Please sign in to comment.