#Niranjan R India October 2022
1 messages · Page 1 of 1 (latest)
👋 @eager silo How can we help?
I'm trying to add UPI payment method from java code
But it is failing with the error unknown_param.
Can you share the request ID (req_xxx) where you received unknown_param error? Here’s how you can find it: 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.
req_vLjYT8ZS3Q26lG
I tried to send request with several combinations
params.put("type", "card");params.put("upi", "customer_upi_id");
params.put("type", "upi");params.put("upi", "customer_upi_id");
params.put("type", "vpa");params.put("vpa", "customer_upi_id");
params.put("type", "upi");params.put("upi", "customer_upi_id");
params.put("type", "vpa");params.put("upi", "customer_upi_id");
Could you share the doc which you refer to send vpa in /payment_methods API? It's not a supported parameter
Your request is using the wrong parameters. You need to send paymentMethodData.upi.vpa. Right now you're just passing vpa
Also, type: 'upi'
Anyway, the UPI feature is still considered a beta and your account does not have access. So regardless of what parameters you pass, it won't work
You should speak to support about using this feature: https://support.stripe.com/contact
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.
Ok thanks.