#nolan-thach-nguyen_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1324332206750961748
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! you can see on the Customer page where the balance comes from and where it's applied. https://dashboard.stripe.com/test/customers/cus_RVmjqsn0YAtdEi/balance_transactions
So, if the amount is 1200 with the currency being 'THB,' it means 12 Thai Baht, equivalent to approximately $0.35 ?
yes
I got confused here. I think 100 USD = 1 dollar because cents are the smallest currency unit in the US. But why does 1200 THB equal 12 Thai Baht? I also support 'CNY,' 'IDR,' and 'PHP' in my system. Do I need to divide by 100 for these currencies as well?
https://docs.stripe.com/currencies#minor-units
baht is also a currency with decimals (per wikipedia : "The baht (/bɑːt/; Thai: บาท, pronounced [bàːt]; sign: ฿; code: THB) is the official currency of Thailand. It is divided into 100 satang")
amount:12, currency:'thb' is 12 satang in the same way amount:12, currency:'usd' is 12 cents
It's new to me, thank you