POST
/
User
/
mfa
curl --request POST \
  --url https://api-sandbox.payabli.com/api/User/mfa \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "mfaCode": "<string>",
  "mfaValidationCode": "50-2E-4A-16-93-0E-41-41-07-EE-22-B6-00-99-00-99"
}'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": "u.fPLVSzFv1gZpHl......",
  "remaining": 120,
  "inactiveTokenTime": 31
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Body

MfaValidationData object to validate
mfaCode
string | null
mfaValidationCode
string

The validation code for multi-factor authentication, typically a hash or similar encrypted format.

Example:

"50-2E-4A-16-93-0E-41-41-07-EE-22-B6-00-99-00-99"

Response

200 - application/json
Success
responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseData

The response data.

remaining
integer
Example:

120

inactiveTokenTime
integer
Example:

31

Was this page helpful?