INTERNAL_SERVER_ERROR and GENERIC_DECLINE when update payment tips amount

Dear Team,

When our application called Square Payment API to update the tips amount on a payment (no tips set when this payment is created, and later we need to set tips on it), we got INTERNAL_SERVER_ERROR and GENERIC_DECLINE, could you please help to check the cause?

application id: sq0idp-X5g7B-QAtnOvyEFik1fuSg
location id: LCA1CRCAED227
payment id: LZmQlk04znFrhPCY2cvKwIDlBn6YY

{
	"data": null,
	"errors": [
		{
			"code": "INTERNAL_SERVER_ERROR",
			"detail": "An internal error has occurred, and the API was unable to service your request.",
			"category": "API_ERROR"
		}
	],
	"message": "HTTP Response Not OK",
	"responseCode": 500
}
{
	"data": null,
	"errors": [
		{
			"code": "GENERIC_DECLINE",
			"detail": "Authorization error: 'GENERIC_DECLINE'",
			"category": "PAYMENT_METHOD_ERROR"
		}
	],
	"message": "HTTP Response Not OK",
	"responseCode": 400
}

Thanks and Best Regards,

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Handling Errors
Guidelines and Limitations
Update Payment and Tip Amounts

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

We had an issue this morning that caused this issue. Its now been resolved and you should be processing normal now. :slightly_smiling_face: