Yedpay

Description (Show Store)

Get information related with the Store. (GET)

Can include the parameter daily_balance to get the daily balance company.

Example:

https://api.yedpay.com/v1/stores/{{store_id}}?include=daily_balance

End Point

https://api.yedpay.com/v1/stores/{{store_id}}

Variable

# Name Type Description
1 store_id String Store's ID

Request Header

# Key Value Description
1 Authorization Bearer {{access_token}} Login Token

Body

# Name Type Description

Response

# Name Type Description
1 success Boolean Show Targeted Store's Information Success or Fail
2 data Array Include Targeted Store's Information (id, name, phone etc..)

Success Response - data

# Name Type Description
1 id String Id of the Store
2 name String Name of the Store
3 phone String Phone of the Store
4 address String Address of the Store
5 logo String Logo of the Store
6 logo_url String Url of the Logo
7 _permission String Permission of the Store
8 _links Array Include Links for:
- store
9 created_at String Date when the Store was created "YYYY-mm-dd h:i:s"

Example Success Response

            {
                "success": true,
                "data": {
                    "id": "KzoONpJE",
                    "name": "xxxx",
                    "phone": "xxxx",
                    "address": "xxxx",
                    "logo": "xxxx",
                    "logo_url": "xxxx",
                    "created_at": "2099-01-02 12:00:00"
                }
            }
        

Example Error Response

            {
                "success": false,
                "message": "Unauthenticated.",
                "status": 500
            }
        

v1.19.0-20190522 © The Payment Cards Group Limited. All rights reserved.