Seems like Money
type is discouraged as described here
My application needs to store currency, which datatype shall I be using? Numeric, Money or FLOAT?
Use BigInt
to store currency as a positive integer representing the monetary value in the smallest currency unit (e.g., 100 cents to store $1.00 or 100 to store ¥100 (Japanese yen, a zero-decimal currency). This is what Stripe does--one the most important financial service companies for global ecommerce.