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

NameTypeDescription

userId

string

The user's id

Headers

NameTypeDescription

Authorization

string

Authorization token

Request Body

NameTypeDescription

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