#nikivi
1 messages · Page 1 of 1 (latest)
I would imagine so sure, as long as the endpoint has the required variables/params
Not really something I've ever tested, you'd need to test
what does that mean?
what variables/params does it need
my current endpoint looks like this
it works with this
As in the GraphQL query/mutation has a signature to accept the fields that will be in the event payload: https://stripe.com/docs/api/events/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Now I think about this, it likely won't work
Because GraphQL has a DSL where query/mutations expect variables, right?
I have asked over at grafbase discord too
lets see what they say
I am not that familiar with graphql spec itself, need to look into it
from my understanding
https://learn-anything-nikitavoloboev.grafbase.app/graphql
i have this url that is my graphql endpoint
i can send POST requests to it
where the body contains the graphql request
i dont see in this ui how i can modify the body
of the request that gets sent
Yeah I don't think this will be possible without some kind of proxy that serializes the Stripe event payload into the expected GraphQL endpoint payload (i.e. with the variables hash)
You can't
all right i see, i guess external server it is