Yedpay

Description (Delete Assigned Stores of User)

Delete Multiple Assigned Stores of User (Operator). (Delete)

End Point

https://api.yedpay.com/v1/users/{{user_id}}/assign-stores

Variable

# Name Type Description
1 user_id String User's ID

Request Header

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

Body

# Name Type Description
1 stores Array Id of store(s)

Response

# Name Type Description
1 success Boolean Result of Assign Stores
2 message string Message for Assigning Stores to User

Example Success Response

            Response for Normal User:
            {
                "success": true,
                "message": "Request accepted"
            }
        

Error Response - errors

# Name Type Description
1 success Boolean Result of Delete Assigned Stores
2 message String Error Message
3 status Integer HTTP Status Code

Example Error Response

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

v1.30.0-20191113 © The Payment Cards Group Limited. All rights reserved.