# China Bank Card Luhn and Mobile Validator

**Use case:** 

Check China bank card numbers with the Luhn algorithm, validate mainland mobile formats and postal codes, and return masked privacy-safe results.

## Input

```json
{
  "records": [
    {
      "id": "bank-card-sample",
      "type": "bankCard",
      "value": "6222000000000009"
    },
    {
      "id": "mobile-sample",
      "type": "mobilePhone",
      "value": "13800138000"
    },
    {
      "id": "postal-sample",
      "type": "postalCode",
      "value": "100000"
    }
  ]
}
```

## Output

```json
{
  "inputId": {
    "label": "Input ID",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "requestedType": {
    "label": "Requested type",
    "format": "string"
  },
  "detectedType": {
    "label": "Detected type",
    "format": "string"
  },
  "maskedValue": {
    "label": "Masked value",
    "format": "string"
  },
  "isValid": {
    "label": "Valid",
    "format": "boolean"
  },
  "errorCodes": {
    "label": "Error codes",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Chinese Identifier Validation Toolkit](https://apify.com/prizable_aster/chinese-identifier-validation-toolkit) with a specific input configuration. Visit the [Actor detail page](https://apify.com/prizable_aster/chinese-identifier-validation-toolkit) to learn more, explore other use cases, and run it yourself.