Description (Mass Update Company Domain)

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

End Point{{domain_id}}


# 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


# 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


# Name Type Description
1 id String ID of the domain
2 domain String 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
5 return_url String (Optional) Redirect URL when the payment is finished
if type = WEB, only HTTP and HTTPS scheme URL allowed
if type = APP, custom scheme is allowed


# 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.36.0-20200706 © The Payment Cards Group Limited. All rights reserved.