Common API
Country/Region List
POST /merchant/core/mcb/common/region
Request
Response
code
String
true
Country/Region code ISO 3166-1 alpha-2
standardCode
String
true
Country/Region code ISO 3166-1 alpha-3
name
String
true
Country/Region name
Example Response
{
"success": true,
"code": 200,
"msg": "Success",
"data":
[
{
"code": "AU",
"standardCode": "AUS",
"name": "Australia"
},
{
"code": "BD",
"standardCode": "BGD",
"name": "Bangladesh"
}
]
}
City List
POST /merchant/core/mcb/common/city
Request
regionCode
String
false
Country/Region code ISO 3166-1 alpha-2
Response
code
String
true
city code
name
String
true
city name
country
String
true
Country/Region code ISO 3166-1 alpha-2
countryStandardCode
String
true
Country/Region code ISO 3166-1 alpha-3
Example Response
{
"success": true,
"code": 200,
"msg": "Success",
"data":
[
{
"code": "AU_01",
"name": "test",
"country": "AU",
"countryStandardCode": "AUS"
}
]
}
Mobile Code List
POST /merchant/core/mcb/common/mobileAreaCode
Request
Response
code
String
true
Mobile code. eg: +1
name
String
true
Region Name
areaCode
String
true
Region Code ISO 3166-1 alpha-2
language
String
true
Region Lanuage
enableGlobalTransfer
Boolean
true
Is Global Transfer Available
Example Response
{
"success": true,
"code": 200,
"msg": "Success",
"data":
[
{
"code": "+1",
"name": "Canada",
"areaCode": "CA",
"language": "en_US",
"enableGlobalTransfer": true
}
]
}
Upload File
POST /merchant/core/mcb/common/file/upload
Request
category
String
true
Please use the value: card
file
File
true
File
Response
fileId
String
true
File Id
Example Response
{
"success": true,
"code": 200,
"msg": "Success",
"data":
{
"fileId": "c7bf3c1b-25d1-4b75-b519-1e6bf383d0a7"
}
}
Last updated