#mkoenke - Identity Verification

1 messages · Page 1 of 1 (latest)

candid egret
#

Can you share the request ID when attempting to create the account?

fair trout
#

where can I find the request id?

candid egret
fair trout
#

req_oGd3GF8C4zJkkC

candid egret
#

Oh oh oh...wow that took me way too long

#

You passed in a {:front=>"file_xxxxx"} as the value for individual.verification.document.front, when all the API expects is the actual File ID (file_xxxxxxxxxx)

fair trout
#

ahhhh so strange!!

#

thanks for your help!

#

I have another qq

#

I am trying to make this call:
Stripe::Account.list_capabilities( stripe_account.id, { api_key: ENV['STRIPE_STANDARD_API_KEY'], }, )

#

its saying the api_key should be in options instead of params

candid egret
#

Once again, can you share the request ID?

fair trout
#

sure!

#

its not showing in the logs, possibly bc it says I am using the wrong API key bc I think I am structuring the call wrong with params and options.

candid egret
fair trout
#

I can't bc we are managing 2 api keys, and the global api_key is the wrong one, so I have been passing the correct api key into the calls and it has been working until this one. I think I need to pass a params hash and then an options hash, but I am unsure what the key should be for the account id in the params hash

#

and then the {api_key: @api_key} as the options hash

candid egret
#

Gimme a sec, I'm testing

#

Okay this seems odd but it gets the job done:

Stripe::Account.list_capabilities(
  stripe_account.id,
  {},
  {
    api_key: "sk_test_XXXXX"
  }
)
fair trout
#

interesting!! ill try it, thanks!

#

yep, that works! awesome, thanks so much