# Batch Decrypt

> 1. For
**merchant self-delivery or third-party logistics (3PL)**
 orders, this endpoint can be called to decrypt the user's phone number and address.
2. A maximum of
**50**
 data items can be decrypted at once.
3. 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_`):
> 1. recipientInfo.addressLocation
2. delirecipientInfovery.addressViewInfo
3. recipientInfo.houseNumber
4. recipientInfo.phone
5. recipientInfo.detailAddressStruct
6. recipientInfo.addressStruct

Endpoint: POST /base/batchDecrypt
Version: v.1.0.0

## Request fields (application/json):

  - `appId` (integer, required)
    appId
    Example: 3585234

  - `shopId` (integer)
    shopId
    Example: 35465234

  - `cipherInfos` (array, required)
    The ciphertext that needs to be decrypted

  - `cipherInfos.cipherText` (string)
    Example: ENC_NzURv/tedeRcBhtxidwjwcxOoljZsmaOB72uNv3RDL4=

## Response 200:

  - `200` (unknown)
    The decryption result corresponding to the ciphertext.

## Response 200 fields (application/json):

  - `code` (integer, required)
    A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
    Example: 0

  - `message` (string, required)
    Text description corresponding to the status code, explaining the operation result or error cause to users.
    Example: Success

  - `data` (object)

  - `data.plainInfos` (array)

  - `data.plainInfos.errorMsg` (string)
    Example: success

  - `data.plainInfos.plainText` (string)
    Example: Rua xxxxx, 427, Tsiroanomandidy, Bongolava

  - `data.plainInfos.errorCode` (integer)
    Example: 0

  - `data.plainInfos.cipherText` (string)
    Example: ENC_XSwD1JYiBb5x5g6/vOhTf+U+fHz57vdHU5KBVGX

