Description (Create Personal Token)
Create a Personal Token. (POST)**Every token has 1 year life time only**
End Point
https://api-h2h-staging.yedpay.com/v1/personal/token
Request Header
| # | Key | Value | Description |
|---|---|---|---|
| 1 | Authorization | Bearer {{access_token}} | Login Token |
| 2 | Content-Type | application/x-www-form-urlencoded | x-www-form-urlencoded |
Body
| # | Name | Type | Description |
|---|---|---|---|
| 1 | name | String | Name of the Token |
Response
| # | Name | Type | Description |
|---|---|---|---|
| 1 | success | Boolean | Create resource Success or Fail |
| 2 | token | String | Personal Token |
Example Success Response
{
"success": true,
"id": "JwoMPpKy",
"token": "xxxxxxxxx",
"created_at": "2017-11-28 18:57:52",
"updated_at": "2017-11-28 18:57:52",
"name": "xxxx",
"status": "active"
}
Example Error Response
{
"success": false,
"message": "Unauthenticated.",
"status": 500
}
v1.89.5-20251216 © The Payment Cards Group Limited. All rights reserved.