Description (Register Company Domain)

Register the domain name(s) of the company for using online gateways (POST)
Each company can create 5 Domains

End Point{{company_id}}/domains


# Name Type Description
1 company_id String Company's ID

Request Header

# Key Value Description
1 Authorization Bearer {{access_token}} Login Token


# Name Type Description
1 domain Url Domain of the company
Should be in URL format and at least 10 characters (Max: 100 characters)
2 store_id String Company's Store ID
3 name String name of the company domain
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 Register Company Domain 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.