#Amer Bearat

1 messages ยท Page 1 of 1 (latest)

nova charmBOT
maiden owl
#

But that payment_method property is top level so you can use it

boreal pawn
#

can use it on search api

#

POST /v1/payment_intents/search

#

cause i got this error
Received unknown parameters: limit, query

#

req_lGNfYiUGTItSrV

maiden owl
#

Yes it should be usable on the search API

#

Thank you for the request ID, checking in to what went wrong there

#

Are you using one of our client libraries or are you building these HTML requests yourself? It looks like the limit and query parameters got sent a different way than expand. Not sure if that is the issue but I am checking in to it

#

That method definitely supports expansion

#

Can you show me your code for how you are building this request?

boreal pawn
#

im not using strip library. im using stripe rest api

#

let me give you the end point and requiest body

nova charmBOT
maiden owl
#

Can you try making the expand parameter also a query param?

#

Or alternatively can you mode the query and limit params to the request body?

boreal pawn
#

according to the page i shared early. expend in not listed as part of query params

warm stratus
#

๐Ÿ‘‹ Hopping in to take a look since pompey has to head out soon - give me a minute to catch up

#

Is there a reason you're doing a POST request and not a GET request?

nova charmBOT
boreal pawn
#

my bad im doing get

warm stratus
#

๐Ÿ‘ So are the requests succeeding now?

#

I assume the only issue is figuring out how to do the expansion, right?

boreal pawn
#

no

#

i had get it never was post

#

i missed typed

warm stratus
#

Instead of including expand in the POST body can you also send it as a query param?

warm stratus
#

@boreal pawn Did you still need help?

nova charmBOT