Description (Show Barcode)
Show the selected barcode. (GET)
End Point
https://api-h2h-staging.yedpay.com/v1/barcodes/{{barcode_id}}
Variable
| # | Name | Type | Description |
|---|---|---|---|
| 1 | barcode_id | String | Barcode's ID |
Request Header
| # | Key | Value | Description |
|---|---|---|---|
| 1 | Authorization | Bearer {{access_token}} | Login Token |
Body
| # | Name | Type | Description |
|---|
Response
| # | Name | Type | Description |
|---|---|---|---|
| 1 | success | Boolean | Show selected barcode's Information Success or Fail |
| 2 | data | Array | Include selected barcode's Information (id, store_id, name etc..) |
Success Response - data
| # | Name | Type | Description |
|---|---|---|---|
| 1 | id | String | Id of the Barcode |
| 2 | user_id | String | Id of the User |
| 3 | store_id | String | Id of the Store |
| 4 | store_name | String | Name of the Store |
| 5 | company_id | String | Id of the Company |
| 6 | gateway_id | Number | Id of the Gateway |
| 7 | name | String | Name of the Barcode |
| 8 | value | String | Url of the Barcode |
| 9 | is_permanent | Boolean | Whether the Barcode is Permanent or Not |
| 10 | is_enable | Boolean | Whether the Barcode is Enabled or Not |
| 11 | _links | Array | Include Links for:
- qrcode |
Example Success Response
{
"success": true,
"data": {
"id": "e4r94oJx",
"user_id": "98p5OrMJ",
"store_id": "kJr45vDY",
"company_id": "qQvy0rl3",
"name": "testbarcodewerwer",
"value": "https://qr.alipay.com/ocx08189ttp4ugzeicjvn23",
"is_permanent": true,
"_links": {
"qrcode": "http://localhost/q/alipay/aHR0cHM6Ly9xci5hbGlwYXkuY29tL29jeDA4MTg5dHRwNHVnemVpY2p2bjIz"
}
}
}
Example Error Response
{
"success": false,
"message": "Unauthenticated.",
"status": 500
}
v1.89.5-20251216 © The Payment Cards Group Limited. All rights reserved.