Description (Show Company Domain)
Show the domain name(s) of the company for using online gateways (GET)Can include the follow parameters separated by comma "," adding the parameter "include" in the url to get more information:
- * company - provides the company info
- * store - provides the store info
In order to search company domain 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}}/aml-domains?include=company&limit=50&page=1
End Point
https://api-h2h-staging.yedpay.com/v1/companies/{{company_id}}/aml-domains
Variable
| # | Name | Type | Description |
|---|---|---|---|
| 1 | company_id | String | Company's ID |
Request Header
| # | Key | Value | Description |
|---|---|---|---|
| 1 | Authorization | Bearer {{access_token}} | Login Token |
Response
| # | Name | Type | Description |
|---|---|---|---|
| 1 | success | Boolean | Show Company Domain Success or Fail |
| 2 | data | Array | Include all domain Information (company_id etc...) |
| 3 | meta | Array | Include all Pagination's Information (total, count, total_pages, etc..) |
Success Response - data
| # | Name | Type | Description |
|---|---|---|---|
| 1 | id | String | Unique identifier of the domain |
| 2 | company_id | String | Unique identifier of the company |
| 3 | store_id | String | Unique identifier of the store |
| 4 | protocol | String | Protocol of the domain |
| 5 | domain | String | Domain of the company |
| 6 | name | String | Name (Description) of the domain |
| 7 | type | Integer | Domain Type 1: web 2: app |
| 8 | status | String | Domain Status: pending, activated, disabled, rejected, obsoleted, terminated |
| 9 | created_at | String | Datetime when the Company Domain was created |
| 10 | updated_at | String | Datetime when the Company Domain was updated lastly |
Example Success Response
{
"success": true,
"data": [
{
"id": "0L72VG6G",
"company_id": "KRVKM8L8",
"store_id": "1LD9E96M",
"protocol": "http",
"domain": "www.yedpay.com",
"name": "xxxxxxxx",
"type": 2,
"created_at": 2026-01-26 11:25:04
"updated_at": 2026-01-26 11:25:04
},
{
"id": "GREM4165",
"company_id": "4LZGKXRG",
"store_id": "ER1XKGRZ",
"protocol": "https",
"domain": "www.yedpay.com",
"name": "xxxxxxxx",
"type": 2,
"created_at": 2026-01-26 11:25:04
"updated_at": 2026-01-26 11:25:04
}
],
"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.