Validate

validate

post

Verify a submitted 2FA code against a previous request.

Authorizations
Body
codestringRequired

The 2FA code entered by the recipient.

Default: 123456
request_idstringRequired

The request_id received as a part of /request response

Default: 9135605a-7e48-4be8-860c-ecf5840d2770
Responses
200

200

application/json
Responseone of
or
post
/v1.0/2fa/validate
POST /v1.0/2fa/validate HTTP/1.1
Host: messaging-api.bind.hr
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "code": "123456",
  "request_id": "9135605a-7e48-4be8-860c-ecf5840d2770"
}
{
  "verified": true,
  "status": "success"
}