---
title: "Check customer credentials and return an API token"
method: POST
path: "/customer/check"
tags: ["Customer"]
---

# Check customer credentials and return an API token

`POST /customer/check`

Use this BillingServ API endpoint to check customer credentials and return an API token. Review the response for the operation result or validation errors.

## Request body

- object
  - `username` string, email, required
  - `password` string, password, required

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `401` — Missing or invalid API key
- `403` — The credentials belong to a non-customer account or the customer's email is not verified
- `422` — Validation error
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.net/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
