GET
/
api
/
payments
/
stores
curl --request GET \
  --url https://api.atoa.me/api/payments/stores \
  --header 'Authorization: Bearer <token>'
{
  "page": 0,
  "size": 20,
  "data": [
    {
      "id": "549000a4-eee4-4b7d-bc88-c529a92544cd",
      "locationName": "cambridge",
      "addressLine1": "UNIT 3 BOLNEY GRANGE INDUSTRIAL PK ",
      "addressLine2": "49 THE MARTLETS",
      "addressPostalCode": "PO16 7GZ",
      "cityOrTown": "England",
      "primary": "true",
      "enabled": "true",
      "images": "[image-url]"
    }
  ],
  "totalCount": 1
}

If your business has more than one store location and you want to manage staff and payments separately for each store, make sure to pass the correct store ID in the payment request.

When you sign up with Atoa, a default (primary) store is automatically created for your business. You can create or disable additional store locations from the Atoa Dashboard or Mobile app

If the storeId is missing, incorrect, or refers to a disabled store the payment request will be routed to your default (primary) store.

Authorization

Bearer <token>

Response

page
number

Current page number

size
number

Number of objects per page.

data
object

Array of objects

totalCount
number
default: "0"

Total number of stores