“This account has not been enabled to take payments”

$location_id = ‘LD0JP070X81AS’;
error occurs This account has not been enabled to take payments

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

Take Payments
Take Payments
Payments API Integration

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.

The error message “This account has not been enabled to take payments” indicates that the Square account associated with the location ID ‘LD0JP070X81AS’ has not been set up to process payments. This could be due to a variety of reasons such as the account not being fully activated, the account not having a linked bank account, or the account not being in a country where Square is available.

To resolve this issue, the account owner should log into the Square Dashboard and complete the account setup process, which includes verifying their identity and linking a bank account. If the account is already set up and the error persists, the account owner should contact Square Support for further assistance.

This answer was reviewed by @Bryan-Square.