I've tried to do partial captures with stripe.
First I authorize 12000 then I capture part with
curl https://api.stripe.com/v1/charges/{chargeId}/capture \
-u key
-d amount=250
-X POST
and immediately after (for testing) I do exactly the same
curl https://api.stripe.com/v1/charges/{chargeId}/capture \
-u key
-d amount=250
-X POST
first one is a success but the second one fails with
{
"error": {
"type": "invalid_request_error",
"message": "Charge ch_18092DHwc58lFNepWa5maML7 has already been captured."
}
}
what am I doing wrong since I can't capture the remaining funds
p.s. I started doing this in stripe.net where I had the same issue. Then to rule out stripe.net as the source of the error I tried directly in the terminal