Check validity of an OTP code

SecurityBearer
Request
path Parameters
transactionId
required
string

The id of the transaction that initialized the OTP process

Example: 684CWYHCK05X2CN5K_N6
Request Body schema: application/json
required
otp_code
required
string non-empty

The OTP code given by the customer

Responses
200

OTP code verified successfully

400

Input validation error. The sent request could not be parsed or was otherwise invalid. The response will include information on the wrong fields.

401

Failed to authorize the client. Authorization information is either missing or invalid.

403

The client is not authorized to perform the requested operation.

404

The transaction either does not exist

422

OTP verification failed because the provided OTP code was invalid or OTP process failed.

500

Unexpected server error

post/transaction/management/2fa/v1/verify/{transactionId}
Request samples
application/json
{
  • "otp_code": 15316
}
Response samples
application/json
{
  • "timestamp": "2025-10-02T09:14:37.507714Z",
  • "ratepayTransactionId": "684CWYHCK05X2CN5K_N6",
  • "result": "otp_verified",
  • "message": {
    },
  • "links": [
    ]
}