> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datashop.africa/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify customer

> Confirm customer details before purchase.

Run validation before payment when a product requires it. The response confirms whether the identifier is recognized and may include the registered customer name for checkout confirmation.

## Request body

<ParamField body="customer_id" type="string" required>
  Phone number, meter number, smartcard number, or customer identifier to verify.
</ParamField>

<ParamField body="product_name" type="string" required>
  Product selected from List products.
</ParamField>

## Request

```json theme={null}
{
  "customer_id": "1234567890",
  "product_name": "dstv-padi"
}
```

## Successful response

```json theme={null}
{
  "status": true,
  "message": "Verification completed successfully.",
  "data": {
    "verified": true,
    "customer_id": "1234567890",
    "customer_name": "Umar Yahaya",
    "provider": "DSTV"
  }
}
```

## Failed response

```json theme={null}
{
  "status": false,
  "message": "Error message"
}
```
