#tamil-selvan_api

1 messages ¡ Page 1 of 1 (latest)

lunar baneBOT
#

👋 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/1262645626412204063

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hollow belfryBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

unreal badge
#

From Dashboard you can only view livemode API secret once. If you forget the key, you need to roll it and get a new one.

lunar baneBOT
foggy nacelle
#

Can you give me a simple tip?

I'm using stripe cli,

Used this command to create new cli session

stripe login

Once done, it creates

I see below data in stripe config --list

live_mode_api_key = 'rk_live_***********************************************************************************************37wr'
live_mode_key_expires_at = '2024-10-14'
live_mode_pub_key = 'pk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
test_mode_api_key = 'rk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
test_mode_key_expires_at = '2024-10-14'
test_mode_pub_key = 'pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

When I go to Dashboard->Developer->API keys there is no such option provided for viewing live_mode_api_key.

When roll the key, I can see it is creating new key with new session.

Do I need to use

stripe login --api-key rk_live_**********************************************************************************************

oak meteor
#

After logging in successfully, stripe command will run in the account corresponding to the mode and account of the key

foggy nacelle
#

When I create a key direclty there, it is only created test keys?

I need to know what is the proper procedures to see and use it? or only test account we need to use CLI ah? Please tell me. I want rk_live that is connected account restricted key, live mode api key not the test mode.

It is too weird

root@srv539541:~# stripe login -i
Enter your API key:
Your API key is: rk_live_***********************************************************************************************tddX
How would you like to identify this device in the Stripe Dashboard? [default: srv539541] yes

Done! The Stripe CLI is configured for Bridges To Our Future with account id acct_xxxxxxxxxx

root@srv539541:~# stripe config --list
color = ''
project-name = 'default'
[default]
device_name = 'yes'
display_name = 'Bridges To Our Future'
test_mode_api_key = 'rk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
test_mode_key_expires_at = '2024-10-14'

oak meteor
foggy nacelle
#

In the cli it is showing testmode apikey. when I use it, it is creating live account .too weird. Anyway it is working with stripe -i manual api key method.