Description (Personal Access Token List)
Show the list of the Personal Access Token. (GET)
End Point
https://api.yedpay.com/v1/personal/token
Request Header
# | Key | Value | Description |
---|---|---|---|
1 | Authorization | Bearer {{access_token}} | Login Token |
Body
# | Name | Type | Description |
---|
Response
# | Name | Type | Description |
---|---|---|---|
1 | success | Boolean | Request device list Success or Fail |
2 | data | Array | Include all device's information (id, token, created_at, updated_at, status) |
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.61.15-20230523 © The Payment Cards Group Limited. All rights reserved.