Skip to content

UANATACA RA API DOCUMENTATION (v1)

Download OpenAPI description
Languages
Servers

https://api.uanataca.com/

Operations
Operations
Operations
Operations
Operations

Request

Sends an OTP code via SMS for PIN reset or unlock.

Path
idstringrequired

The unique identifier of the Request

curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/generate_otp_for_unlock'

Responses

Successful Response

Bodyapplication/json
statusstring

Successful status message

messagenumber

Successful status description

Response
application/json
{ "status": "success", "message": "OTP sent via SMS" }

Request

Performs the PIN reset or unlock operation

Path
idstringrequired

The unique identifier of the Request

Bodyapplication/json
scratchcardstring

The scratchcard number (username) associated to the request

enrollment_codestring

The scratchcard enrollment code of the request

newpinstring

The new pin

otpstring

The OTP code sent to the user via SMS

curl -i -X POST \
  'https://api.uanataca.com/api/v1/requests/{id}/unlock_pin' \
  -H 'Content-Type: application/json' \
  -d '{
    "scratchcard": "string",
    "enrollment_code": "string",
    "newpin": "string",
    "otp": "string"
  }'

Responses

Successful response

Bodyapplication/json
statusstring

The response status code

messagestring

The response status message

Response
application/json
{ "status": "success", "message": "Pin unlocked successfully" }
Operations
Operations