#mkoenke - Identity Verification
1 messages · Page 1 of 1 (latest)
where can I find the request id?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_oGd3GF8C4zJkkC
Oh oh oh...wow that took me way too long
This just got nested one layer too far. The parameter was passed in as individual.verification.document.front.front. You just need to remove that last front. https://stripe.com/docs/api/accounts/create#create_account-individual-verification-document-front
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)
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
Once again, can you share the request ID?
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.
I know that syntax should work but can you try using the exact syntax shown here?
https://stripe.com/docs/api/capabilities/list?lang=ruby
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
Yes, that's how it's configured here: https://stripe.com/docs/api/authentication?lang=ruby
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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"
}
)