Yedpay

Description (Show Personal Access Token)

Show the selected Personal Access Token. (GET)

End Point

https://api.yedpay.com/v1/personal/token/{{token_id}}

Variable

# Name Type Description
1 token_id String Personal Access Token ID

Request Header

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

Body

# Name Type Description

Response

# Name Type Description
1 success string status of response Success/false
2 id string ID of the selected Token
3 token string token
4 created_at string Date of creation
5 updated_at string Date of the last update
6 name string Name of the selected Token
7 status string active or inactive

Success Response - data

# Name Type Description
1 id String Id of the Token
2 token String value of the Token
3 created_at String Created date of Token
4 updated_at String Updated date of the Token
5 name String Name of the Token
6 status String Status of the Token

Example Success Response

            {
                "success": true,
                "data": [
                    {
                        "id": "JwoMPpKy",
                        "token": "xxxxxxxxxx",
                        "created_at": "2017-11-28 18:57:52",
                        "updated_at": "2017-11-28 18:57:52",
                        "name": "xxxxx",
                        "status": "active"
                    }
                ],
                "meta": {
                    "pagination": {
                        "total": 1,
                        "count": 1,
                        "per_page": 50,
                        "current_page": 1,
                        "total_pages": 1,
                        "links": []
                    }
                }
            }
        

Example Error Response

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

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