Login Customer
Using the passcode from /users/{userId}/send-passcode, authenticates a user for the system and retrieve a Customer Token.
Last updated
Using the passcode from /users/{userId}/send-passcode, authenticates a user for the system and retrieve a Customer Token.
Last updated
POST
https://apis.sandbox.flexshopper.com/v3/users/{userId}/passcode-login
This endpoint allows you to authenticate an user using a passcode.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
A successful request returns the HTTP 200 OK
status code and a JSON response body that shows the customer token ready to be used.
userId
string
User's Id
Authorization
string
Authorization token
passcode
string
The customer's passcode generated in the send-passcode
endpoint.
Key
Type
Description
token
String
The Customer Token ready to be used; should be set to the Customer-Token
header in subsequent API requests.