FlexShopper API
3.0-legacy
FlexShopper API
3.0-legacy
  • Getting Started
  • Our Platforms
    • FlexPay Payment Platform
    • FlexShopper Backend API
  • API Reference
    • Get Started
      • API Requests
      • API Responses
      • Error Codes
    • User Management
      • Create User
      • Get Users
      • Get User
      • Verify User Exists
      • Deeply Verify User Exists
      • Get LoanPaymentPro Child Key
      • Add Payment Method
    • Customer Authentication
      • Request Passcode
      • Login Customer
    • Customer Application
      • Initiate Application
      • Get Verification Questions
      • Verify Answers
      • Validate Routing Number
    • Lease Management
      • Create Lease
      • Get Lease By ID
      • Sign Lease
      • Checkout
    • Purchase Transactions
      • Get Transactions
      • Get Transaction By ID
      • Cancel Items
      • Return Items
      • Confirm Shipment
      • Confirm Receipt
    • Products
      • Get Products
    • Settings
  • Change Log
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API Reference
  2. User Management

Create User

Creates a new user

POST https://apis.sandbox.flexshopper.com/v3/users

This endpoint allows you to create a new user

Headers

Name
Type
Description

Authorization

string

Authorization token

Request Body

Name
Type
Description

firstName

string

The customer's first name.

lastName

string

The customer's last name.

email

string

The customer's e-mail address.

password

string

The customer's password, as entered by the customer.

locale

string

The customer's locale, for rendering in preferred language. Valid values are: "en", "es".

{
    "data":{
        "userId": "5a319511a86980001d602095",
        "token": "c6681de3-45ab-41a4-9315-0b5ef6481136"
    }
}
{
  "error": {
    "statusCode": 409,
    "code": "UserAlreadyExists",
    "message": "User already exists with email ex@example.com",
    "data": {}
  }
}

If no password is provided, a temporary password is created and an email to reset a password is sent to the customer.

Response Parameters

A successful request returns the HTTP 200 OK status code and a JSON response body that shows new user basic info.

Key

Type

Description

token

String

The temporary token used to access a user's resources; to be used in the Customer-Token header.

userId

String

User's Id

PreviousUser ManagementNextGet Users

Last updated 10 months ago

Was this helpful?