Yedpay

Description (Show Barcode)

Show the selected barcode. (GET)

End Point

https://api.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 company_id String Id of the Company
5 name String Name of the Barcode
6 value String Url of the Barcode
7 is_permanent Boolean Whether the Barcode is Permanent or Not
8 _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.19.0-20190522 © The Payment Cards Group Limited. All rights reserved.