Yedpay

Description (Show EMV Code)

Show the EMV Code of the company (GET)

End Point

https://api.yedpay.com/v1/emv-codes/{{emv_code_id}}

Variable

Variable
# Name Type Description
1 emv_code_id String EMV Code's ID

Request Header

Request Header
# Key Value Description
1 Authorization Bearer {{access_token}} Login Token

Response

Response
# Name Type Description
1 success Boolean Show EMV Code Success or Fail
2 data Array Include all EMV Code Information (company_id etc...)

Success Response - data

Success Response - data
# Name Type Description
1 id String Unique identifier of the EMV Code
2 company_id String Unique identifier of the company
3 store_id String Unique identifier of the store
4 store_name String Name of the store
5 name String Name of the EMV Code
6 amount Float Amount of the EMV Code
(Fixed amount EMV Code if the amount is not 0)
7 support_gateway String the EMV Code's support gateways
(1: Alipay, 8: Wechat Pay, 10: UnionPay QR)
8 value String Value of the EMV Code
9 status Integer status of the EMV Code
(0: Disabled 1: Enabled)
10 _links Array Include Links for:
- checkout
- qrcode
11 created_at String Datetime when the EMV Code was created
12 updated_at String Datetime when the EMV Code was updated lastly

Example Success Response

            {
                "success": true,
                "data": {
                    "id": "6YEXR4KEP94Z3N8QG5",
                    "company_id": "DR87P15K56JO4E6LW9",
                    "store_id": "3PG7YQKYQQ8ODXJRVE",
                    "store_name": "test store name",
                    "name": "test emv code name",
                    "amount": "0.00",
                    "support_gateway": "1,8,10",
                    "value": "xxx",
                    "status": 1,
                    "created_at": 2022-11-28 11:58:23,
                    "updated_at": 2022-11-28 11:58:23,
                    "_links": {
                        "checkout": "xxx",
                        "qrcode": "xxx"
                    }
                }
            }

Example Error Response

    {
        "success": false,
        "message": "Unauthenticated.",
        "status": 500
    }
    

v1.61.4-20221124 © The Payment Cards Group Limited. All rights reserved.