v1

latestOpenAPI 3.0.02026-07-263118119.8 KB
User Management

confirmUser

Verifies a user account with the MFA code they receive.

<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>
CodeHTTP StatusMessage
AP101401No authenticated user
AP111200Invalid verification code
AP112200Max verification attempts exceeded
AP113200User does not exist
AP700400Missing or invalid required parameter
AP701400Improperly formatted parameter
</details>
post/v2/confirmUser

Headers

authorizationstring required

A merchant scoped token.

Content-Typestring required

Request body

userIdstring required

Id of the user to be confirmed

codestring required

Verification code

merchantIdinteger required

Merchant identifier

Response

Success - User Confirmed

OR

Example response

{
  "user": {
    "id": "2ac82269-9315-4bb6-8a19-f37e20d50238",
    "firstName": "JohnNew",
    "lastName": "DoeNew",
    "type": "consumer",
    "email": "test-1754932665@aeropay.com",
    "phoneNumber": "+11754932665",
    "createdDate": "2025-02-27T12:59:32+00:00",
    "userStatus": "Active"
  }
}