---
title: "Deregulated Plan Credit Check"
method: POST
path: "/credit-check"
tags: ["Forms"]
---

# Deregulated Plan Credit Check

`POST /credit-check`

This API can optionally be called before submitting an order to determine whether a user will need to pay a deposit. 
The only query parameter is the selected plan_id and the request body is the same as when submitting an order.

## Query parameters

- `plan_id` string, required

## Request body

- object
  - `form` object
    - `esiid` string, required
    - `serviceAddress1` string, required
    - `serviceAddress2` string
    - `serviceCity` string, required
    - `serviceZip` string, required
    - `serviceState` string, required
    - `firstName` string, required
    - `lastName` string, required
    - `email` string, required
    - `phoneNumber` string, required
    - `socialSecurity` string, required
    - `serviceStartDate` string, required
    - `dob` string, required

## Response `200`

OK

- object
  - `status` string
  - `supported` boolean
  - `pay_deposit` boolean
  - `deposit_amount` string
  - `autopay_required` boolean
  - `deposit_text` string
  - `invalid_user` boolean
  - `wattb_order_id` string
  - `supplier` string
  - `utility` string
  - `plan_name` string
  - `plan_cost` string
  - `plan_type` string
  - `cost` object

## Other responses

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

---

[API](https://skmtc.net/wattbuy/apis/wattbuy-apis.md) · [All operations](https://skmtc.net/wattbuy/apis/wattbuy-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wattbuy/wattbuy-apis/revisions/97771153b652/schema)
