# How to check if an account is enabled to take payments?

**URL:** <https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385>\
**Category:** Questions\
**Tags:** payments-api, checkout-api\
**Created:** [February 13, 2024, 12:52pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385 "2024-02-13T12:52:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![janusz.tt](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/janusz.tt/32/2952_2.png) [@janusz.tt](https://developer.squareup.com/forums/u/janusz.tt)\
**Post date:** [February 13, 2024, 12:52pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/1 "2024-02-13T12:52:39Z")

</div>

Hi, we sometimes receive this error:

```auto
[{'code': 'BAD_REQUEST', 'detail': 'This account has not been enabled to take payments', 'category': 'INVALID_REQUEST_ERROR'}]

```

I would like to verify that the merchants we’re onboarding are ready to take payment with Square Terminals. I can’t find an appropriate attribute that will indicate that they are ready to take payments.

Is there such an attribute, or should we for e.g. check if bank account is configured?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [February 13, 2024, 12:53pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/2 "2024-02-13T12:53:01Z")

</div>

👋 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:

> **[Terminal API Requirements](https://developer.squareup.com/docs/app-marketplace/requirements/terminal-api)**
>
> Learn about the Terminal API requirements for getting your application approved for the App Marketplace.

> **[Web Payments SDK Requirements](https://developer.squareup.com/docs/app-marketplace/requirements/web-payments-sdk)**
>
> Learn about the Square App Marketplaces requirements related to the Web Payments SDK.

> **Additional Documentation**
>
> [Troubleshoot the Payments API](https://developer.squareup.com/docs/payments-api/error-codes)  
> [Payments Requirements](https://developer.squareup.com/docs/app-marketplace/requirements/payments-api)  
> [Merchant APIs](https://developer.squareup.com/docs/merchant-details)

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.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 13, 2024, 4:23pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/3 "2024-02-13T16:23:25Z")

</div>

With the [Locations API](https://developer.squareup.com/reference/square/locations-api) you can check the [capabilities](https://developer.squareup.com/reference/square/enums/LocationCapability#values) to see if `CREDIT_CARD_PROCESSING` is available for the seller your onboarding. If `CREDIT_CARD_PROCESSING` isn’t in the `capabilities` then they’ll need to enable it in the Square Dashboard. 🙂

---

<div class="post-metadata">

**Author:** ![TheLeedz](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/theleedz/32/2680_2.png) [@TheLeedz](https://developer.squareup.com/forums/u/TheLeedz)\
**Post date:** [March 6, 2024, 8:37pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/4 "2024-03-06T20:37:22Z")

</div>

This might help – you need request the specific permissions, ‘called scopes’, that your user requires when you initially construct the ‘login authorization’ link that you send to the client. This is the link that the client clicks on to take them back to the Square-hosted UI. The Leedz is a system that allows users to buy and sell – i.e. receive payments – so this is the login link with scopes:

authorize\_url = (  
sq\_url + ‘/oauth2/authorize’  
‘?client\_id=’ + app\_ID +  
‘&scope=’ + “ORDERS\_READ ORDERS\_WRITE PAYMENTS\_WRITE PAYMENTS\_READ PAYMENTS\_WRITE\_ADDITIONAL\_RECIPIENTS MERCHANT\_PROFILE\_READ” +  
‘&session=’ + “false” +  
‘&state=’ + state  
)

Note the MERCHANT\_PROFILE\_READ – you will need this later to use the locations API to query about LocationID - and maybe other queries.

---

<div class="post-metadata">

**Author:** ![janusz.tt](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/janusz.tt/32/2952_2.png) [@janusz.tt](https://developer.squareup.com/forums/u/janusz.tt)\
**Post date:** [August 30, 2024, 8:18pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/5 "2024-08-30T20:18:20Z")

</div>

@Bryan-Square can you help me with this? This merchant has multiple terminals on the same account in different locations ans some locations terminals can process payments and some others have the issue like the screen below.

 ![image](https://global.discourse-cdn.com/square/original/2X/e/e7abfa7bd5e5713ce3e7ed73a511d6420df1559f.jpeg)

> device\_id: 401CS149B6004886  
> location\_id: LJ0RRSBRD14MW  
> order\_id: bj0l4tMs0FcvlymxTn3L122AvNJZY

```auto
{
      "id": "LJ0RRSBRD14MW",
      "capabilities": [
        "CREDIT_CARD_PROCESSING",
        "AUTOMATIC_TRANSFERS"
      ],
      "status": "ACTIVE",
    },

```

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [August 30, 2024, 8:23pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/6 "2024-08-30T20:23:08Z")

</div>

I’m not seeing any issues with that location. Did they create a device code specifically for that location? 🙂

---

<div class="post-metadata">

**Author:** ![janusz.tt](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/janusz.tt/32/2952_2.png) [@janusz.tt](https://developer.squareup.com/forums/u/janusz.tt)\
**Post date:** [August 30, 2024, 8:27pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/7 "2024-08-30T20:27:39Z")

</div>

Yes:

```auto
{
  "device_codes": [
    {
      "id": "X16FJ5ZAZN29K",
      [...]
      "device_id": "401CS149B6004886",
      "product_type": "TERMINAL_API",
      "location_id": "LJ0RRSBRD14MW",
      "created_at": "2024-08-09T12:40:10.000Z",
      "status": "PAIRED",
      "status_changed_at": "2024-08-09T12:40:36.000Z",
      "paired_at": "2024-08-09T12:40:36.000Z"
    }
  ]
}
```

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [August 30, 2024, 8:41pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/8 "2024-08-30T20:41:32Z")

</div>

Have they tried restarting the device? 🙂

---

<div class="post-metadata">

**Author:** ![janusz.tt](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/janusz.tt/32/2952_2.png) [@janusz.tt](https://developer.squareup.com/forums/u/janusz.tt)\
**Post date:** [August 30, 2024, 8:50pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/9 "2024-08-30T20:50:04Z")

</div>

😆 We’ll ask the the merchant to execute a time honored industry standard trouble shooting procedure.

If it will work, I guess we lost half a day of few people chasing the problem, what we should do instead is:

[![](https://global.discourse-cdn.com/square/original/2X/0/03cb4176b6796b35e548c69bbd4a150d2b6dbff7.jpeg "IT Crowd - Have You Tried Turning It Off And On Again?") ](https://www.youtube.com/watch?v=nn2FB1P_Mn8&t=10s)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [August 30, 2024, 10:09pm UTC](https://developer.squareup.com/forums/t/how-to-check-if-an-account-is-enabled-to-take-payments/12385/10 "2024-08-30T22:09:33Z")

</div>

🤣😂 You have no idea how many times that works and I’ve been in some deep dark code repos trying to figure something out and all I had to do is restart it. Hardware is funny like that sometimes. 🙂
