Stores: List

Request

GET https://api.univapay.com/stores

Parameters:

Parameters
searchstring
Filter stores by name or id matching this value.

Headers:

Authorization: Bearer {secret}.{jwt}

Body:

curl --request GET \
--url http://api.univapay.com/stores \
--header 'Authorization: Bearer {secret}.{jwt}'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
  "items": [
    {
      "id": "15329aee-15cc-11e7-84c7-ab520df6a806",
      "name": "Store 1",
      "created_on": "2018-07-13T01:53:09.270726Z"
    },
    {
      "id": "1532ba56-15cc-11e7-b6f8-fbc9028deacf",
      "name": "Store 2",
      "created_on": "2018-07-13T01:53:09.270726Z"
    },
    {
      "id": "1532e30a-15cc-11e7-b978-5bdf5b1b432a",
      "name": "Store 3",
      "created_on": "2018-07-13T01:53:09.270726Z"
    },
  ],
  "has_more": false
}