Initialization

👍

HTTPS POST / Server-to-Server

Sandbox endpoint : sandbox-pgw.2c2p.com/payment/4.1/Initialization
Run test with Swagger Editor

Go live when you are ready, Live endpoint is provided.

Initialization API for merchant retrieve available language detail.

 

Initialization Request


Do not required any request data.

 

Initialization Response


Below sample response data show the data structure. Refer Initialization Response Parameter for API Specification.

{
  "initialization": {
    "locale": [
      {
        "code": "en",
        "name": "English",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/en.png"
      },
      {
        "code": "th",
        "name": "ไทย",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/th.png"
      },
      {
        "code": "my",
        "name": "မြန်မာ",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/my.png"
      },
      {
        "code": "id",
        "name": "Indonesia",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/id.png"
      },
      {
        "code": "ja",
        "name": "日本語",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/ja.png"
      },
      {
        "code": "zh-cn",
        "name": "中文(简体)",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/zh-cn.png"
      },
      {
        "code": "zh-tw",
        "name": "中文(繁體)",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/zh-tw.png"
      },
      {
        "code": "vi",
        "name": "Tiếng Việt",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/vi.png"
      },
      {
        "code": "ko",
        "name": "한국어",
        "iconUrl": "https://d27uu9vmlo4gwh.cloudfront.net/images/v4/images/icon/ko.png"
      }
    ]
  },
  "respCode": "0000",
  "respDesc": "Success"
}