# API getting 'GENERIC\_DECLINE' error response when actually insufficient funds

**URL:** <https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052>\
**Category:** Questions\
**Tags:** payments-api\
**Created:** [October 13, 2020, 12:32am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052 "2020-10-13T00:32:20Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [October 13, 2020, 12:32am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/1 "2020-10-13T00:32:20Z")

</div>

I am using the v2 API to create payments in Square. It seems the error codes being sent back aren’t accurate though. I am receiving '‘GENERIC\_DECLINE’ where the actual issue is insufficient funds. My client has a lot of customers with low funds, but via the API we get ‘GENERIC\_DECLINE’, despite ‘INSUFFICIENT\_FUNDS’ being one of the many error codes available according to the documentation. Is there any fix for this?

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [October 13, 2020, 4:07pm UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/2 "2020-10-13T16:07:47Z")

</div>

Thanks for sharing. Can you provide one of the payment\_ids so I can take a look at my end?

---

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [October 14, 2020, 5:23am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/3 "2020-10-14T05:23:11Z")

</div>

He, Here are a few examples:  
ZoUDYoKs2Vhm5p0ZEGIo2EP7KJEZY  
R0YpsAeQ5JWh3JfI8D2y6pC59fOZY  
dgDvHPi5lU9xyWeemY0JZc8wUyCZY  
pIo99lQ2GT3XcBfsuzO2NrPyaFXZY

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [October 14, 2020, 4:30pm UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/4 "2020-10-14T16:30:10Z")

</div>

Thanks, I’m seeing the same as you. I’ve passed this along to the Payments team, who think it’s due to how our gateways are surfacing the error. They are looking into it, and I will update this once I have more information.

---

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [November 9, 2020, 12:27am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/5 "2020-11-09T00:27:40Z")

</div>

Hello, is there any update on this? Thanks

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [November 9, 2020, 5:07pm UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/6 "2020-11-09T17:07:00Z")

</div>

No updates unfortunately. It looks like there’s some work to be done on the gateway side of things, but I do not have an ETA on when it will be resolved.

---

<div class="post-metadata">

**Author:** ![babu.opptygo.com](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@babu.opptygo.com](https://developer.squareup.com/forums/u/babu.opptygo.com)\
**Post date:** [December 31, 2020, 6:47am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/7 "2020-12-31T06:47:30Z")

</div>

Hi, Any update on this thread? we are having the same problem. Many of our requests are erroring out with “GENERIC\_DECLINE” error code but subsequent (3rd or 4th try) the same card is being processed.

---

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [December 31, 2020, 7:03am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/8 "2020-12-31T07:03:50Z")

</div>

I’ve actually found since the start of December I’m getting ‘insufficient funds’ rather than ‘generic decline’ for most of the failed transactions, so it seems something has been fixed. But I’m still a handful with the ‘generic decline’ response. I haven’t tried putting those ones through again.

---

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [January 14, 2021, 7:26am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/9 "2021-01-14T07:26:52Z")

</div>

Still no update on this? As said in my last comment - I have been getting some responses with the ‘insufficient\_funds’ now, but still some with ‘generic\_decline’ with no idea why these ones vary.

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [January 14, 2021, 4:52pm UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/10 "2021-01-14T16:52:36Z")

</div>

Apologies for the delays here, I actually missed the update from our internal team. It looks like this was pushed internally around November 19th, 2020, and was pushed out probably within a few days after that. I definitely do see an error around “insufficient funds”, now. Are you saying you still get generic declines when you know it’s due to lack of funds? Can you provide an example `payment_id`, and I can take another look? Thanks for following up on this!

---

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [January 14, 2021, 11:19pm UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/11 "2021-01-14T23:19:25Z")

</div>

hi sjosey,

Confirming I am seeing the insufficient\_funds error appearing since December, but there are still a fair number of 'generic\_decline’s. I don’t know what the issue is with these clients - I’m assuming insufficient funds also, but maybe there is another cause. It would be helpful to know though.

Examples:  
PzqERqXPjym1ohVa0xIUd6blFdIZY  
5A2aWd4wwi9FCADxTRYs8fjASdEZY  
1YhTPPUMYylqSWZ9FJfi5Twx4D6YY  
xUGW7tg3frwdvGblcDOV2u9TQjXZY  
LNcuNSBopmmnbiSOV2KB0wtwVeHZY  
r9yzGsgSnPg4oG6WnZVcBA60MoSZY

Thanks!  
Caitlin

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [January 15, 2021, 4:38pm UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/12 "2021-01-15T16:38:22Z")

</div>

Thanks for confirming. Taking a look at the others, and as far as I can see none of them are related to insufficient funds, although I do not have much more information than that. They’re pretty generic errors even on my side, so in these cases I would suggest having the customer contact their bank for assistance, as I think it’s something related to their bank.

---

<div class="post-metadata">

**Author:** ![caitlin](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caitlin](https://developer.squareup.com/forums/u/caitlin)\
**Post date:** [January 16, 2021, 2:11am UTC](https://developer.squareup.com/forums/t/api-getting-generic-decline-error-response-when-actually-insufficient-funds/1052/13 "2021-01-16T02:11:50Z")

</div>

Good to know, thanks for following up.
