#op84
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
yes but that's not the error?
What do you mean? I'm asking to see the req_xxx ID of the API request so I can check our logs to understand the issue
it's not even creating a request.. it says Received unknown parameter: api_key
i just need to know is this the right format for a ruby request.. Stripe::PaymentMethod.detach(payment_method_123, {api_key: '123'})
AFAICT, that is the right format. Checking
Maybe try:
Stripe::PaymentMethod.detach({id: 'payment_method_123'}, {api_key: '123'})
no implicit conversion of Hash into String
Stripe::PaymentMethod.detach('123', {}, {api_key:'123'}) looks like its working