Verify Answers

Checks if the answers from the customer are correct and verifies a customer's identity if so.

/users/me/verify-questions

POST https://apis.sandbox.flexshopper.com/v3/users/me/verify-answers

This endpoint allows you to get free cakes.

Headers

NameTypeDescription

customer-token

string

Customer's authentication token

Authorization

string

Authorization token

Request Body

NameTypeDescription

id

string

The ID returned from the original (GET /users/me/verify-questions) verification transaction.

responses

array

An array of response objects populated by the customer.

responses[].questionId

string

Question ID from the original verification transaction.

responses[].answerId

string

A corresponding answer ID from the original transaction.

{
  "id": "dsad5613r67413g4hjsbdfsdfsd.4353564565gfsgdfgdfgdfg...",
  "responses": [
    {
      "questionId": "1374041563",
      "answerId": "49858696"
    }
  ]
}

Response Parameters

A successful request returns the HTTP 200 OK status code and a JSON response body that shows whether the customer passed the questions or not.

Key

Type

Description

passed

String

Determines if the answers provided are valid or not.

Last updated