- For merchant self-delivery or third-party logistics (3PL) orders, this endpoint can be called to decrypt the user's phone number and address.
- A maximum of 50 data items can be decrypted at once.
- The encrypted data generally uses
ENC_as a prefix.
The following data returned by the order details endpoints will be encrypted data (ciphertext data prefixed with ENC_):
- recipientInfo.addressLocation
- delirecipientInfovery.addressViewInfo
- recipientInfo.houseNumber
- recipientInfo.phone
- recipientInfo.detailAddressStruct
- recipientInfo.addressStruct
POST
curl -i -X POST \
https://open.mykeeta.com/api/open/base/batchDecrypt \
-H 'Content-Type: application/json' \
-d '{
"appId": 3585234,
"shopId": 35465234,
"cipherInfos": [
{
"cipherText": "ENC_NzURv/tedeRcBhtxidwjwcxOoljZsmaOB72uNv3RDL4="
}
]
}'The decryption result corresponding to the ciphertext.
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
| Enum Value | Description |
|---|---|
| 0 | The request was executed successfully. |
| Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
Example:0
Text description corresponding to the status code, explaining the operation result or error cause to users.
Example:"Success"
Response
{ "code": 0, "message": "Success", "data": { "plainInfos": [ … ] } }