Yedpay

Description (Show Company Domain)

Show the domain name 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

Example:

https://api.yedpay.com/v1/domains/{{domain_id}}/domains?include=company

End Point

https://api.yedpay.com/v1/domains/{{domain_id}}

Variable

# Name Type Description
1 domain_id String Company Domain'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...)

Success Response - data

# Name Type Description
1 id String Id of the Company Domain
2 company_id String Id of the Company
3 store_id String Id of the Store
4 protocol string Protocol of the domain
5 domain Url Domains of the company
6 name String name of the company domain
7 type Integer Domain Type
1: web
2: app
8 created_at String Datetime when the Company Domain was created
9 updated_at String Datetime when the Company Domain was updated lastly

Example Success Response

    {
        "success": true,
        "data": {
            "id": "Xxxxxxxx",
            "company_id": "Xxxxxxx",
            "store_id": "Xxxxxxx",
            "protocol": "https",
            "domain": "www.xxx.com",
            "name": "Xxxxxxxx",
            "type": 1,
            "created_at": "2019-03-29 17:42:38",
            "updated_at": "2019-04-01 11:54:53"
        }
    }
        

Example Error Response

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

v1.29.1-20191003 © The Payment Cards Group Limited. All rights reserved.