#1tide

1 messages · Page 1 of 1 (latest)

copper heathBOT
spice thicket
#

Hi, can you add more details? What do you mean by 'entered their correct secret key'? Where are they enterring their key and for what use?

hasty ferry
#

My app allows the customer to enter their api secret key to create invoices from my app and use other functions.

#

If they entered their key wrong, when I make api calls they will fail for their account

#

So the question is, is there a simple call I could use to test to make sure they entered a correct key?

#

I know any call would work, but wasnt sure if there was a reccomended way of confirming the key is correct.

spice thicket
#

I see, no direct API call like you mentioned. The way you'd find out if they use the correct API key with the associated account would be by making any API calls and it will let you know that there was an API key mismatch if there is.

hasty ferry
#

Thanks, this may be a good feature to add in the future? Not sure. Just a suggestion

spice thicket
#

Sure, I'll pass along your feedback here for future product reiterations. Can you speak to why the above solution would not work? I would like to add a bit more details around your use case.

#

To me, if you still make an API call, why not let the action you're planning to take to be the call?

#

@hasty ferry I'm unsure if you saw this message, before I pass along your feedback I'd like to get a clearer picture of your use case.

hasty ferry
#

Sorry I did miss your message

#

I was thinking to use it for when they initially input it into my app they can see a green status appear that they entered it correctly

#

I will probably just do a get first customer or something like that to determine if the key is valid

spice thicket
#

This is helpful, I'll share this feedback with the team.

#

Thank you for the additional details