Hi! When trying Payment API with API Explorer with this request, I’m getting intermittent 500 internal error with no message or response body.
curl https://connect.squareupsandbox.com/v2/payments \
-X POST \
-H 'Square-Version: 2024-08-21' \
-H 'Authorization: Bearer xxx' \
-H 'Content-Type: application/json' \
-d '{
"note": "Deposit from Omnichannel for order : 300000000006 - Payment : 300000000006-6247",
"idempotency_key": "5982ae06-69b7-43a0-8e32-49e5a757ebf7",
"source_id": "cnon:card-nonce-ok",
"amount_money": {
"amount": 108,
"currency": "USD"
}
}'
After retrying multiple times I get this error response
{
"errors": [
{
"code": "BAD_REQUEST",
"detail": "Payment is attached to the order and guaranteed to complete. It cannot be canceled.",
"category": "INVALID_REQUEST_ERROR"
}
]
}
Does anyone have the same issue?