#William-API

1 messages · Page 1 of 1 (latest)

timid basin
#

Hi there, what do you mean by not working?

#

Hi there, what do you mean by not working? is there an error message?

left parrot
#

ok, while getting the account info. The email value returns null and fails validation

#

Any idea how to add this email to the account?

timid basin
left parrot
#

req_ZqiDdZN1cDqGXk

timid basin
#

I see the response is 200, so there's no error with the request

#

Is this /v1/accounts API call a separate question in addition to the publishable key?

left parrot
#

No, but the third party module we are using validates that the api values are correct and the connection is successful when the returned account email is not null

timid basin
#

Can you tell me more about it? You can explain the whole flow to me

left parrot
#

We are using stripe php api module and test the stripe connection calling the Account method and then check if the account object has a email value in it.

timid basin
#

OK, how do you set the account's email address?

left parrot
#

Well i used to be a value that comes from this same call with the old api keys

timid basin
#

Can you send me the request ID?

left parrot
#

No. sorry. we no longer have access that account

timid basin
#

I'm unable to help you without the request ID

left parrot
#

ok, i changed the site to live mode with they new keys and this actually returns the email value req_6O9t0404xw4gpr

timid basin
#

Ok, is your problem resolved?

left parrot
#

well not exactly, live mode returns the email but the test mode don't

#

any idea why?

timid basin
#

I need the request ID in test mode so that I can dig further.

left parrot
#

Here req_CHuZ3Wwu39iJn8

timid basin
#

This is the request to get the account, I need to the request to set the email address for the account

left parrot
#

This value can be set manually in the dashboard?

timid basin
#

What's the account type?

#

If it's custom account, then yes you can set the email address via Dashboard