Skip to main content

I’m creating a Custom Action using Stripe’s APIs. This is a POST request and every time I get this error message:

{
"error": {
"message": "One of the following params should be provided for this request: payment_intent or charge.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_RDcf26d1WJ3G95?t=1694494393",
"type": "invalid_request_error"
}
}

Here’s what the request and headers look like:

And here’s what the request body looks like, which you can see includes the “charge” parameter:

 

I was able to figure it out. Apparently I don’t need the { } characters and the request body should be formatted as simply:

charge=12345

 


Reply