v1

latestOpenAPI 3.0.02026-07-244074117.0 KB
Simulation

Create a testing customer

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

post/v4/simulation/customer

Request body

shortcutTypesstring[]

The list of shortcuts to use for this customer. By default a blank customer without any limits is created.

phonestring

The phone number of the customer. By default, "+16175551212" is used.

businessNamestring

The phone number of the customer. By default, "Slope Demo Customer" is used.

taxIdstring

The taxId of the customer, by default a random number is used.

passwordstring

A customized password for this user. By default, "Pass1234" is used

isLinkedboolean

If true, the customer will be linked to the merchant.

hasMasterLoanAgreementboolean

If true, the customer will be created with an active master loan agreement.

hasPreferencesboolean

If true, the customer will be created with preferred terms and repayment method.

emailstring

The email address for the customer. If not provided, a demo email will be generated.

Example request

{
  "address": {
    "line1": "123 Main St",
    "city": "San Francisco",
    "country": "US",
    "state": "CA",
    "postalCode": "94107"
  }
}

Response

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

emailstring required

The email address of the user

passwordstring required

The new password for the user

customerIdstring required

The customerId for this user

linkTokenstring

The link token for the user if isLinked is true