Initialization
HTTPS POST / Server-to-ServerRequests and Responses are encrypted using JWT
- Algorithm : HMAC SHA-256 using Merchantās Secret Key.
Refer JWT Token Guide on how to prepare requests and process responses.
https://sandbox-pgw.2c2p.com/payment/4.3/Initializationhttps://pgw.2c2p.com/payment/4.3/Initialization
API Parameter
The Initialization API allows merchants to retrieve details on available languages.
Ā
Initialization Request
This API does not require any request data.
Ā
Initialization Response
The sample code below demonstrates the structure of the API response.
{
"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"
}Run test with Swagger Editor
Updated about 10 hours ago
