Description (Personal Access Token List)
Show the list of the Personal Access Token. (GET)Queries
In order to search you can add in the url the follow parameters
- * limit - control the records show on each page (if not set, default load 40 records)
- * page - control load the number of the page
Example:
https://api-h2h-staging.yedpay.com/v1/personal/token?limit=50&page=1
End Point
https://api-h2h-staging.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.89.5-20251216 © The Payment Cards Group Limited. All rights reserved.