#Niranjan R India October 2022

1 messages · Page 1 of 1 (latest)

ember ploverBOT
flat yoke
#

👋 @eager silo How can we help?

eager silo
#

I'm trying to add UPI payment method from java code

#

But it is failing with the error unknown_param.

flat yoke
eager silo
#

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");

flat yoke
#

Could you share the doc which you refer to send vpa in /payment_methods API? It's not a supported parameter

pulsar quartz
#

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

eager silo
#

Ok thanks.