Compare Tech
  1. Endpoints
Compare Tech
  • Readme
  • API
  • Endpoints
    • Coverage
      POST
    • Subscription
      POST
    • Status
      GET
    • Send OTP
      POST
    • Reset OTP
      POST
    • Documents
      GET
    • Traders
      GET
  1. Endpoints

Reset OTP

POST
/subscription/{{workflowId}}/reset-otp
Ask for a new OTP. The workflow must be on a status of interrupted and with a request for an otp otherwise you'll receive an error, check the main documentation for more info. If everything is good you will receive the same response as the /status endpoint

Request

Header Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://dev-online-cart.compare-tech.com/api/v1/subscription//reset-otp' \
--header 'Authorization: Fk4oXfgzPOdTQr5bYd1jiFbcO2LgzUwNnURkqXvMPwPpLpPvQK2nHWUzy6D791wBrDjlGWAvR3ErKSEZ6mOAemClziFVSAjuaoHuhJSIOJjEtX2iVB3wzFXmUXwDcTHr'
Response Response Example
Error - Wrong status
{
    "error": "Requires status to be interrupted"
}
Modified at 2025-09-12 09:37:34
Previous
Send OTP
Next
Documents
Built with