---
title: "Validate cable smartcard or electricity meter (merchant)"
method: POST
path: "/api/external/v1/validate"
tags: ["VAS"]
---

# Validate cable smartcard or electricity meter (merchant)

`POST /api/external/v1/validate`

Single validation endpoint for external merchants. Set `type` to `"cable"` or `"electricity"`.

## Request body

- object
  - `type` 'cable' | 'electricity', required — Validation type
  - `smartcardNumber` string — Required when type is cable
  - `cablename` string — Required when type is cable
  - `meterNumber` string — Required when type is electricity
  - `productName` string — Required when type is electricity
  - `amount` number — Required when type is electricity
  - `meterType` 'prepaid' | 'postpaid' — Required when type is electricity

## Response `200`

Validation successful

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-05-06** `eefdc20676b6` — 1 warning, 6 info
  - removed the request property `billerName`
  - the endpoint scheme security `DancityApiKey` was added to the API
  - the endpoint scheme security `DancityApiKey AND ChannelHeader` was removed from the API
  - added the new optional request property `productName`
  - …3 more
- **2026-04-28** `2e1ff7abb32e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/msorg-developers/apis/dancity-api/changes/api/external/v1/validate/post.md)

---

[API](https://skmtc.dev/msorg-developers/apis/dancity-api.md) · [All operations](https://skmtc.dev/msorg-developers/apis/dancity-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/msorg-developers/dancity-api/revisions/64d5f68bab31/schema)
