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,