Yedpay

Description (Show Company's EMV Code List)

Show the Company's EMV Code List (GET)

Can include the follow parameters separated by comma "," adding the parameter "include" in the url to get more information:

  • * store - provides the store info

In order to search company emv code list 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/companies/{{company_id}}/emv-codes?include=store&limit=50&page=1

End Point

https://api-h2h-staging.yedpay.com/v1/companies/{{company_id}}/emv-codes

Variable

Variable
# Name Type Description
1 company_id String Company'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 Company's EMV Code List Success or Fail
2 data Array Include all Company's EMV Code List Information (company_id etc...)
3 meta Array Include all Pagination's Information (total, count, total_pages, 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 company_name String Name of the company
4 store_id String Unique identifier of the store
5 store_name String Name of the store
6 user_id String Unique identifier of the user
7 name String Name of the EMV Code
8 amount Float Amount of the EMV Code
(Fixed amount EMV Code if the amount is not 0)
9 currency String Currency used for the EMV Code (HKD)
10 value String Value of the EMV Code
11 status Integer status of the EMV Code
(0: Disabled 1: Enabled)
12 _links Array Include Links for:
- checkout
- qrcode
13 created_at String Datetime when the EMV Code was created
14 updated_at String Datetime when the EMV Code was updated lastly

Example Success Response

            {
                "success": true,
                "data": [
                    {
                        "id": "KRMM0JRW",
                        "company_id": "E658NJ6Y",
                        "store_id": "ELKO8J68",
                        "store_name": "test store name",
                        "name": "test emv code name",
                        "amount": "0.00",
                        "support_gateway": "1,8,10",
                        "value": "xxx",
                        "status": 1,
                        "created_at": 2026-01-26 11:26:45,
                        "updated_at": 2026-01-26 11:26:45,
                        "_links": {
                            "checkout": "xxx",
                            "qrcode": "xxx"
                        }
                    },
                    {
                        "id": "1LP877LY",
                        "company_id": "0L784W6G",
                        "store_id": "ELQJWKRK",
                        "store_name": "test store name",
                        "name": "test emv code name",
                        "amount": "10.00",
                        "support_gateway": "1,8,10",
                        "value": "xxx",
                        "status": 1,
                        "created_at": 2026-01-26 11:26:45,
                        "updated_at": 2026-01-26 11:26:45,
                        "_links": {
                            "checkout": "xxx",
                            "qrcode": "xxx"
                        }
                    }
                ],
                "meta": {
                    "pagination": {
                        "total": 2,
                        "count": 2,
                        "per_page": 40,
                        "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.