Yedpay

Description (Mass Update Company Domain)

Mass update the domains of the company for using online gateways (PUT)

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
1 Content-Type application/json Content Type

Body

# Name Type Description
1 domains Array Domains of the company
An array containing domain objects of the company
Domain absent from this array will be removed

Domain

# Name Type Description
1 id String ID of the domain
2 domain Url Domain of the company
Should be in URL format and at least 10 characters (Max: 100 characters)
3 name String name of the company domain (NULLABLE)
4 type Integer Domain Type
1: web
2: app

Response

# Name Type Description
1 success Boolean Action Success or Fail
2 message String Detail message of the response

Example Success Response

    {
        "success": true,
        "message": "Request accepted"
    }
    

Example Error Response

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

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