One-Stop Cross-Border Shopping — Shop the World
UnionPay Content & Service Platform (UCSP) for Channel Partner
UnionPay Content & Service Platform (UCSP) for Service Provider
UnionPay Transportation Solutions
Inquire country full name, abbreviation and the corresponding the legal currency information of the country through the three digit country code
Periodic Update
This code refers to ISO 3166. UnionPay international will maintain the code content and update it regularly.
Integration Convenience
The data code wil be displayed as the real meaning content, which is more user-friendly.
It can be applied to user interface or user voucher, and is closely combined with the display scene of displaying code as string information.
Access Flow:
1. API Caller apply to use APIs
2. UPI approve application, update white list and generate key pair, then provide API Caller the public key and user ID (appID)
Call Flow:
3. API Caller uses the public key to encrypt the request message which include caller’s user identity information
4. UPI verify API Caller’s identity, decrypt request message, and return response data encrypted by using private key.
Field name | Identifier | Type | Length | Request | Default value | Note | |
---|---|---|---|---|---|---|---|
Numeric Country Code | numericcountryCode | N | 3 | M:Mandatory | "156" | A 3-digit numeric value, as defined by [ISO 3166], that indicates the country code. |
Filed name | Identifier | Type | Length | Request | Default value | Note | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Message Response | msgResponse | Object | M:Mandatory | ||||||||||||||||||||||||||||||||||||
|
Alpha Country Code | alphacountryCode | AN | 3 | M:Mandatory | “CHN” | A 3-digit alpha value, as defined by [ISO 3166], that indicates the country code. | ||||||||||||||||||||||||||||||||
Alpha2 Country Code | alpha2countryCode | AN | 2 | M:Mandatory | “CN” | A 2-digit alpha value, as defined by [ISO 3166], that indicates the country code. | |||||||||||||||||||||||||||||||||
Country Name | countryName | S | 1-20 | M:Mandatory | “China” | The name of the country, as defined by [ISO 3166]. | |||||||||||||||||||||||||||||||||
Currency Data | currencyData | array | M:Mandatory | The inquired currency data, which is in line with ISO 4217. | |||||||||||||||||||||||||||||||||||
|
UnionPay International has adopted unified security requirement, please refer to UPI Server-based API General Requirements for signature and encryption guide.
If you are UPI member, you need to fill in the Application Form of API Service Product with Terms and Conditions.
If not, you need to sign the Protocol of API Usage and fill in the Application Form of API Service Product.