---
title: "Create a testing customer"
method: POST
path: "/v4/simulation/customer"
tags: ["Simulation"]
---

# Create a testing customer

`POST /v4/simulation/customer`

(Sandbox Only) Creates a test customer with a user password for the simulating the checkout process

## Request body

- CreateCustomerV4RequestDto
  - `shortcutTypes` string[] — The list of shortcuts to use for this customer. By default a blank customer without any limits is created.
  - `phone` string — The phone number of the customer. By default, "+16175551212" is used.
  - `businessName` string — The phone number of the customer. By default, "Slope Demo Customer" is used.
  - `address` AddressSharedDto
    - `line1` string, required — The first line of the address
    - `line2` string
    - `city` string, required
    - `country` string, required — ISO31661 Alpha2 code for the country
    - `state` string, required — 2-letter US state abbreviation
    - `postalCode` string, required — 5-digit US postal code
  - `taxId` string — The taxId of the customer, by default a random number is used.
  - `password` string — A customized password for this user. By default, "Pass1234" is used
  - `isLinked` boolean — If true, the customer will be linked to the merchant.
  - `hasMasterLoanAgreement` boolean — If true, the customer will be created with an active master loan agreement.
  - `hasPreferences` boolean — If true, the customer will be created with preferred terms and repayment method.
  - `email` string — The email address for the customer. If not provided, a demo email will be generated.

## Response `200`

The created test customer along with the email and password for login.

- CreateCustomerV4ResponseDto
  - `email` string, required — The email address of the user
  - `password` string, required — The new password for the user
  - `customerId` string, required — The customerId for this user
  - `linkToken` string — The link token for the user if `isLinked` is true

---

[API](https://skmtc.net/slopepay/apis/slope-v4-api.md) · [All operations](https://skmtc.net/slopepay/apis/slope-v4-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/slopepay/slope-v4-api/revisions/cbdbc861073b/schema)
