Skip to main content
GET
/
open-api
/
v1
/
card
/
{card_no}
/
private
/
info
curl --request GET \
  --url https://sandbox-openplatform.keysecure.io/open-api/v1/card/C202605220001/private/info \
  --header 'Content-Type: application/json' \
  --header 'Api-Key: your_api_key' \
  --header 'Timestamp: 1716307200000' \
  --header 'Access-Token: your_access_token'
{
  "code": 0,
  "msg": "Success",
  "data": "Base64EncodedEncryptedString..."
}
Retrieves the card privacy JSON encrypted information (PCI must be enabled).

Request Headers

Api-Key
string
required
apiKey (merchant credential, bound to IP whitelist)
Timestamp
string
required
Unix timestamp in milliseconds. The deviation from the server time must be within 60 seconds, and future timestamps are not accepted.
Access-Token
string
required
Login token (required for all interfaces except Get Token).
Content-Type
string
default:"application/json"
Fixed to application/json

Path Parameters

card_no
string
required
Card order number.

Response Parameters

code
number
Response status code. 0 indicates success.
msg
string
Response message.
data
string
A JSON string encrypted with AES/ECB/PKCS5Padding + Base64. After decrypting it with the apiSecret from the merchant’s current available API credentials, you will get the following JSON structure:
Permission Notes: PCI must be enabled for the merchant before this endpoint can be called. If not enabled, error code 1013 is returned.Decryption Method: Use the merchant’s current available API credential’s apiSecret, Base64-decode data, and then decrypt it with the AES/ECB/PKCS5Padding algorithm to obtain the plaintext JSON. See “Code Utilities” for details.
curl --request GET \
  --url https://sandbox-openplatform.keysecure.io/open-api/v1/card/C202605220001/private/info \
  --header 'Content-Type: application/json' \
  --header 'Api-Key: your_api_key' \
  --header 'Timestamp: 1716307200000' \
  --header 'Access-Token: your_access_token'
{
  "code": 0,
  "msg": "Success",
  "data": "Base64EncodedEncryptedString..."
}