Yedpay

Description (Create Store)

Create a store which related with that company. (POST)

End Point

https://api.yedpay.com/v1/companies/{{company_id}}/stores

Variable

# Name Type Description
1 company_id String Company's ID

Request Header

# Key Value Description
1 Authorization Bearer {{access_token}} Login Token
1 Content-Type application/x-www-form-urlencoded x-www-form-urlencoded Format

Body

# Name Type Description
1 name String Store's Name
2 phone String (Optional) Store's Phone
3 address String (Optional) Store's Address
4 logo Integer (Optional) Store's Logo

Response

# Name Type Description
1 success Boolean Create Store Success or Fail
2 message String Success or Fail Message

Example Success Response

            {
                "success": true,
                "message": "Create resource success"
            }
        

Example Error Response

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

v1.22.0-20190710 © The Payment Cards Group Limited. All rights reserved.