# One Time Passcode API The One Time Passcode (OTP) API is a JSON-based RESTful API that enables merchants to verify OTP codes sent to buyers. Version: 1.0.0 ## Servers Ratepay Production Platform ``` https://api.ratepay.com ``` Ratepay Integration Platform ``` https://api-integration.ratepay.com ``` ## Security ### Bearer Every request must be authenticated with a valid JWT token. See the authentication API for more information. Type: http Scheme: bearer Bearer Format: JWT ## Download OpenAPI description [One Time Passcode API](https://docs.ratepay.com/_bundle/apis/otp/openapi/otp_api.yaml) ## One Time Passcode ### Validate an OTP code - [POST /transaction/management/2fa/v1/verify/{transactionId}](https://docs.ratepay.com/apis/otp/openapi/otp_api/one-time-passcode/verifycode.md) ### Regenerate OTP code for an active OTP process - [POST /transaction/management/2fa/v1/regenerate/{transactionId}](https://docs.ratepay.com/apis/otp/openapi/otp_api/one-time-passcode/regenerate.md)