Request Passcode

Sends a validation passcode to a user via one of the supported transport methods.The current supported methods are 'email' and 'sms'.

/users/{userId}/send-passcode

POST https://apis.sandbox.flexshopper.com/v3/users/{userId}/send-passcode

Path Parameters

Name
Type
Description

userId

string

The user's id

Headers

Name
Type
Description

Authorization

string

Authorization token

Request Body

Name
Type
Description

transport

string

One of the methods for sending the passcode to the customer. The available options are sms , email and all(This option send the passcode to all available transport for the customer)

{
    "status": 200,
    "data":{}
}

Payload Example

{
  "transport": "email"
}

Last updated