You can now get all the different languages offered for Hosted Pages by API.
Retrieve the most updated supported languages with a GET request to
https://sandboxapi.rapyd.net/v1/hosted/config/supported-languages
Production
GET https://api.rapyd.net/v1/hosted/config/supported-languages
Postman
GET {{base_uri}}/hosted/config/supported-languages
Rapyd Hosted Pages can include:
2 Likes
Response
"data": {
"languages": [
{
"name": "English",
"iso_alpha2": "en"
},
{
"name": "Spanish",
"iso_alpha2": "es"
},
{
"name": "Simplified Chinese",
"iso_alpha2": "zh-cn"
},
{
"name": "Traditional Chinese",
"iso_alpha2": "zh-tw"
},
{
"name": "Korean",
"iso_alpha2": "ko"
},
{
"name": "Portuguese",
"iso_alpha2": "pt"
},
{
"name": "Indonesian",
"iso_alpha2": "id"
},
{
"name": "Thai",
"iso_alpha2": "th"
},
{
"name": "Tagalog",
"iso_alpha2": "tl"
},
{
"name": "German",
"iso_alpha2": "de"
},
{
"name": "Icelandic",
"iso_alpha2": "is"
},
{
"name": "Dutch",
"iso_alpha2": "nl"
},
{
"name": "Vietnamese",
"iso_alpha2": "vi"
},
{
"name": "Malay",
"iso_alpha2": "ms"
},
{
"name": "Japanese",
"iso_alpha2": "ja"
},
{
"name": "Hindi",
"iso_alpha2": "hi"
},
{
"name": "French",
"iso_alpha2": "fr"
}
]
}