diff --git a/src/CONST.js b/src/CONST.js
index 33a4f3add359..346d57a254d4 100755
--- a/src/CONST.js
+++ b/src/CONST.js
@@ -386,11 +386,20 @@ const CONST = {
},
WALLET: {
- TRANSFER_BALANCE_FEE: 0.30,
TRANSFER_METHOD_TYPE: {
INSTANT: 'instant',
ACH: 'ach',
},
+ TRANSFER_METHOD_TYPE_FEE: {
+ INSTANT: {
+ RATE: 1.5,
+ MINIMUM_FEE: 25,
+ },
+ ACH: {
+ RATE: 0,
+ MINIMUM_FEE: 0,
+ },
+ },
ERROR: {
IDENTITY_NOT_FOUND: 'Identity not found',
INVALID_SSN: 'Invalid SSN',
@@ -462,6 +471,11 @@ const CONST = {
BANK_ACCOUNT: 'bankAccount',
},
+ PAYMENT_METHOD_ID_KEYS: {
+ DEBIT_CARD: 'fundID',
+ BANK_ACCOUNT: 'bankAccountID',
+ },
+
IOU: {
// Note: These payment types are used when building IOU reportAction message values in the server and should
// not be changed.
diff --git a/src/components/CurrentWalletBalance.js b/src/components/CurrentWalletBalance.js
index fcc56fb9fb94..580b110a5d9f 100644
--- a/src/components/CurrentWalletBalance.js
+++ b/src/components/CurrentWalletBalance.js
@@ -17,11 +17,15 @@ const propTypes = {
currentBalance: PropTypes.number,
}),
+ /** Styles of the amount */
+ balanceStyles: PropTypes.arrayOf(PropTypes.object),
+
...withLocalizePropTypes,
};
const defaultProps = {
userWallet: {},
+ balanceStyles: [],
};
const CurrentWalletBalance = (props) => {
@@ -41,7 +45,7 @@ const CurrentWalletBalance = (props) => {
);
return (
{`${formattedBalance}`}
diff --git a/src/languages/en.js b/src/languages/en.js
index 794cfb809e80..f3f2b5a7749d 100755
--- a/src/languages/en.js
+++ b/src/languages/en.js
@@ -353,7 +353,7 @@ export default {
transferAmountPage: {
transfer: ({amount}) => `Transfer${amount ? ` ${amount}` : ''}`,
instant: 'Instant (Debit Card)',
- instantSummary: ({amount}) => `1.5% fee (${amount} minimum)`,
+ instantSummary: ({rate, minAmount}) => `${rate}% fee (${minAmount} minimum)`,
ach: '1-3 Business Days (Bank Account)',
achSummary: 'No fee',
whichAccount: 'Which Account?',
diff --git a/src/languages/es.js b/src/languages/es.js
index b3a5f036272c..a1e92dca30dc 100644
--- a/src/languages/es.js
+++ b/src/languages/es.js
@@ -353,7 +353,7 @@ export default {
transferAmountPage: {
transfer: ({amount}) => `Transferir${amount ? ` ${amount}` : ''}`,
instant: 'Instante',
- instantSummary: ({amount}) => `Tarifa del 1.5% (${amount} mínimo)`,
+ instantSummary: ({rate, minAmount}) => `Tarifa del ${rate}% (${minAmount} mínimo)`,
ach: '1-3 días laborales',
achSummary: 'Sin cargo',
whichAccount: '¿Que cuenta?',
diff --git a/src/libs/PaymentUtils.js b/src/libs/PaymentUtils.js
index f33cd8f8e0b7..3950a6a3214b 100644
--- a/src/libs/PaymentUtils.js
+++ b/src/libs/PaymentUtils.js
@@ -25,9 +25,9 @@ function hasExpensifyPaymentMethod(cardList = [], bankAccountList = []) {
* @param {Array} bankAccountList
* @param {Array} cardList
* @param {String} [payPalMeUsername='']
- * @returns {Array}
+ * @returns {Array